Home > Software engineering >  Don't know the code in VS, solving?
Don't know the code in VS, solving?

Time:10-05

 auto var=m_availInst. Find (STR); 
If (var.=m_availInst. End ())//
{
M_instructionType=var - & gt; Second. Type;
Var - & gt; Second, extra width=width;
Tool. SetInstExtraInfo (& amp; Var - & gt; Second. Extra);
}
The else
{
AfxMessageBox (L "is not specified instruction set");
return;
}

CodePudding user response:

The auto keyword

CodePudding user response:

What words do not understand you? Or don't understand? Ask a question, ask understand, some concrete?

CodePudding user response:

Chain to find a particular element in the table, and then modify it some of the data

CodePudding user response:

To learn programming advice:
Multi-purpose cerebellum and hand and less in the brain, eyes and mouth, will learn faster programming!
Eye over thousand times than hand it again!
Book is better than one thousand lines of hand knock a line!
Hand knock is better than one thousand lines of a single step line!
Single step source code is better than one thousand lines of single-step the Debug version of the corresponding assembly line!
Single step the Debug version of the corresponding assembly is better than one thousand lines of single-step Release version corresponding to the assembly line!
Will not step the Release version of the corresponding assembly? In you want to step the Release version of C/C + + code snippets in the front of the temporarily add DebugBreak (); Rebuild all, and then run in the IDE, (average person I don't tell him!

CodePudding user response:

reference oyljerry reply: 3/f
list to find a particular element, some data and then modify it


Just take the upstairs

CodePudding user response:

and please first learn how to watch !

Computer composition principle and DOS command to assembly language, C language (not including the C + +), code written specification and data structure, compiling principle, operating system and computer network, database principle, the regular expression to other languages (including C + +), architecture...

To learn programming advice:
multi-purpose cerebellum and hand and less in the brain, eyes and mouth, will be faster to learn programming!
Eye over thousand times than hand it again!
Book is better than one thousand lines of hand knock a line!
Hand knock is better than one thousand lines of a single step line!
Single step source code is better than one thousand lines of single-step the Debug version of the corresponding assembly line!
Single step the Debug version of the corresponding assembly is better than one thousand lines of single-step Release version corresponding to the assembly line!
Will not step the Release version of the corresponding assembly? In you want to step the Release version of C/C + + code snippets in the front of the temporarily add DebugBreak (); Rebuild all, and then run in the IDE, (the average person I don't tell him! )

single step class instances "tectonic" or "copy" or "as a function parameter" or "as a function return value return" or "to participate in various operations" or "out of scope" statement of corresponding assembly code after a few steps, will come to the class "constructor" or "copy constructor" or "operator overloading" or "of" the destructor corresponding C/C + + source code,

VC debugging when press Alt + 8, Alt + 7, Alt + 6 and Alt + 5, open the assembly window, stack window, memory window and registers the window to see each other C corresponding assembly, single step, and observe the corresponding stack memory and registers changes, this again is not what all understand,
For VC, the so-called 'when debugging is compiled to connect through the later, after press F10 or F11 key step by step, or in a row after press F9 set the breakpoint press F5 execution stops at the breakpoint,

CodePudding user response:

Code function at the end of the day is not others to help you see or interpretation or comment; But by myself calm down and take a long enough time and energy to do it yourself step or set a breakpoint or step to perform to a certain intermediate result shows or written to the log file analysis step by step,
Remind: cow x teacher cannot replace the student understand and use the toilet!
Single step debugging and set breakpoint debugging (VS IDE compilation connection through later, press F10 or F11 key step, press Shift + F11 exit the current function; In a press F9 set breakpoints after press F5 execution stops at the breakpoint,) is one of the programmers must master the skills,