@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5



Comments:

<0> So why did you say that ^
<1> heh
<2> i thought he meant compile erros
<2> errors*
<0> duh
<1> mark105: it might be obvious we are talking run time errors, since it doesnt -run- proerly
<3> i installed vc++ express 2005 and the sdk and stuff and i don't have all the header files in my includes folder
<2> sorry im very new to this
<3> do i have to get the header library seperate or something?
<1> euphorik: you have to tell express where the SDK is
<0> So why don't you do it as we suggested?: replace "while(!fin.eof()) { fin.getline(buffer, 80);" with "while(fin.getline(buffer,80)) {" ?
<3> Tamama: oh ok
<2> well that didnt really work the input file was filled with new lines and a empty output file made
<0> But the loop terminated?
<2> yes
<0> Good.



<0> That's because you have better error checking now.
<2> ok
<0> The error is that the input file couldn't be read. Likely, because it wasn't found.
<1> the next one is: getline removes newlines..
<2> it did exist tho
<1> you dont write newlines to the outfile manually
<0> Tamama: line 31?
<1> hence, the output file will be empty if the input only contains new lines
<1> oh.. i read cout
<1> LOL
<0> The loop wasn't entered because fin never became valid.
<0> And because it never was valid it could never read the EOF.
<2> i understand that
<1> heh
<0> The error you're seeing now likely is caused by you relying on some crappy IDE.
<0> You probably have to set the working directory correctly.
<2> no idea
<2> -a
<0> (Don't ask me how, I don't use IDEs)
<2> notepad and dos compiler
<4> Hello guys, I'm trying to remember C++ development that is recommended earlier in this chanel... it is free and not C++ Express edition from microsoft
<0> hmm
<0> calc vc2005e
<5> vc2005e = Visual C++ 2005 Express (aka VC++ 8). Available for download at - http://msdn.microsoft.com/vstudio/express/visualc/ . Get the Tools Refresh at http://www.microsoft.com/downloads/details.aspx?FamilyID=afd04ff1-9d16-439a-9a5e-e13eb0341923&displaylang=en
<0> that one?
<4> not that one
<0> mark105: I doubt BCB 5.5 is a DOS compiler.
<4> not that one too
<0> calc dev-c++
<5> dev-c++ = Dev-C++ is a free (win32) IDE for C and C++ programming. It comes bundled with mingw (win32 port of GCC) as its compiler, and can also be used with other compilers. Download from: http://www.bloodshed.net/dev/devcpp.html . Unofficial FAQ (recommended for newbies): http://aditsu.freeunixhost.com/dev-cpp-faq.html .
<4> this one is IDE
<2> i run it from dos
<0> mark105: you mean a console window, not DOS.
<0> DOS is dead.
<4> must be that one.. I'll go check it out
<4> it should be on windows
<4> GUI IDE...
<0> mark105: well, then check whether you typed the filename correctly.
<0> KoKoMoKo: 'Dev-C++ is a free (win32) IDE for C and C++ programming'
<0> (yes, with a GUI)
<4> I just need something quick and dirty :P like Turbo C++
<4> type code and compile
<0> like dev-c++
<4> downloading it
<4> kewl
<3> after i install the sdk, i shouldn't be missing too many header files right?
<1> <1> euphorik: you have to tell express where the SDK is
<1> ages ago
<3> Tamama i did
<3> but im still missing a bunch of header files
<3> it fixed some
<3> but i've had to do a bunch by hand from the research.microsoft.com site
<3> and the more i add the more errors im getting
<1> funny, i installed it and had no problems
<1> what header file does it say it is missing?
<3> well im down to time.h right now
<3> but i've already created 10 or so by hand
<3> standard in/out
<3> umm
<1> eh.. you tell it WHERE the include directory is



<1> then it finds them -all-
<3> i did
<3> in the options
<3> pointed it to the include dire
<3> dir
<3> for include files
<3> and it fixed a couple
<3> but it was still missing some in the include dir
<1> note that time.h is C
<1> #include <ctime>
<1> even so i think those includes are provided with the compiler
<3> D:\Microsoft Platform SDK\Include\windows.h(157) : fatal error C1083: Cannot open include file: 'excpt.h': No such file or directory
<3> i even reinstalled the sdk and vc++ earlier cuz of this problem
<3> just to make sure it wasn't me
<3> it doesn't make sense
<1> Well as I said, it works ok here
<1> (ps: the sdk comes with a 'register SDK' progrma
<3> that's why i can't figure out why not here
<1> it will also mess up other installs though, so beware :P
<3> i ran it and recompiled and still i am missing header files
<3> :|
<3> i might just get devcpp
<4> hmmmm
<6> hello, i need a RTL60.BPL file
<6> @find RTL60.BPL
<7> I rest ***ured that Fernos2 will tell us.
<4> Q: if i want to use cout, what header should i include beside iostream.h
<7> iostream not iostream.h
<3> stdio.h maybe? don't hold me to that
<4> and so i thought ...
<4> i put stdio.h and <iostream> but still cout is not recognised
<4> this is just for hello world to test DEV C++
<1> using namespace std;
<1> becuase it is std::cout
<1> not cout
<4> i see
<4> u r right
<4> Dev c++ looks kewl ... but i really dunno how to debug codes using it :(
<8> Look at the debug menu?
<4> This is what i do. Set a break point, press F8 (or goto debug menu and press debug) and then way down I see step into or continue button, I press either of this button and nothing happen
<4> hmmm ... in fact the program has not run and stop at the break point at all
<7> Can it reach the breakpoint? Is it inside an if()?
<4> do i have to install GDB seperately? Just in case the installer doesnt install it
<4> this is a typical Hello World application
<4> I put break point in the first line , the line which do std::cout<<"Hello World"<<std::endl;
<4> most probably gdb is not installed
<4> well well ... GDB is installed
<4> maybe just my badluck today ;P so if i try again tomorow... the debugging function might works ... tomorow that is
<9> what function return ascii code?
<10> ?
<9> what function return ascii code?
<11> ?
<10> just saying the question again isn't going to help
<12> hi. do anybody know anything about this: how do i install a new firmware for a lp 2824, downloaded a file called "V4_50STD.prg". what do have to do with it?
<13> anybody from the Netherlands?
<11> about 14 million or so, unless they forgot to pay the electricity bill
<13> :D
<14> Holy moly, it's snowing.
<15> in atlanta?
<14> yeah
<15> neat, heh
<16> what is the idedifire to call a command?
<16> *identifier
<16> like close the program
<17> uhhhh
<17> you mean, like exit(0);?
<0> C++ doesn't have commands.
<17> or system("/bin/ls"); (also see exec*())
<11> system ("Put out cat")
<0> jottinger: someone asking for "close the program" likely uses Windows.
<17> _m_: thankfully, I don't, so I don't worry too much about that


Name:

Comments:

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






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

Which character sang Come Out, Come Out, Wherever You Are in The Wizard of Oz
#linux
what sport is played on the largest field
#linuxhelp
#chatzone
#chatzone
#asm
#teens
Parazitzii - Cum Sa Jignesti O Femeie
which sign of the zodiac will piesces match with?



Home  |  disclaimer  |  contact  |  submit quotes