Horje
how to use cout function in c++ Code Example
how to use cout function in c++
#include <iostream> //the library that contains cout

//cout is located in the "std" namespace so you can just say 
//"using namespace std" to directly have access to cout or you can just
//type std::cout and it well work the same

int main()
{
  	std::cout << "text" << std::endl; //endl is basicly the same as printing "\n" or new line
	
  	return 0; //just exiting the program
}




Cpp

Related
c++ get type name Code Example c++ get type name Code Example
what language is ethereum written in Code Example what language is ethereum written in Code Example
print type c++ Code Example print type c++ Code Example
C++ convert vector of digits into integer Code Example C++ convert vector of digits into integer Code Example
c++ string element access Code Example c++ string element access Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9