Click here to Skip to main content
15,922,696 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Function IsDestinationReachable Pin
David Crow6-Oct-03 4:36
David Crow6-Oct-03 4:36 
GeneralRe: Function IsDestinationReachable Pin
Alan Martinis6-Oct-03 4:57
Alan Martinis6-Oct-03 4:57 
GeneralRe: Function IsDestinationReachable Pin
David Crow6-Oct-03 5:10
David Crow6-Oct-03 5:10 
GeneralRe: Function IsDestinationReachable Pin
Alan Martinis6-Oct-03 5:52
Alan Martinis6-Oct-03 5:52 
GeneralRe: Function IsDestinationReachable Pin
David Crow6-Oct-03 6:26
David Crow6-Oct-03 6:26 
GeneralRe: Function IsDestinationReachable Pin
Alan Martinis6-Oct-03 7:07
Alan Martinis6-Oct-03 7:07 
GeneralRe: Function IsDestinationReachable Pin
David Crow6-Oct-03 7:27
David Crow6-Oct-03 7:27 
GeneralRe: Function IsDestinationReachable Pin
Alan Martinis6-Oct-03 21:35
Alan Martinis6-Oct-03 21:35 
GeneralRe: Function IsDestinationReachable Pin
Mike Dimmick7-Oct-03 0:07
Mike Dimmick7-Oct-03 0:07 
GeneralRe: Function IsDestinationReachable Pin
Anonymous7-Oct-03 3:53
Anonymous7-Oct-03 3:53 
GeneralRe: Function IsDestinationReachable Pin
Alan Martinis6-Oct-03 5:58
Alan Martinis6-Oct-03 5:58 
GeneralRe: Function IsDestinationReachable Pin
Mike Dimmick6-Oct-03 4:37
Mike Dimmick6-Oct-03 4:37 
QuestionWhich file is internet option saved in? Pin
ray_li6-Oct-03 3:23
ray_li6-Oct-03 3:23 
AnswerRe: Which file is internet option saved in? Pin
David Crow6-Oct-03 4:38
David Crow6-Oct-03 4:38 
GeneralRe: Which file is internet option saved in? Pin
ray_li6-Oct-03 5:38
ray_li6-Oct-03 5:38 
GeneralRe: Which file is internet option saved in? Pin
David Crow6-Oct-03 6:21
David Crow6-Oct-03 6:21 
GeneralRe: Which file is internet option saved in? Pin
ray_li6-Oct-03 6:59
ray_li6-Oct-03 6:59 
GeneralRe: Which file is internet option saved in? Pin
David Crow6-Oct-03 7:28
David Crow6-Oct-03 7:28 
GeneralOpen File Pin
Anonymous6-Oct-03 2:39
Anonymous6-Oct-03 2:39 
GeneralRe: Open File Pin
David Crow6-Oct-03 3:01
David Crow6-Oct-03 3:01 
GeneralRe: Open File Pin
Anonymous6-Oct-03 3:06
Anonymous6-Oct-03 3:06 
GeneralRe: Open File Pin
Anonymous6-Oct-03 3:08
Anonymous6-Oct-03 3:08 
GeneralRe: Open File Pin
David Crow6-Oct-03 3:26
David Crow6-Oct-03 3:26 
Are you sure this is what you are using? Your original request was to "read the data into variable account and amount then use get() again with no argument in order to through away the new line character at the end of the line." What you have here is not even close. It simply reads and displays one character at a time of the file.

See if this is any closer:

string account, amount, pendamount;
while (...)
{
    inpf.getline(account, 15, ' ');
    inpf.getline(amount, 15, ' ');
    inpf.getline(pendamount, 15, ' ');
}



Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?

GeneralRe: Open File Pin
Anonymous6-Oct-03 4:10
Anonymous6-Oct-03 4:10 
GeneralRe: Open File Pin
jhwurmbach6-Oct-03 4:25
jhwurmbach6-Oct-03 4:25 

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.