Answers for "method print in cpp class"

C++
18

how to print in c++

#include <iostream>

int main() {
  std::cout << "Hello, World!"; // prints 'Hello, World!' to the output.
  return 0;
}
Posted by: Guest on May-02-2020
4

print in c++

#include <iostream>
using namespace std;

int main() {
  cout << "me";
  return 0;
}
Posted by: Guest on August-17-2021
0

PRINT IN C ++

#include <iostream>
std::cout << someString << "\n";
Posted by: Guest on December-04-2020

Browse Popular Code Answers by Language