c++ sample programs code example
Example 1: basic cpp programs
// Your First C++ Program
#include <iostream>
int main() {
std::cout << "Hello World!";
return 0;
}
Example 2: easy c++ code
// Your First C++ Program
#include <iostream>
int main() {
std::cout << "Hello World!";
return 0;
}