update
This commit is contained in:
parent
0a097a142e
commit
3ee6d3ba3d
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,6 +1,7 @@
|
||||
/build
|
||||
/.vscode
|
||||
/.xmake
|
||||
/test.asm
|
||||
# ---> C++
|
||||
# Prerequisites
|
||||
*.d
|
||||
|
23
test.cpp
23
test.cpp
@ -1,10 +1,21 @@
|
||||
#include <iostream>
|
||||
using namespace std;
|
||||
//using C++17
|
||||
|
||||
#include <cmath>
|
||||
#include<iostream>
|
||||
|
||||
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
|
||||
*/
|
Loading…
Reference in New Issue
Block a user