Click here to Skip to main content
16,006,440 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dynamic Dialog Subclassed Controls Pin
User 1278210-May-04 16:29
User 1278210-May-04 16:29 
Questionhow to control the other exe's ocx control? Pin
wl@syntc.com.cn10-May-04 14:26
wl@syntc.com.cn10-May-04 14:26 
GeneralPrint Reverse Pin
tkelly14010-May-04 13:40
tkelly14010-May-04 13:40 
GeneralRe: Print Reverse Pin
vividtang11-May-04 0:41
vividtang11-May-04 0:41 
QuestionHow to call VB.NET DLL from VC++.NET Pin
Member 87328310-May-04 12:55
Member 87328310-May-04 12:55 
Generalworking with streams Pin
ra_sasi10-May-04 12:44
ra_sasi10-May-04 12:44 
GeneralRe: working with streams Pin
Paul Ranson10-May-04 13:01
Paul Ranson10-May-04 13:01 
GeneralRe: working with streams Pin
ra_sasi11-May-04 6:40
ra_sasi11-May-04 6:40 
Infact we are doing migration from IOC to standard C++
#define FIELD_DELIM "~"
#define RECORD_LEN 450
#define RECORD_DELIM '!'

main (int argc, char *argv[])
{
IString filename (argv[1]);
ifstream inFile(filename);
char buf[RECORD_LEN+1];
IString inLine;

IString notUsed;

int i;

while (inFile.getline(buf, RECORD_LEN+1, RECORD_DELIM)) {
inLine = buf;
inLine >> notUsed >> FIELD_DELIM >> // record counter
recordType >> FIELD_DELIM >>
effDate >> FIELD_DELIM >>
productType >> FIELD_DELIM >>
notUsed >> FIELD_DELIM >> // collateral type
baseMargin >> FIELD_DELIM >>
rateType >> FIELD_DELIM >>
vehicleAge >> FIELD_DELIM >>
ltv >> FIELD_DELIM >>
inLine;
}

ealier this peice of code worked but now when i am using string as i mentioned above instead of istring this is not getting compiled and giving problems

What might be the problem.I am trying out various ways but couldnt do it
Your help will be greatly appreciated

GeneralNOT a Site Search? Search text within tables and display results. Pin
thefreebay10-May-04 12:41
thefreebay10-May-04 12:41 
GeneralRe: NOT a Site Search? Search text within tables and display results. Pin
Anthony_Yio10-May-04 16:17
Anthony_Yio10-May-04 16:17 
Questionprint screen hook? Pin
Miguel Lopes10-May-04 11:38
Miguel Lopes10-May-04 11:38 
AnswerRe: print screen hook? Pin
Toby Opferman10-May-04 16:29
Toby Opferman10-May-04 16:29 
GeneralRe: print screen hook? Pin
Toby Opferman10-May-04 18:26
Toby Opferman10-May-04 18:26 
GeneralRe: print screen hook? Pin
Miguel Lopes10-May-04 23:42
Miguel Lopes10-May-04 23:42 
GeneralRe: print screen hook? Pin
Toby Opferman11-May-04 2:42
Toby Opferman11-May-04 2:42 
GeneralRe: print screen hook? Pin
Miguel Lopes11-May-04 3:05
Miguel Lopes11-May-04 3:05 
GeneralRe: print screen hook? Pin
Toby Opferman11-May-04 6:00
Toby Opferman11-May-04 6:00 
GeneralRe: print screen hook? Pin
Miguel Lopes12-May-04 2:58
Miguel Lopes12-May-04 2:58 
GeneralC2065 Compiler error. Pin
bin892210-May-04 11:30
bin892210-May-04 11:30 
GeneralRe: C2065 Compiler error. Pin
Christian Graus10-May-04 12:09
protectorChristian Graus10-May-04 12:09 
GeneralRe: C2065 Compiler error. Pin
bin892210-May-04 12:27
bin892210-May-04 12:27 
GeneralRe: C2065 Compiler error. Pin
Christian Graus10-May-04 12:32
protectorChristian Graus10-May-04 12:32 
GeneralRe: C2065 Compiler error. Pin
Ionut L.10-May-04 20:32
Ionut L.10-May-04 20:32 
GeneralRe: C2065 Compiler error. Pin
Robert A. T. Káldy10-May-04 22:46
Robert A. T. Káldy10-May-04 22:46 
GeneralError when closing application Pin
Krugger40410-May-04 11:04
Krugger40410-May-04 11:04 

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.