Click here to Skip to main content
15,888,286 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWhere should I define this. Pin
CodingLover16-Oct-08 22:54
CodingLover16-Oct-08 22:54 
AnswerRe: Where should I define this. Pin
Graham Shanks16-Oct-08 23:19
Graham Shanks16-Oct-08 23:19 
QuestionRe: Where should I define this. Pin
CodingLover16-Oct-08 23:25
CodingLover16-Oct-08 23:25 
AnswerRe: Where should I define this. Pin
Graham Shanks16-Oct-08 23:51
Graham Shanks16-Oct-08 23:51 
AnswerRe: Where should I define this. Pin
toxcct17-Oct-08 0:46
toxcct17-Oct-08 0:46 
AnswerRe: Where should I define this. Pin
Mark Salsbery17-Oct-08 5:48
Mark Salsbery17-Oct-08 5:48 
QuestionHow to know the mouse right clicking the cerain icon in the toolbar Pin
akira3216-Oct-08 21:29
akira3216-Oct-08 21:29 
QuestionHow to read Specific String from file [modified] Pin
lpVCcode16-Oct-08 20:37
lpVCcode16-Oct-08 20:37 
Hi All

I hava a problem to read specific string from file.I am useing CStdioFile class.Code is here
[code]
CString ab;
CStdioFile file;
if (file.Open(_T("\\App.txt"), CFile::modeRead | CFile::modeNoTruncate))
{
while(file.end)
{

file.ReadString(ab);
}

file.Close();
}
[/code]
In my line is like this
Mr. As 10 Developer
Mr. PC 19 Analyst

Now i want to read Mr. As and Mr. Pc Name only.How can i read this.Plz help me

modified on Friday, October 17, 2008 3:47 AM

AnswerRe: How to read Specific String from file Pin
CPallini16-Oct-08 21:31
mveCPallini16-Oct-08 21:31 
GeneralRe: How to read Specific String from file Pin
Mark Salsbery17-Oct-08 7:01
Mark Salsbery17-Oct-08 7:01 
AnswerRe: How to read Specific String from file Pin
Hamid_RT17-Oct-08 0:11
Hamid_RT17-Oct-08 0:11 
AnswerRe: How to read Specific String from file Pin
David Crow17-Oct-08 3:57
David Crow17-Oct-08 3:57 
Questionstatus of printer on network............... Pin
ani_ikram16-Oct-08 20:22
ani_ikram16-Oct-08 20:22 
AnswerRe: status of printer on network............... Pin
SandipG 16-Oct-08 20:54
SandipG 16-Oct-08 20:54 
GeneralRe: status of printer on network............... Pin
ani_ikram16-Oct-08 21:02
ani_ikram16-Oct-08 21:02 
QuestionRe: status of printer on network............... Pin
David Crow17-Oct-08 3:58
David Crow17-Oct-08 3:58 
QuestionRegarding Admin rights user Pin
H4u3216-Oct-08 20:13
H4u3216-Oct-08 20:13 
QuestionRe: Regarding Admin rights user Pin
David Crow17-Oct-08 4:00
David Crow17-Oct-08 4:00 
AnswerRe: Regarding Admin rights user Pin
H4u3217-Oct-08 4:50
H4u3217-Oct-08 4:50 
GeneralRe: Regarding Admin rights user Pin
Michael Dunn17-Oct-08 11:22
sitebuilderMichael Dunn17-Oct-08 11:22 
GeneralRe: Regarding Admin rights user Pin
H4u3217-Oct-08 19:26
H4u3217-Oct-08 19:26 
QuestionFunction to get the local system Administrator Name Pin
Taruni16-Oct-08 18:33
Taruni16-Oct-08 18:33 
AnswerRe: Function to get the local system Administrator Name Pin
Naveen16-Oct-08 18:46
Naveen16-Oct-08 18:46 
GeneralRe: Function to get the local system Administrator Name Pin
Taruni16-Oct-08 19:04
Taruni16-Oct-08 19:04 
GeneralRe: Function to get the local system Administrator Name Pin
Naveen16-Oct-08 19:10
Naveen16-Oct-08 19:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.