Thread: c++ in linux
View Single Post
Old Mar 3rd, 2005, 10:08 AM   #6
xavier
Professional Programmer
 
xavier's Avatar
 
Join Date: Oct 2004
Location: .ro
Posts: 406
Rep Power: 5 xavier is on a distinguished road
Send a message via Yahoo to xavier
Ok, when i try using "cout" it sais : `cout' undeclared (first use this function)
#include <stdio.h>
using namespace std;
int main(){
	printf("Hello");
	int c=2;
	printf("%d",c+1);
	printf("\n");
	cout<<"World"<<endl;
}

Again ... if u have any links with tutorial for c++
__________________
Don't take life too seriously, it's not permanent !
xavier is offline   Reply With Quote