Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~436 People Reached
Favorite Forums
Favorite Tags
c++ x 6
Member Avatar for blueyan

[Click Here](http://img196.imageshack.us/img196/3873/captureiv.jpg) for the snapshot of my problem. string operand; string opCode; struct MacroNameTable{ string macroName; int start; int end; int invocation; string operandCounter; }; struct MacroNameTable NAMTAB[NAMSize]; void addNAMTab(){ NAMcounter++; cout <<"check NAMcounter: ["<<NAMcounter<<"]"<<endl;//debug cout <<"check this operand: ["<<operand<<"]"<<endl;//debug cout <<"check this opCode: ["<<opCode<<"]"<<endl;//debug NAMTAB[NAMcounter].macroName=opCode; NAMTAB[NAMcounter].start=DEFcounter; NAMTAB[NAMcounter].operandCounter="AA"; } operand …

Member Avatar for blueyan
0
129
Member Avatar for blueyan

Hai, I'm a C++ beginner with self learning.I have a function that return a vector string eg: vector <string> result :"PA1070","PA1088","PA1091","Pa1070","PA1044"..... How do I compare the vector string element in a proper way? I tried to compare (if result[0] < result[3] ) cout << "True"; else cout << "False"; it …

Member Avatar for sergent
0
307