If you do not have a copy of template.cpp in your homes
directory,
- go to Moodle -> your lab section -> resources -> and select the file template.cpp.
- When the file window comes up. right click on the text and
- in the popup menu, click select all
in the selected(highlighted area) text,
- right click again and select copy.
- open a new source file in
Dev-C++ and paste the copied text into this file.
- Save this file as template.cpp in your homes directory.