Advertisement
MeehoweCK

Untitled

Aug 12th, 2019
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.53 KB | None | 0 0
  1. #include <iostream>         // dołączenie biblioteki do programu
  2.  
  3. using namespace std;        // przestrzeń nazw std - ułatwia zapis metod klasy std
  4.  
  5. int main()                  // deklaracja funkcji głównej programu
  6. {                           // deklaracja funkcji zawsze zawiera się w bloku
  7.     cout << "Hello world!" << endl;     // wypisanie na ekran tekstu "Hello world!"; endl - przejście do następnego wiersza
  8.     return 0;               // zwrócenie wartości zerowej (zakończenie działania programu bez błędu)
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement