How do I implement the data and variables corresponding to sincerely help you bosses
CodePudding user response:
In fact is to make the edit box shows the corresponding data later used to calculate the novice don't know what kind of code to implementCodePudding user response:
https://www.baidu.com/s? Wd=CDialog + UpdateData& Ie=utf-8CodePudding user response:
UpdateData(TRUE); Control to the variableThe UpdateData (FALSE); Variables to control
CodePudding user response:
According to the fixed format input, each read a line of string segmentation, againCodePudding user response:
Cstrings szLine;//open the file
CStdioFile file;
Ts. TXT file. Open (" ", CFile: : modeRead);//read TXT text
//read line by line string
While (file. ReadString (szLine))
{
//handle the szline line dividing the assigned to variables,
//this is read every line, you can also put each line are preserved outside recycling processing
}
The UpdateData (FALSE); Variables to control
CodePudding user response:
Just back to a similarhttps://bbs.csdn.net/topics/392065749
CodePudding user response:
CStdioFile: : ReadString () keep to the cstrings, using cstrings: : Tokenize () in the TEXT (" | ") as the delimiter split string,