Run Code
|
API
|
Code Wall
|
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
Structured Member Value Access Using Structure Member Pointer and Variadic Templates
StreamParam
students grade
Visual Studio expand modified
hangman
ㅇㅇ
rvalue lifetime
hex manip
infix to postfix v 1.0
RTTI Test