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

C / C++ / MFC

 
GeneralRe: hlp me out!! Pin
Maximilien3-May-05 9:44
Maximilien3-May-05 9:44 
GeneralRe: hlp me out!! Pin
David Crow3-May-05 10:45
David Crow3-May-05 10:45 
GeneralRe: hlp me out!! Pin
Member 18801463-May-05 20:44
Member 18801463-May-05 20:44 
GeneralRe: hlp me out!! Pin
David Crow4-May-05 2:21
David Crow4-May-05 2:21 
GeneralConverting char to char* Pin
talkster53-May-05 9:10
talkster53-May-05 9:10 
GeneralRe: Converting char to char* Pin
Wes Aday3-May-05 9:16
professionalWes Aday3-May-05 9:16 
GeneralRe: Converting char to char* Pin
talkster53-May-05 9:24
talkster53-May-05 9:24 
GeneralRe: Converting char to char* Pin
David Crow3-May-05 10:32
David Crow3-May-05 10:32 
talkster5 wrote:
The char test is the one that I need

Since test is not being used, why do you need it at all?

What does CIni::GetChar() return? More importantly, what is the third parameter supposed to be? I'm not sure why the class differentiates between getting a char vs. getting a string, but in any case, you need to change your code to the following in order to pacify the compiler:

char test = ini.GetChar(_T("History"), _T("Input"), ' ');
Why are you mixing _T() and TCHAR()? That in itself doesn't hurt anything but it does make your code hard to read.


"Ideas are a dime a dozen. People who put them into action are priceless." - Unknown


GeneralRe: Converting char to char* Pin
talkster53-May-05 10:42
talkster53-May-05 10:42 
GeneralRe: Converting char to char* Pin
David Crow3-May-05 10:49
David Crow3-May-05 10:49 
GeneralRe: Converting char to char* Pin
talkster53-May-05 10:57
talkster53-May-05 10:57 
GeneralRe: Converting char to char* Pin
David Crow3-May-05 11:01
David Crow3-May-05 11:01 
GeneralRe: Converting char to char* Pin
talkster53-May-05 11:04
talkster53-May-05 11:04 
GeneralRe: Converting char to char* Pin
Anonymous3-May-05 13:41
Anonymous3-May-05 13:41 
GeneralRe: Converting char to char* Pin
David Crow3-May-05 16:36
David Crow3-May-05 16:36 
GeneralRe: Converting char to char* Pin
talkster53-May-05 20:06
talkster53-May-05 20:06 
GeneralRe: Converting char to char* Pin
Aamir Butt4-May-05 1:14
Aamir Butt4-May-05 1:14 
GeneralRe: Converting char to char* Pin
David Crow4-May-05 2:15
David Crow4-May-05 2:15 
GeneralRe: Converting char to char* Pin
talkster54-May-05 4:39
talkster54-May-05 4:39 
GeneralRe: Converting char to char* Pin
David Crow4-May-05 4:49
David Crow4-May-05 4:49 
GeneralRe: Converting char to char* Pin
talkster54-May-05 5:33
talkster54-May-05 5:33 
GeneralRe: Converting char to char* Pin
David Crow4-May-05 6:07
David Crow4-May-05 6:07 
GeneralRe: Converting char to char* Pin
talkster54-May-05 6:17
talkster54-May-05 6:17 
GeneralRe: Converting char to char* Pin
talkster54-May-05 6:21
talkster54-May-05 6:21 
GeneralRe: Converting char to char* Pin
John R. Shaw4-May-05 9:55
John R. Shaw4-May-05 9:55 

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.