When you write a program you use a development environment. Your development environment can be a basic text editor or a feature rich C++ integrated development environment (IDE). You should not use a word processor like Microsoft Word, because it adds formatting codes to the text.
"<iostream>" Is a Library.......
"cout" means Console Output.....
Code.......
// 'Hello World!' program 
 
#include <iostream>
using namespace std;
int main()
{
  cout << "Hello World!" <<endl;
  return 0;
}
 
No comments:
Post a Comment