Click here to Skip to main content
16,014,662 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to change the listbox background? Pin
Hans Ruck3-Apr-02 5:37
Hans Ruck3-Apr-02 5:37 
GeneralRe: How to change the listbox background? Pin
Ravi Bhavnani3-Apr-02 5:43
professionalRavi Bhavnani3-Apr-02 5:43 
Generalstructures Pin
RK_20003-Apr-02 5:00
RK_20003-Apr-02 5:00 
GeneralRe: structures Pin
Paul M Watt3-Apr-02 6:08
mentorPaul M Watt3-Apr-02 6:08 
GeneralRe: structures Pin
3-Apr-02 6:11
suss3-Apr-02 6:11 
GeneralA DAO Problem ! Pin
3-Apr-02 4:48
suss3-Apr-02 4:48 
Generaldistorted bitmaps and meta's using diff resolutions Pin
IGeorgeI3-Apr-02 4:25
IGeorgeI3-Apr-02 4:25 
Generalreading from file Pin
Rajveer3-Apr-02 3:53
Rajveer3-Apr-02 3:53 
How do I read from a file starting at a particular line. Suppose I want to start retrieving data from the third line but I don't know how much data is on the first two lines. Can I just read until I get two carriage returns?
Something like:
ifstream file(test.in);
char test;
for(int i=0; i<2; i++)
{
while(test!='\n')
file >> test;
}

I know this code is most probably not right, I just put it in to help explain what it is I want I'm trying to accomplish. Can anyone tell me the right way to do it?
GeneralRe: reading from file Pin
3-Apr-02 4:02
suss3-Apr-02 4:02 
GeneralRe: reading from file Pin
alex.barylski3-Apr-02 4:31
alex.barylski3-Apr-02 4:31 
GeneralRe: reading from file Pin
Shog93-Apr-02 4:59
sitebuilderShog93-Apr-02 4:59 
GeneralRe: reading from file Pin
Ravi Bhavnani3-Apr-02 5:19
professionalRavi Bhavnani3-Apr-02 5:19 
GeneralRetrieving handle to the active MDI child window Pin
AmarB3-Apr-02 3:04
AmarB3-Apr-02 3:04 
GeneralRe: Retrieving handle to the active MDI child window Pin
alex.barylski3-Apr-02 3:26
alex.barylski3-Apr-02 3:26 
GeneralRe: Retrieving handle to the active MDI child window Pin
AmarB3-Apr-02 3:37
AmarB3-Apr-02 3:37 
GeneralRe: Retrieving handle to the active MDI child window Pin
alex.barylski3-Apr-02 3:48
alex.barylski3-Apr-02 3:48 
GeneralRe: Retrieving handle to the active MDI child window Pin
3-Apr-02 3:58
suss3-Apr-02 3:58 
GeneralRe: Retrieving handle to the active MDI child window Pin
3-Apr-02 6:13
suss3-Apr-02 6:13 
GeneralIcons in a Listctrl with owner draw fixed style Pin
Cris3-Apr-02 2:58
Cris3-Apr-02 2:58 
GeneralRe: Icons in a Listctrl with owner draw fixed style Pin
alex.barylski3-Apr-02 3:30
alex.barylski3-Apr-02 3:30 
Generalevents problem.... Pin
Neha3-Apr-02 2:53
Neha3-Apr-02 2:53 
Generalremove item from std::list Pin
3-Apr-02 2:46
suss3-Apr-02 2:46 
GeneralRe: remove item from std::list Pin
Chris Losinger3-Apr-02 3:11
professionalChris Losinger3-Apr-02 3:11 
GeneralRe: remove item from std::list Pin
Christian Graus3-Apr-02 9:47
protectorChristian Graus3-Apr-02 9:47 
GeneralRe: remove item from std::list Pin
Chris Losinger3-Apr-02 9:56
professionalChris Losinger3-Apr-02 9:56 

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.