Thx much and i have programed but never with such advanced things.And what is this line for:#include
Zero_Cool
Begginer now.
Destined to wield the unimaginable power of code!
Need Help & Input
umm why do i have errors here?
F:\Dev-Cpp\Project1.cpp
[Warning] In function `int main()'':
7 F:\Dev-Cpp\Project1.cpp
`cout'' undeclared (first use this function)
(Each undeclared identifier is reported only once for each
F:\Dev-Cpp\Makefile.win
[Build Error] [Project1.o] Error 1
is my dev-C++ busted?
Zero_Cool
Begginer now.
Destined to wield the unimaginable power of code!
F:\Dev-Cpp\Project1.cpp
[Warning] In function `int main()'':
7 F:\Dev-Cpp\Project1.cpp
`cout'' undeclared (first use this function)
(Each undeclared identifier is reported only once for each
F:\Dev-Cpp\Makefile.win
[Build Error] [Project1.o] Error 1
is my dev-C++ busted?
Zero_Cool
Begginer now.
Destined to wield the unimaginable power of code!
Zero_CoolBegginer now.Destined to wield the unimaginable power of code!
The errors are a little foreign to me as I am used to using VC++ but here goes:
1. Nevermind, I reread the error. Want to post some code? It's easier to diagnose the problem that way.
2. I think you need to #include <iostream.h>, as cout is a function of that header file.
3. Might be due to previous errors; fix the two previous and see if that helps.
Peon
[edited by - Peon on January 27, 2003 8:14:34 PM]
1. Nevermind, I reread the error. Want to post some code? It's easier to diagnose the problem that way.
2. I think you need to #include <iostream.h>, as cout is a function of that header file.
3. Might be due to previous errors; fix the two previous and see if that helps.
Peon
[edited by - Peon on January 27, 2003 8:14:34 PM]
Peon
#include is a preprocessor directive, meaning the compiler performs preprocessor tasks (all begin with a pound sign) before compiling source code. Preprocessor directives are used to modify source code, for example, #define A_NUMBER 5 will replace any occurances of A_NUMBER with 5. The #include directive says, "include this file with the source code", so you can use stuff from that file.
#include <iostream.h>
or
#include <iostream> // standard form
using namespace std; // so we can use iostream''s functions
means "include iostream in this prog so we can use stuff from it".
#include <iostream.h>
or
#include <iostream> // standard form
using namespace std; // so we can use iostream''s functions
means "include iostream in this prog so we can use stuff from it".
Once you get the baics this stuff just flows it is so easy!
Thx for all the help and int I''l try to keep yas up dated or check out my site Ijust started it for now its like nothing not even a homepage but keep checking.
www.ZeroCoolsCodeUniverse.0catch.com
Zero_Cool
Begginer now.
Destined to wield the unimaginable power of code!
Thx for all the help and int I''l try to keep yas up dated or check out my site Ijust started it for now its like nothing not even a homepage but keep checking.
www.ZeroCoolsCodeUniverse.0catch.com
Zero_Cool
Begginer now.
Destined to wield the unimaginable power of code!
Zero_CoolBegginer now.Destined to wield the unimaginable power of code!
1)Can programing work with Windows XP?
2)IF I make a game like tetris, will it work for XP?
"He who fights monsters must look that he does not become one" -Baldur''''s Gate
2)IF I make a game like tetris, will it work for XP?
"He who fights monsters must look that he does not become one" -Baldur''''s Gate
"He who fights monsters must look that he does not become one" -Baldur''s Gate
Although I am new I am using xp and everything works fine though I haven''t been working with Tetris.
Zero_Cool
Begginer now.
Destined to wield the unimaginable power of code!
Zero_Cool
Begginer now.
Destined to wield the unimaginable power of code!
Zero_CoolBegginer now.Destined to wield the unimaginable power of code!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement