Advertisement
Guest User

Untitled

a guest
Jul 30th, 2015
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.55 KB | None | 0 0
  1. #include <iostream>
  2. #include <map>
  3. typedef struct _IntArrType {int arr[256];} IntArrType;
  4. typedef struct _StrArrType {std::string arr[256];} StrArrType;
  5. std::map<std::string, int> int_variables;
  6. std::map<std::string, std::string> str_variables;
  7. std::map<std::string, IntArrType> int_arr_variables;
  8. std::map<std::string, StrArrType> str_arr_variables;
  9.  
  10. int main(void) {
  11. label_10:for (int_variables["A"]=0; int_variables["A"]<5; int_variables["A"]=int_variables["A"]+1) {
  12. label_20:std::cout << int_variables["A"] << std::endl;
  13. label_30:continue; }
  14.  
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement