1.1 the form of submission

Zheng Yuanxin

Member
C++ Student
Excuse me, I am confused about the submission form. Should I put all of the code into the main() function in one source file(.cpp) or is there other requirement?
 

APalley

Well-Known Member
Excuse me, I am confused about the submission form. Should I put all of the code into the main() function in one source file(.cpp) or is there other requirement?
main() should be in a source file and contain all the test code for each subpart of the exercise. Any small functions may also be in this file, above main. Classes should be in well structured hpp/cpp files.

Each exercise gets exactly one VS project.
 

omartwahir

Active Member
C++ Student
@APalley,

For this exercise everything should be done in just one source file? Like one source file in a project for exercise 1 and another project with a source file for exercise 2?
 
Top