Basic C++ question regarding scope of functions -


I am just starting to learn C ++ so that you have to bear my ignorance. There is no way to do such a task, as if it can be used without reference to the function used before them, I am working with a CPP file (not my decision) and call myself by my works So, there is not really any proper order to give them the place. Or can there be a way of tagging them with a scope operator who can not really make it a part of a class?

/ Strong> Function prototype designates a function, its return type, and its type of arguments. The only thing that should be above your call to the function is that prototype, here is an example:

  // prototype int your_function (int an_argument); // ... // Here you can type the function which your_function () // Call ... // your_function implementation () int_ your_function (int an_argument) {an_argument return + 1; }  

Comments