,          .       ++  #.     (    )      .

//  ++
#include "stdafx.h"
#include <iostream>

using namespace std;

int main()
{
 char a[10];
 cout << "Hello, world!";
 cin >> a;
 return 0;
}

   .  ,      :)

1.       //...  /*...*/,  -  .       //   . ..               -     .         ,  .   ?   ,        ,   ,     .     -  .  /**/ ,     ,    .  /*   */    .   ;   .
2-3.    #include     .       .  iostream      -  (in-out stream,  -).      #include     <>,     ( -,       ""?)) MS Visual Studio,  , stdafx.h,        .     Visual Studio -   .
4.        .      ,  ,     .   cout    std::cout.
5.    ("main"     "").       .  :    ,          .  main()     .    ;  .
6.       11-     . ,    ,    .
7.   9- .
8.    "Hello, world!".  cout ( "-")     ()  .
9.  ,   7-,    ,     ,    .   ,  cin ( "-")      ,         ))

   - ,  .    .         (   ))).         # (      ).

//  #
using System;

namespace Example
{
class HelloWorld
{
static void Main()
{
Console.WriteLine("Hello, world!");
Console.ReadLine();
}
}
}