bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug


From: Tigran Sarukhanyan
Subject: Bug
Date: Sun, 11 Apr 2010 17:46:17 +0500

Hello everybody, 
I have a problem with makefile. When I type make, the result is:
-------------
address@hidden:~/Documents/MakeFile/sample$ make 
g++ main.cpp hello.cpp factorial.cpp -o hello
main.cpp:1:22: error: iostream.h: No such file or directory
main.cpp: In function ‘int main()’:
main.cpp:6: error: ‘cout’ was not declared in this scope
main.cpp:6: error: ‘endl’ was not declared in this scope
hello.cpp:1:22: error: iostream.h: No such file or directory
hello.cpp: In function ‘void print_hello()’:
hello.cpp:5: error: ‘cout’ was not declared in this scope
make: *** [all] Error 1
-------------
Could you help me.
Thanks. 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]