@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14



Comments:

<0> windows
<0> compiled with visual c++ 6
<0> it generates this error
<1> try to open it...
<1> or use some OS specific functions
<0> C ompiling...
<0> matr.cpp
<0> D:\Computer Programing\matr.cpp(17) : error C2660: 'open' : function does not take 1 parameters
<1> ummm
<0> i saw an example on the site :
<0> http://www.cplusplus.com/ref/iostream/fstream/is_open.html
<0> and open it is used with one parameter, the name of the file
<2> Wow... people seem to be finally moving off of Borland. Sadly, they're moving to VC6.
<0> i have visual c++2005 too, but for my school projects i find easyer visual c++6
<1> i still have 3.1



<2> Use 2005
<1> borland
<2> At least it's standard.
<0> in visual c++ 6 i don't need to create a project for every small c++ problem i solve
<0> and i find it easyer form that point of view
<1> ugh
<0> i can use new=> c++ file and then compile
<1> i find modelT fords easy to use too
<2> But even so, you need to use 2005
<0> in vc 2005 i have to create a project in order to compile
<1> no fany controls and stuff
<2> VC6 is a pre-standard version of the language.
<2> In other words, VC6 teaches you a bastardized version of C++.
<2> One that won't work when you move to a real compiler.
<0> is the 7 version changed?
<0> i mean better?
<2> More like the 7 and 8 versions are actually correct.
<1> yes in compiles C++
<1> in/it
<3> Solamente: how is g++ at C++?
<0> so the problem is from my compiler...if it compiles on yours...
<0> damn...money spend for nothing :(
<1> well you havent shown any code...
<0> it is at the site
<0> i posted
<1> dunno then
<0> it's the last post :(
<0> i do not understand at http://www.cplusplus.com/ref/iostream/fstream/is_open.html
<2> _BUFU_: Another thing... iostream.h and fstream.h are deprecated.
<2> You should use <iostream> and <fstream>
<0> aren't the same thing? iostream.h and fstream.h with iostream and fstream?
<1> no
<1> calc no .h
<4> no .h = Headers introduced by Standard C++ have no .h extension (e.g. <iostream>, <cstdio>). Prefer these to proprietary C++ headers that conform to no formal standard (e.g. <iostream.h>) and to Standard C headers (e.g. <stdio.h>), inherited by Standard C++ for backwards compatibility. See also: http://www.parashift.com/c++-faq-lite/coding-standards.html#faq-27.4
<0> if i use like that i get this error:
<0> matr.cpp
<0> d:\computer programing\matr.cpp(15) : error C2065: 'fstream' : undeclared identifier
<2> Add "using namespace std;" before the main function.
<0> ig works :D
<0> thanks
<0> but what does "using namespace std" does?
<2> The standard library resides in a namespace named std.
<2> For example, all of its members are declared something like this:
<2> namespace std { int foobar; }
<2> You can refer to that as std::foobar
<2> If you don't want to type std, you can add a "using namespace std" in your .cpp module.
<2> But *don't* ever put that in a header file.
<2> Only in your code modules.
<2> Nevermind why for now. Just don't.
<0> :)
<0> thanks
<2> And VC6 makes you create a workspace to compile. I just tried it.
<2> In 2005 you can create a project from existing code.
<2> Try that menu option, off of the File menu, New
<2> And do move to 2005. That way you can pull a random modern book off the shelf and compile its code.
<0> :) ok
<0> well i just got visual studio 2005 the other day
<0> and i stil don't get it how to create a project from a file
<0> sorry



<0> for the stupid question
<0> i'm just new to vc2005
<2> peterhu, one of the regulars here, worked on Visual Studio at MS, on the project system. Look him up later on.
<2> I don't really use the feature, and I'm not at a point where I can try it right now.
<0> ok
<0> i need it because for college i need small problems solved
<5> how can i take control away from the mouse? like, if the mouse is dragging a window .. i want the mouse to lose control after something happens.
<2> I usually keep a scratch-pad project handy.
<2> I use a .cpp as a framework for solving small problems, and I don't care much if I wipe out its contents.
<2> Try that.
<2> Apocal`, I still don't think the problem is the mouse.
<5> Solamente: actually, it was
<2> If you say so.
<5> i fixed that part of the problem
<5> i swear to god...
<5> well, it might not have been THE problem, but the snapping to other monitors works now
<5> so it was a "hack" solution
<2> If it was a hack, then my statement still stands.
<5> yes, i'm almost 100% sure my was just avoids the correct way to do it.. heh
<5> s/my was/my way
<6> can anyone help me?
<2> We're not psychic. You have to ask a real question first.
<2> Then we'll know if we can help you.
<6> it gives me this error when i try to compile the source... can you help me? --> Cannot open include file: 'windns.h'
<1> windns.h ?
<1> windows.h ?
<6> yes...
<1> eh?
<2> Because a.) You don't have the Windows Platform SDK installed, b.) You have it installed incorrectly, c.) You're trying to compile on Linux.
<6> i use visual c++ 6.0
<2> ARGH
<2> Another one.
<2> Dammit
<2> Move up to 2005 Express
<6> and can you telll me how to instal sdk? or how to get other?
<2> It's free, and it's actual correct C++.
<2> You'll still need the SDK, though.
<2> I have no idea what you've got going on with VC6, though.
<6> Solamente can you tell me where to get them? plz... not google..
<1> msdn
<1> and it doesnt install on vc6
<2> http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5&displaylang=en
<1> get over it
<6> bealtine ??
<6> thanks Solamente
<2> No, wait.
<2> Don't fool with that.
<2> Read this: http://msdn.microsoft.com/vstudio/express/visualc/usingpsdk/
<1> i repeat : it wont install on vc6
<2> That will tell you to get VC++ Express
<2> Then how to integrate the SDK into it.
<2> But please, get rid of VC6
<6> and after that.. how can i compile?
<1> press f5
<2> Ctrl-Shift-B in 2005
<6> ok thanks
<2> Well, yeah, F5 will do it I suppose.
<2> There's a squirrel gangland war going on in my backyard.
<1> i'm up for the little guys
<1> red or grey?
<2> Grey
<2> One's sitting about 3 feet away.
<2> Knawing on a weed
<1> shoot them
<2> They steal each other's buried seeds.
<1> gnawing?
<2> Uh, yeah. Gnawing.
<6> Solamente i have errors when i install sdk
<3> ick, uninstall .net 2.0?
<3> wow, vc++'s download speed is awful
<3> 12k/sec


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #c++
or
Go to some related logs:

#linux
david_moses38
a NO Error in IMAP command received by server.
penis studnt
nisma/music
largest cafeteria sbisa
#chatzone
HORkNEY
#slice
#asm



Home  |  disclaimer  |  contact  |  submit quotes