c++ cout format
Cout<<"Hello"<<endl;
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
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us