Learn Hack

Hacking Tutorials

Category: PROGRAMMING

img

Functions [C++]

By
|
In PROGRAMMING
|
On October 1, 2017
Functions allow to structure programs in segments of code to perform individual tasks. In C++, a function is a group of statements that is given a name, and which can be called from some point of the program. The most common syntax to define a function is: type name ( parameter1, parameter2, ...) { statements […]
img

Constants[C++]

By
|
In PROGRAMMING
|
On October 1, 2017
Constants are expressions with a fixed value.   Literals Literals are the most obvious kind of constants. They are used to express particular values within the source code of a program. We have already used some in previous chapters to give specific values to variables or to express messages we wanted our programs to print out, […]
It is main inner container footer text