Need explanation of some reserved words

Hey!

Can somebody explain what is reserved word: inline(in c++; objective-oriented programming)

And can you write an example?

Ty for your help

A reserved word is a word which cannot be used in naming of variables, functions etc. The reason for that is that word has connected functionality which is intrinsic to C++.

Here are a list of reserved words:
http://www.cppreference.com/wiki/keywords/start

Here is a reference to the inline command:
http://www.cplusplus.com/forum/articles/20600/

Example of use of inline:
1
2
3
inline int functionA( int a ) {
    ...
    }
Last edited on
I still dont get it what this reserved word inline does :D

Read about prolog and epilog. And you will understand how inlining helps.
Topic archived. No new replies allowed.