作业上传

Windows: VS2010 VS2019 VS2022

macOS: The provided template based on CMake

Your CMake project have the structure:

<task-root-folder>
|- include
   |- header1.h
   |- header2.cpp
|- source
   |- source1.cpp
   |- source2.cpp
   |- main.cpp
|- CMakeLists.txt

The <task-root-folder> is your workspace, and each task of one assignment should have seperate workspace(folder).

When handing on your assignment,

First, put all the task in the folder <MyAssignment>:

<MyAssignment>
  <task1-root-folder>
  |- include
    |- header1.h
    |- header2.cpp
  |- source
    |- source1.cpp
    |- source2.cpp
    |- main.cpp
  |- CMakeLists.txt

  <task2-root-folder>
  |- include
    |- header1.h
    |- header2.cpp
  |- source
    |- source1.cpp
    |- source2.cpp
    |- main.cpp
  |- CMakeLists.txt

  <task3-root-folder>
  |- include
    |- header1.h
    |- header2.cpp
  |- source
    |- source1.cpp
    |- source2.cpp
    |- main.cpp
  |- CMakeLists.txt

Then, zip <MyAssignment> folder, and upload it to our system.

Other/Universal Option