Skip to content
Snippets Groups Projects

Oving 0 templates

Merged Erling Syversveen Lie requested to merge master into main
3 files
+ 30
0
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 21
0
 
//
 
// This is example code from Chapter 2.2 "The classic first program" of
 
// "Programming -- Principles and Practice Using C++" by Bjarne Stroustrup
 
//
 
// keep_window_open() added for TDT4102, excercise 0
 
 
// This program outputs the message "Hello, World!" to the monitor
 
 
#include "std_lib_facilities.h"
 
#include "other.h"
 
//------------------------------------------------------------------------------'
 
 
// C++ programs start by executing the function main
 
int main()
 
{
 
cout << "Hello from main!" << endl;
 
messageFromOtherFile();
 
return 0;
 
}
 
 
//------------------------------------------------------------------------------
Loading