Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Zero
#include <iostream> #include <iomanip> using namespace std; struct presetW { int aimkey=0; int aim=0; bool turn = 0; }; struct presetZ { int aimkey = 0; int aim = -1; bool turn = true; }; int main(int argc, const char * argv[]) { presetW* preset_array = new presetW[8]; presetZ* preset_arraz = new presetZ[8]; for(int i = 0; i < 8; ++i) cout << preset_array[i].aim << preset_array[i].aimkey << preset_array[i].turn << " " << preset_arraz[i].aim << preset_arraz[i].aimkey << preset_arraz[i].turn << endl; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Sorting algorithm comparison
Not an overflow
Error with move capture of a const ref in a lambda function
Iterate_Variac_Template
find vs at
RVO hota hai bhenchod
32
Templatized Visitor Pattern Example
Rounding in C++
Copy initialization: overload resolution issue
Please log in to post a comment.