15 lines
225 B
Rust
15 lines
225 B
Rust
// 返回生成文件的文本
|
|
|
|
pub fn get_readme_text() -> &'static str {
|
|
""
|
|
}
|
|
|
|
pub fn get_maincpp_text() -> &'static str {
|
|
r##"#include <iostream>
|
|
|
|
int main() {
|
|
std::cout << "Hello World!" << std::endl;
|
|
}
|
|
"##
|
|
}
|