Click here to Skip to main content
15,904,023 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionBuild Errors Using CString not CStringT Pin
ForNow22-Mar-09 10:53
ForNow22-Mar-09 10:53 
AnswerRe: Build Errors Using CString not CStringT Pin
Joe Woodbury22-Mar-09 14:35
professionalJoe Woodbury22-Mar-09 14:35 
GeneralRe: Build Errors Using CString not CStringT Pin
ForNow22-Mar-09 14:51
ForNow22-Mar-09 14:51 
GeneralRe: Build Errors Using CString not CStringT Pin
Joe Woodbury22-Mar-09 14:59
professionalJoe Woodbury22-Mar-09 14:59 
GeneralRe: Build Errors Using CString not CStringT Pin
ForNow22-Mar-09 15:12
ForNow22-Mar-09 15:12 
GeneralRe: Build Errors Using CString not CStringT Pin
Joe Woodbury22-Mar-09 15:25
professionalJoe Woodbury22-Mar-09 15:25 
GeneralRe: Build Errors Using CString not CStringT Pin
ForNow22-Mar-09 15:42
ForNow22-Mar-09 15:42 
GeneralRe: Build Errors Using CString not CStringT Pin
Joe Woodbury22-Mar-09 15:57
professionalJoe Woodbury22-Mar-09 15:57 
GeneralRe: Build Errors Using CString not CStringT Pin
ForNow22-Mar-09 16:09
ForNow22-Mar-09 16:09 
Questionvoltage Pin
brains8922-Mar-09 7:04
brains8922-Mar-09 7:04 
AnswerRe: voltage Pin
CPallini22-Mar-09 7:29
mveCPallini22-Mar-09 7:29 
AnswerRe: voltage Pin
Yusuf22-Mar-09 7:59
Yusuf22-Mar-09 7:59 
GeneralRe: voltage Pin
brains8922-Mar-09 8:02
brains8922-Mar-09 8:02 
GeneralRe: voltage Pin
Yusuf22-Mar-09 13:28
Yusuf22-Mar-09 13:28 
JokeRe: voltage Pin
CPallini22-Mar-09 22:12
mveCPallini22-Mar-09 22:12 
GeneralRe: voltage Pin
Yusuf23-Mar-09 3:11
Yusuf23-Mar-09 3:11 
GeneralRe: voltage Pin
CPallini23-Mar-09 3:17
mveCPallini23-Mar-09 3:17 
AnswerRe: voltage Pin
Iain Clarke, Warrior Programmer22-Mar-09 10:07
Iain Clarke, Warrior Programmer22-Mar-09 10:07 
QuestionHow to remove a underscore character from my string Pin
pandit8422-Mar-09 5:56
pandit8422-Mar-09 5:56 
AnswerRe: How to remove a underscore character from my string Pin
Yusuf22-Mar-09 6:07
Yusuf22-Mar-09 6:07 
AnswerRe: How to remove a underscore character from my string Pin
Rajesh R Subramanian22-Mar-09 6:08
professionalRajesh R Subramanian22-Mar-09 6:08 
AnswerRe: How to remove a underscore character from my string Pin
CPallini22-Mar-09 7:34
mveCPallini22-Mar-09 7:34 
QuestionAn 'If' statement before my char declaration is not allowing my program to compile......why? Pin
Endomlic22-Mar-09 5:06
Endomlic22-Mar-09 5:06 
AnswerRe: An 'If' statement before my char declaration is not allowing my program to compile......why? Pin
Rajesh R Subramanian22-Mar-09 5:18
professionalRajesh R Subramanian22-Mar-09 5:18 
GeneralRe: An 'If' statement before my char declaration is not allowing my program to compile......why? Pin
Endomlic22-Mar-09 5:23
Endomlic22-Mar-09 5:23 
If I declare the char beforehand then I can't use the if statement as intended.
I need to see if they actually entered a buffer size, if not then the program will crash with the wrong error message I want displayed.
That's where the if statement comes in. The if will break the program if they do not specify a buffer size. and if they do then it will be used as the char buff array size.

How else can I declare a char buffer size and change it after the if?

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.