User Tools

Site Tools


Sidebar

Programming Reference/Librarys

Question & Answer

Q&A is closed







cpp:control_structures:return

return

   #include <iostream> /* including standard library */
 
   return value;

returns a value

cpp Sourcecode Example

#include <iostream> /* including standard library */
 
using namespace std;
 
int main(void) {
 
      cout  << "better example is" << endl;
      return 1;
      cout << "missing" << endl;
return 0;
}
  output:
  
  better example is
advertising
cpp/control_structures/return.txt · Last modified: 2012/10/12 02:12 (external edit)

Impressum Datenschutz