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