how to print in c++
#include <iostream>
int main() {
std::cout << "Hello, World!"; // prints 'Hello, World!' to the output.
return 0;
}
how to print in c++
#include <iostream>
int main() {
std::cout << "Hello, World!"; // prints 'Hello, World!' to the output.
return 0;
}
how to print in c++
#include <iostream>
using namespace std;
int main(){
cout<<"Hello World!"<< endl; // prints "Hello World"
return 0;
}
print in c++
#include <iostream>
using namespace std;
int main() {
cout << "me";
return 0;
}
print in c++
#include <iostream>
using namespace std;
int main() {
cout << "ENTER TEXT HERE";
return 0;
}
print string in c++
#include <iostream>
#include <string>
#include <iterator>
using std::cout; using std::cin;
using std::endl; using std::string;
int main(){
string s1 = "This string will be printed";
cout << s1;
cout << endl;
printf("%s", s1.c_str());
cout << endl;
return EXIT_SUCCESS;
}
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