Commit 817df42c authored by 刘睿博's avatar 刘睿博 🎯

lab0 final ver

parent 4595d7e3
......@@ -5,6 +5,8 @@ set(CMAKE_CXX_STANDARD 17)
set(CMAKE_BUILD_TYPE "Debug")
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
INCLUDE_DIRECTORIES(
include
)
......
......@@ -30,7 +30,7 @@ int main(int argc, char** argv){
}
// auto student1 = new Student(); //TODO: Error 1 : why?
auto student1 = static_cast<Student*>(vec.back());
// check check1 = check(student); //TODO: Error 2 : why?
// check check1 = check(vec.back()); //TODO: Error 2 : why?
check check1 = check(student1);
// LOG(DEBUG) << student1->print();
// LOG(WARNING) << human.print();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment