Click here to Skip to main content
15,913,587 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCurious about the file sort order Pin
LiYS7-Jan-05 13:39
LiYS7-Jan-05 13:39 
GeneralRe: Curious about the file sort order Pin
Maximilien7-Jan-05 14:09
Maximilien7-Jan-05 14:09 
QuestionUnicode needed for Turkish characters? Pin
ed welch7-Jan-05 13:15
ed welch7-Jan-05 13:15 
AnswerRe: Unicode needed for Turkish characters? Pin
markkuk7-Jan-05 23:39
markkuk7-Jan-05 23:39 
GeneralRe: Unicode needed for Turkish characters? Pin
ed welch9-Jan-05 0:37
ed welch9-Jan-05 0:37 
GeneralSimple File Input Pin
Jordan C. Atlas7-Jan-05 11:43
Jordan C. Atlas7-Jan-05 11:43 
GeneralRe: Simple File Input Pin
Jordan C. Atlas7-Jan-05 11:53
Jordan C. Atlas7-Jan-05 11:53 
GeneralRe: Simple File Input Pin
PJ Arends8-Jan-05 8:07
professionalPJ Arends8-Jan-05 8:07 
Jordan C. Atlas wrote:
inFile >> tempString;

then I get a compiler error:

error C2679: binary '>>' : no operator defined which takes a right-hand operand of type 'class std::basic_string,class std::allocator >' (or there is no
acceptable conversion)


#include <string>


Jordan C. Atlas wrote:
the statement (charTemp == "Account") seems to evaluate to false

You are comparing two pointers that point to different things so they are obviously not equal. To compare the contents of char arrays you have to use strcmp().



"You're obviously a superstar." - Christian Graus about me - 12 Feb '03

"Obviously ???  You're definitely a superstar!!!" mYkel - 21 Jun '04

Within you lies the power for good - Use it!
GeneralRe: Simple File Input Pin
Jordan C. Atlas8-Jan-05 8:45
Jordan C. Atlas8-Jan-05 8:45 
GeneralCrystal Report Pin
javad_20007-Jan-05 10:31
javad_20007-Jan-05 10:31 
GeneralRe: Crystal Report Pin
Michael P Butler7-Jan-05 11:27
Michael P Butler7-Jan-05 11:27 
Generaldc.DrawText() doesn't work?! Pin
rh0057-Jan-05 10:04
rh0057-Jan-05 10:04 
GeneralRe: dc.DrawText() doesn't work?! Pin
PJ Arends7-Jan-05 10:20
professionalPJ Arends7-Jan-05 10:20 
GeneralUsing Winsocks Select() function. Pin
jerry1211a7-Jan-05 8:39
jerry1211a7-Jan-05 8:39 
GeneralRe: Using Winsocks Select() function. Pin
User 66587-Jan-05 12:25
User 66587-Jan-05 12:25 
GeneralReporting malloc problem with _malloc_dbg question. Pin
Maximilien7-Jan-05 8:08
Maximilien7-Jan-05 8:08 
GeneralRe: Reporting malloc problem with _malloc_dbg question. Pin
PJ Arends7-Jan-05 10:13
professionalPJ Arends7-Jan-05 10:13 
GeneralRe: Reporting malloc problem with _malloc_dbg question. Pin
Maximilien7-Jan-05 13:56
Maximilien7-Jan-05 13:56 
QuestionIdentifying multiple instances of a program? Pin
Member 16322377-Jan-05 8:07
Member 16322377-Jan-05 8:07 
AnswerRe: Identifying multiple instances of a program? Pin
Maximilien7-Jan-05 8:17
Maximilien7-Jan-05 8:17 
AnswerRe: Identifying multiple instances of a program? Pin
PJ Arends7-Jan-05 8:21
professionalPJ Arends7-Jan-05 8:21 
GeneralCDC and BItmap question Pin
Maverick7-Jan-05 7:25
Maverick7-Jan-05 7:25 
GeneralRe: CDC and BItmap question Pin
PJ Arends7-Jan-05 9:13
professionalPJ Arends7-Jan-05 9:13 
GeneralRe: CDC and BItmap question Pin
Maverick7-Jan-05 15:36
Maverick7-Jan-05 15:36 
GeneralSynchronization with CTypedPtrArray Pin
Konrad Windszus7-Jan-05 7:24
Konrad Windszus7-Jan-05 7:24 

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.