Click here to Skip to main content
15,916,180 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMessage Removed Pin
17-Jan-10 5:30
softwaremonkey17-Jan-10 5:30 
AnswerRe: Conditional Library Linkage Pin
cmk17-Jan-10 5:56
cmk17-Jan-10 5:56 
GeneralRe: Conditional Library Linkage Pin
softwaremonkey17-Jan-10 5:59
softwaremonkey17-Jan-10 5:59 
GeneralRe: Conditional Library Linkage Pin
Iain Clarke, Warrior Programmer17-Jan-10 22:41
Iain Clarke, Warrior Programmer17-Jan-10 22:41 
GeneralRe: Conditional Library Linkage Pin
softwaremonkey18-Jan-10 10:46
softwaremonkey18-Jan-10 10:46 
Questionhow to associate a bit map to a spin control button? Pin
timbk17-Jan-10 5:13
timbk17-Jan-10 5:13 
AnswerRe: how to associate a bit map to a spin control button? Pin
Graham Shanks17-Jan-10 6:17
Graham Shanks17-Jan-10 6:17 
QuestionSearching and displaying specific information Pin
gregarion17-Jan-10 3:20
gregarion17-Jan-10 3:20 
Hey guys, im quite new to c++. i am doing a project in which i would have to extract certain information of a database which i have saved in a text file. the database looks something like this :


Database<br />
John32451^23.21 >tyyhg>tdsrte^>1.24<br />
Mark55342^ 335.11 >tsthh



What i am trying to do is search each row based on a specific id and then extract the information next to it. For example, if i were to select John in the menu, the output will be like this.

OUTPUT<br />
John  23.21    1.24



I am not very sure how could i do this and the method to use. Could i get some guidance? To get the correct line will be easy as we just have to search for the name to get the line. But , how about the other two information? I was thinking of using the characters before it which is "32451^" and then reading the info. but how do i get it to stop at the information i want and not continue displaying the information after that which is ";gt;t"
AnswerRe: Searching and displaying specific information Pin
loyal ginger17-Jan-10 3:25
loyal ginger17-Jan-10 3:25 
GeneralRe: Searching and displaying specific information Pin
gregarion17-Jan-10 3:31
gregarion17-Jan-10 3:31 
GeneralRe: Searching and displaying specific information Pin
Bram van Kampen17-Jan-10 5:43
Bram van Kampen17-Jan-10 5:43 
GeneralRe: Searching and displaying specific information Pin
gregarion17-Jan-10 17:57
gregarion17-Jan-10 17:57 
AnswerRe: Searching and displaying specific information Pin
Moak17-Jan-10 6:19
Moak17-Jan-10 6:19 
QuestionMy C++ app forks itself! (win32/64) Pin
Måns Thörnqvist16-Jan-10 21:23
Måns Thörnqvist16-Jan-10 21:23 
AnswerRe: My C++ app forks itself! (win32/64) Pin
CPallini16-Jan-10 22:08
mveCPallini16-Jan-10 22:08 
GeneralRe: My C++ app forks itself! (win32/64) Pin
Måns Thörnqvist16-Jan-10 22:36
Måns Thörnqvist16-Jan-10 22:36 
GeneralRe: My C++ app forks itself! (win32/64) Pin
CPallini16-Jan-10 23:23
mveCPallini16-Jan-10 23:23 
GeneralRe: My C++ app forks itself! (win32/64) Pin
Måns Thörnqvist17-Jan-10 0:23
Måns Thörnqvist17-Jan-10 0:23 
GeneralRe: My C++ app forks itself! (win32/64) Pin
Bram van Kampen17-Jan-10 5:54
Bram van Kampen17-Jan-10 5:54 
AnswerRe: My C++ app forks itself! (win32/64) Pin
Moak17-Jan-10 2:54
Moak17-Jan-10 2:54 
Questionequivalent of atoi and itoa functions in SDK Pin
samira forooghi16-Jan-10 20:41
samira forooghi16-Jan-10 20:41 
AnswerRe: equivalent of atoi and itoa functions in SDK Pin
Richard MacCutchan16-Jan-10 21:47
mveRichard MacCutchan16-Jan-10 21:47 
GeneralRe: equivalent of atoi and itoa functions in SDK Pin
samira forooghi16-Jan-10 22:50
samira forooghi16-Jan-10 22:50 
GeneralRe: equivalent of atoi and itoa functions in SDK Pin
enhzflep17-Jan-10 11:33
enhzflep17-Jan-10 11:33 
GeneralRe: equivalent of atoi and itoa functions in SDK [modified] Pin
samira forooghi18-Jan-10 0:17
samira forooghi18-Jan-10 0:17 

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.