Click here to Skip to main content
15,899,937 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralAppending 2 RTF Strings together Pin
Zero_divide_129-Nov-03 16:41
Zero_divide_129-Nov-03 16:41 
GeneralRe: Appending 2 RTF Strings together Pin
JWood29-Nov-03 18:07
JWood29-Nov-03 18:07 
GeneralRe: Appending 2 RTF Strings together Pin
Zero_divide_11-Dec-03 5:43
Zero_divide_11-Dec-03 5:43 
GeneralrichEdit hook Pin
Anonymous29-Nov-03 16:37
Anonymous29-Nov-03 16:37 
GeneralConversion, string to int Pin
__Cerb29-Nov-03 16:33
__Cerb29-Nov-03 16:33 
GeneralRe: Conversion, string to int Pin
JWood29-Nov-03 18:10
JWood29-Nov-03 18:10 
GeneralRe: Conversion, string to int Pin
Michael Dunn29-Nov-03 19:45
sitebuilderMichael Dunn29-Nov-03 19:45 
GeneralRe: Conversion, string to int Pin
BaldwinMartin29-Nov-03 20:07
BaldwinMartin29-Nov-03 20:07 
cobol just told you, how to convert from str to int so you have that right?

int x = atoi("123456");

now to change that back to an int?

ok right out of MSDN

char *string, *stopstring;
double x;
long l; // or int
int base;
unsigned long ul;
string = "3.1415926This stopped it";
x = strtod( string, &stopstring );
printf( "string = %s\n", string );
printf(" strtod = %f\n", x );
printf(" Stopped scan at: %s\n\n", stopstring );
string = "-10110134932This stopped it";
l = strtol( string, &stopstring, 10 );
printf( "string = %s", string );
printf(" strtol = %ld", l );
printf(" Stopped scan at: %s", stopstring );
string = "10110134932";




Best Wishes and Happy Holiday's,
ez_way
GeneralRe: Conversion, string to int Pin
Scozturk29-Nov-03 22:58
professionalScozturk29-Nov-03 22:58 
GeneralRe: Conversion, string to int Pin
Ian Darling29-Nov-03 23:33
Ian Darling29-Nov-03 23:33 
QuestionHow to release a GDI+ object? Pin
YanBin29-Nov-03 16:04
YanBin29-Nov-03 16:04 
AnswerRe: How to release a GDI+ object? Pin
JWood29-Nov-03 18:18
JWood29-Nov-03 18:18 
AnswerRe: How to release a GDI+ object? Pin
JWood29-Nov-03 18:24
JWood29-Nov-03 18:24 
GeneralProblems with LPRECT.. Pin
__Cerb29-Nov-03 13:54
__Cerb29-Nov-03 13:54 
GeneralRe: Problems with LPRECT.. Pin
Bo Hunter29-Nov-03 14:05
Bo Hunter29-Nov-03 14:05 
GeneralRe: Problems with LPRECT.. Pin
Michael Dunn29-Nov-03 14:26
sitebuilderMichael Dunn29-Nov-03 14:26 
GeneralRe: Problems with LPRECT.. Pin
Gareth Johnson30-Nov-03 8:54
sussGareth Johnson30-Nov-03 8:54 
QuestionHow to get "current" window handle ? Pin
legrillon29-Nov-03 13:42
legrillon29-Nov-03 13:42 
AnswerRe: How to get "current" window handle ? Pin
Michael Dunn29-Nov-03 14:29
sitebuilderMichael Dunn29-Nov-03 14:29 
GeneralRe: How to get "current" window handle ? Pin
legrillon1-Dec-03 9:36
legrillon1-Dec-03 9:36 
GeneralRefreshBoundData behaves strange !! Pin
Hesham Amin29-Nov-03 9:01
Hesham Amin29-Nov-03 9:01 
GeneralC help! Pin
Anonymous29-Nov-03 8:53
Anonymous29-Nov-03 8:53 
GeneralRe: C help! Pin
JWood29-Nov-03 18:36
JWood29-Nov-03 18:36 
GeneralRe: C help! Pin
Anonymous30-Nov-03 10:19
Anonymous30-Nov-03 10:19 
GeneralWindowFromPoint() Pin
__Cerb29-Nov-03 7:45
__Cerb29-Nov-03 7:45 

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.