Need explanation of some reserved words

May 2, 2011 at 7:32pm
Hey!

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

And can you write an example?

Ty for your help

May 2, 2011 at 8:06pm
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 May 2, 2011 at 8:07pm
May 3, 2011 at 7:09am
I still dont get it what this reserved word inline does :D
May 3, 2011 at 7:36am

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