Meaning and using function main in C++

Function main in C++ lets us to realize the most important part of code and task. It has lots of usings. For example, if we want to write simple program with the subtitle “Hello world” and if we write it inside this function, there will appear on the main screen of desktop command prompter with this subtitle. Another example of using this function is when we have some problem which requires from us abstract and object-oriented thinking like a typical problems in human life showed in algorithm character.

1 Like

Nice job with the challenge!

Privacy & Terms