CPPNotebook
extends Nodebook
"CPPNotebook" is a customized class for C++ (.cpp
) files.
Usage
Setup
note(code)
Similar to addLine()
but it does not automatically add an indent.
string code
:
The C++ code to add.
comment(comment)
Insert a C++ Comment.
string comment
:
The comment message to add.
compile()
Attempts to compile the C++ file.
include(module)
Inserts #include <>
at the top with the module provided.
Last updated