Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <map>
- typedef struct _IntArrType {int arr[256];} IntArrType;
- typedef struct _StrArrType {std::string arr[256];} StrArrType;
- std::map<std::string, int> int_variables;
- std::map<std::string, std::string> str_variables;
- std::map<std::string, IntArrType> int_arr_variables;
- std::map<std::string, StrArrType> str_arr_variables;
- int main(void) {
- label_10:for (int_variables["A"]=0; int_variables["A"]<5; int_variables["A"]=int_variables["A"]+1) {
- label_20:std::cout << int_variables["A"] << std::endl;
- label_30:continue; }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement