C++ Cout Does Not Name A Type Code Example


Example: cout does not name a type

//Statements in C++ need to be inside of a function int main(){ 	std::cout << "Hello World" << std::endl;     //Works because we are inside of a function } std::cout << "Hello World" << std::endl; //Doesn't work because we are not inside of a function

Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable