I m just starting out learning the ropes from the beginning....C++ for
Dummies.
I have this code as follows:
include <iostream>
include <stdlib.h>
int main(int argc, char *argv)
{
cout << "hello, i am your compture talking" << endl;
system ("pause");
return 0;
}
and getting these errors...cout and endl are spelled correctly...just can
figure it out.
C:\Dev-Cpp\main.cpp
In function int main(int, char**)':
6 C:\Dev-Cpp\main.cppcout' undeclared (first use this function)
(Each undeclared identifier is reported only once for each function
6 C:\Dev-Cpp\main.cpp
`endl' undeclared (first use this function)
C:\Dev-Cpp\Makefile.win
Error 1
Thanks for your help
pandersonm@gmail.com
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I m just starting out learning the ropes from the beginning....C++ for
Dummies.
I have this code as follows:
include <iostream>
include <stdlib.h>
int main(int argc, char *argv)
{
cout << "hello, i am your compture talking" << endl;
system ("pause");
return 0;
}
and getting these errors...cout and endl are spelled correctly...just can
figure it out.
C:\Dev-Cpp\main.cpp
In function
int main(int, char**)': 6 C:\Dev-Cpp\main.cpp
cout' undeclared (first use this function)(Each undeclared identifier is reported only once for each function
6 C:\Dev-Cpp\main.cpp
`endl' undeclared (first use this function)
C:\Dev-Cpp\Makefile.win
Error 1
Thanks for your help
pandersonm@gmail.com
Hi, i just found your problem and my very first Dev-Cpp program i had. So look
at this
include <cstdlib>
include <iostream>
using namespace std;
int main(int argc, char *argv)
{
cout << "Hello there \n \n" << endl;
system("PAUSE");
return EXIT_SUCCESS;
Have fun