// hello.cpp
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World!" << endl;
cout << "Welcome to C++ Programming" << endl;
}
g++ test.cpp
or
gcc -lstdc++ test.cpp
#include <iostream>
using namespace std;
int main()
{
cout << "Hello World!" << endl;
cout << "Welcome to C++ Programming" << endl;
}
g++ test.cpp
or
gcc -lstdc++ test.cpp
No comments:
Post a Comment