- #include<iostream> //in & out stream
- #include<cstdlib> //c standard library
- using namespace std; //name using space
- int main() //???
- {
- cout<<"hello"<<endl;
- cout<<"this is a C++ program file"<<endl;
- cout<<"if you want to close this messege,tap 0 two times"<<endl;
- cout<<"thank you"<<endl;
- system("pause"); //to pause the screen
- return 0; //finish program,and reset
- }
複製代碼 |