This commit is contained in:
Zengtudor 2024-09-07 15:53:11 +08:00
parent 0a097a142e
commit 3ee6d3ba3d
2 changed files with 18 additions and 6 deletions

1
.gitignore vendored
View File

@ -1,6 +1,7 @@
/build
/.vscode
/.xmake
/test.asm
# ---> C++
# Prerequisites
*.d

View File

@ -1,10 +1,21 @@
//using C++17
#include <cmath>
#include<iostream>
using namespace std;
template<typename ...Args>
void println(const Args& ...args){
((std::cout<<args<<" "),...);
std::cout<<"\n";
}
int main(){
unsigned int a{};
for(;;){a++;}
cout<<a<<endl;
println("Hello,World!","-by","Zengtudor");
println("End");
println(std::pow(2,10));
}
/*
Hello,World! -by Zengtudor
End
*/