Click here to Skip to main content
15,900,725 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalstructure with vector as a member Pin
gahziman10-Oct-04 13:30
gahziman10-Oct-04 13:30 
GeneralRe: structure with vector as a member Pin
Mad__10-Oct-04 23:25
Mad__10-Oct-04 23:25 
GeneralRe: structure with vector as a member Pin
gahziman11-Oct-04 0:34
gahziman11-Oct-04 0:34 
GeneralRe: structure with vector as a member Pin
Mad__11-Oct-04 0:39
Mad__11-Oct-04 0:39 
GeneralRe: structure with vector as a member Pin
Bob Stanneveld11-Oct-04 3:56
Bob Stanneveld11-Oct-04 3:56 
GeneralPlease help with CString to float. Pin
Jochum Wittebrood10-Oct-04 10:29
Jochum Wittebrood10-Oct-04 10:29 
GeneralRe: Please help with CString to float. Pin
Jochum Wittebrood10-Oct-04 11:07
Jochum Wittebrood10-Oct-04 11:07 
GeneralRe: Please help with CString to float. Pin
Christian Graus10-Oct-04 11:54
protectorChristian Graus10-Oct-04 11:54 
CString has a method to return the underlying char*, which you can then pass into atof. From memory, it's something like LockString, and you need to call a corresponding Unlock method when you've used the char * for whatever dastardly deed you intend. std::string has the c_str() function which does much the same thing. Sorry, it's too long since I lived in MFC land, I don't know the specific function you want. Hopefully this is enough to push you in the right direction Smile | :)


Christian

I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer
GeneralRe: Please help with CString to float. Pin
Jochum Wittebrood10-Oct-04 14:32
Jochum Wittebrood10-Oct-04 14:32 
GeneralRe: Please help with CString to float. Pin
Christian Graus10-Oct-04 14:41
protectorChristian Graus10-Oct-04 14:41 
GeneralRe: Please help with CString to float. Pin
Michael Dunn10-Oct-04 14:49
sitebuilderMichael Dunn10-Oct-04 14:49 
GeneralRe: Please help with CString to float. Pin
toxcct10-Oct-04 21:00
toxcct10-Oct-04 21:00 
GeneralRe: Please help with CString to float. Pin
callisthenes11-Oct-04 3:57
callisthenes11-Oct-04 3:57 
GeneralRe: Please help with CString to float. Pin
Jochum Wittebrood12-Oct-04 12:43
Jochum Wittebrood12-Oct-04 12:43 
GeneralRuntime ComboBox Question Pin
otrcomm10-Oct-04 9:04
otrcomm10-Oct-04 9:04 
GeneralRe: Runtime ComboBox Question Pin
Antti Keskinen10-Oct-04 9:23
Antti Keskinen10-Oct-04 9:23 
GeneralRe: Runtime ComboBox Question Pin
otrcomm10-Oct-04 12:03
otrcomm10-Oct-04 12:03 
GeneralRe: Runtime ComboBox Question - Never Mind Pin
otrcomm10-Oct-04 12:56
otrcomm10-Oct-04 12:56 
GeneralRe: Runtime ComboBox Question Pin
toxcct10-Oct-04 21:10
toxcct10-Oct-04 21:10 
QuestionHow l Pin
lordmickel10-Oct-04 8:48
lordmickel10-Oct-04 8:48 
AnswerRe: How l Pin
Christian Graus10-Oct-04 8:54
protectorChristian Graus10-Oct-04 8:54 
GeneralRe: How l Pin
lordmickel10-Oct-04 9:21
lordmickel10-Oct-04 9:21 
GeneralRe: How l Pin
Christian Graus10-Oct-04 9:30
protectorChristian Graus10-Oct-04 9:30 
GeneralRe: How l Pin
lordmickel11-Oct-04 7:59
lordmickel11-Oct-04 7:59 
GeneralRe: How l Pin
Christian Graus11-Oct-04 10:19
protectorChristian Graus11-Oct-04 10:19 

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.