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
Get parameter type
Two-phase sample with Visual C++ 2015
find vs at
Increment pointer to struct
C++ standard violation: [templates][explicit instantiation][access checking]
iota_30-Seconds-of-C++
Multi Inheritance
Hangman
Iterate_Variac_Template
dump_own_process.cpp