Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
2
2024ustc-jianmu-compiler
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
compiler_staff
2024ustc-jianmu-compiler
Commits
06cc9587
Commit
06cc9587
authored
Sep 01, 2024
by
刘睿博
🎯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
799c5002
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
.vscode/launch.json
.vscode/launch.json
+16
-0
include/Student.hpp
include/Student.hpp
+1
-0
No files found.
.vscode/launch.json
0 → 100644
View file @
06cc9587
{
//
使用
IntelliSense
了解相关属性。
//
悬停以查看现有属性的描述。
//
欲了解更多信息,请访问:
https://go.microsoft.com/fwlink/?linkid=
830387
"version"
:
"0.2.0"
,
"configurations"
:
[
{
"type"
:
"lldb"
,
"request"
:
"launch"
,
"name"
:
"Debug"
,
"program"
:
"${workspaceFolder}/<executable file>"
,
"args"
:
[],
"cwd"
:
"${workspaceFolder}"
}
]
}
\ No newline at end of file
include/Student.hpp
View file @
06cc9587
...
...
@@ -8,6 +8,7 @@ private:
/* data */
std
::
string
school_
;
public:
Student
()
=
delete
;
explicit
Student
(
int
age
,
const
std
::
string
name
=
""
,
const
std
::
string
school
=
""
)
:
Human
(
age
,
name
),
school_
(
school
)
{};
virtual
~
Student
()
override
;
virtual
void
print
()
const
override
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment