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

C / C++ / MFC

 
GeneralRe: execute a function? [modified] Pin
Code-o-mat28-Dec-08 0:24
Code-o-mat28-Dec-08 0:24 
GeneralRe: execute a function? Pin
dec8228-Dec-08 3:46
dec8228-Dec-08 3:46 
GeneralRe: execute a function? Pin
Code-o-mat28-Dec-08 3:56
Code-o-mat28-Dec-08 3:56 
AnswerRe: execute a function? Pin
Hamid_RT28-Dec-08 0:03
Hamid_RT28-Dec-08 0:03 
AnswerRe: execute a function? Pin
CPallini28-Dec-08 2:45
mveCPallini28-Dec-08 2:45 
Questionstring and char? Pin
dec8227-Dec-08 22:36
dec8227-Dec-08 22:36 
AnswerRe: string and char? Pin
Hamid_RT28-Dec-08 0:08
Hamid_RT28-Dec-08 0:08 
AnswerRe: string and char? Pin
CPallini28-Dec-08 2:40
mveCPallini28-Dec-08 2:40 
Generally, with string we mean a sequence (i.e. one or more) of characters.
In C language, char is a data type (corrensponding to a 8-bit signed integer, i.e. ranging from -128 to 127, while an unsigned char is a 8-bit unsigned integer, i.e. ranging from 0 to 255), a string is, by convention, a sequence of chars zero terminated, for instance:
//CHAR VARIABLES
char c1 = 'A';
char c2 = 13;
char c3 = -20;

// UNSIGNED CHAR VARIABLES
unsigned char uc1 = 10;
unsigned char uc2 = 'A';
unsigned char uc3 = 250;

// STRINGS
char s1[]= { 'H', 'e', 'l', 'l', 'o', '\0'};
char s2[]= "Hello"; //Shorthand form of the above


Smile | :)

If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

QuestionSetWindowRgn For Text Or Label Pin
yytg27-Dec-08 20:23
yytg27-Dec-08 20:23 
AnswerRe: SetWindowRgn For Text Or Label Pin
Hamid_RT28-Dec-08 0:08
Hamid_RT28-Dec-08 0:08 
GeneralRe: SetWindowRgn For Text Or Label Pin
yytg28-Dec-08 2:04
yytg28-Dec-08 2:04 
AnswerRe: SetWindowRgn For Text Or Label Pin
Code-o-mat28-Dec-08 2:17
Code-o-mat28-Dec-08 2:17 
GeneralRe: SetWindowRgn For Text Or Label Pin
yytg28-Dec-08 6:53
yytg28-Dec-08 6:53 
GeneralRe: SetWindowRgn For Text Or Label Pin
Code-o-mat28-Dec-08 9:39
Code-o-mat28-Dec-08 9:39 
GeneralRe: SetWindowRgn For Text Or Label [modified] Pin
yytg29-Dec-08 3:01
yytg29-Dec-08 3:01 
QuestionWhy fclose is so slow and what is its internal implematation. Pin
Vishal Kumar Soni27-Dec-08 10:27
Vishal Kumar Soni27-Dec-08 10:27 
AnswerRe: Why fclose is so slow and what is its internal implematation. Pin
Richard Andrew x6427-Dec-08 11:55
professionalRichard Andrew x6427-Dec-08 11:55 
GeneralRe: Why fclose is so slow and what is its internal implematation. [modified] Pin
Vishal Kumar Soni27-Dec-08 21:12
Vishal Kumar Soni27-Dec-08 21:12 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Luc Pattyn28-Dec-08 2:16
sitebuilderLuc Pattyn28-Dec-08 2:16 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Vishal Kumar Soni28-Dec-08 5:40
Vishal Kumar Soni28-Dec-08 5:40 
AnswerRe: Why fclose is so slow and what is its internal implematation. Pin
Mark Salsbery28-Dec-08 4:59
Mark Salsbery28-Dec-08 4:59 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Vishal Kumar Soni28-Dec-08 5:56
Vishal Kumar Soni28-Dec-08 5:56 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Mark Salsbery28-Dec-08 6:26
Mark Salsbery28-Dec-08 6:26 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Vishal Kumar Soni28-Dec-08 8:10
Vishal Kumar Soni28-Dec-08 8:10 
GeneralRe: Why fclose is so slow and what is its internal implematation. Pin
Mark Salsbery28-Dec-08 8:16
Mark Salsbery28-Dec-08 8:16 

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.