Hello World! Learning C++

Hello!

Just started the Course on UE4 C++.
Just wanted to share my thoughts or challenges here.

CHALLENGE 1
“What do you think the main function is?”
I think the main function is the core part of the code that is executed at runtime and contains the interactive part of the code.

I am probably wrong. I will edit afterwards :slight_smile:

CHALLENGE 2:
I think the “const” prefix means that the variable cannot be changed afterwards.

CHALLENGE 3:
The different parts of the code.
Preprocessor Directive: (#include): This is used to utilize code from other programmers. It’s kind of like using a plugin.

Main Function: It’s the function necessary to all programs. This is what the compiler will be running.

Expressions statements: They contain commands given to the computer.

Declaration Statements: They are the variables and the establishment of all the terms that will be utilized inside of the code.

Cheers!
C

3 Likes

Privacy & Terms