Click here to Skip to main content
15,912,273 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: (MFC application) Dotted-line rectangle on focused button? Pin
Maxwell Chen18-Dec-07 16:20
Maxwell Chen18-Dec-07 16:20 
GeneralRe: (MFC application) Dotted-line rectangle on focused button? Pin
Maxwell Chen23-Dec-07 23:57
Maxwell Chen23-Dec-07 23:57 
GeneralEnumerating Network Devices.... Pin
Peter Weyzen17-Dec-07 20:44
Peter Weyzen17-Dec-07 20:44 
QuestionRe: Enumerating Network Devices.... Pin
David Crow18-Dec-07 3:11
David Crow18-Dec-07 3:11 
GeneralNumber of characters of a string Pin
CodingLover17-Dec-07 20:34
CodingLover17-Dec-07 20:34 
GeneralRe: Number of characters of a string Pin
cp987617-Dec-07 21:01
cp987617-Dec-07 21:01 
GeneralRe: Number of characters of a string Pin
CodingLover17-Dec-07 22:32
CodingLover17-Dec-07 22:32 
GeneralRe: Number of characters of a string Pin
cp987617-Dec-07 23:26
cp987617-Dec-07 23:26 
If you checked the link you would find:

isspace returns a nonzero value if c is a white-space character (0x09 – 0x0D or 0x20).

Thus isspace(c) tests if c is whitespace, including \r, \n, \t and space. It is done with a lookup table so is much faster than a bunch of if() statements.
Peter
"Until the invention of the computer, the machine gun was the device that enabled humans to make the most mistakes in the smallest amount of time."

GeneralRe: Number of characters of a string Pin
CodingLover17-Dec-07 23:36
CodingLover17-Dec-07 23:36 
GeneralRe: Number of characters of a string Pin
wira1guys17-Dec-07 21:20
wira1guys17-Dec-07 21:20 
QuestionRe: Number of characters of a string Pin
CPallini17-Dec-07 22:02
mveCPallini17-Dec-07 22:02 
GeneralRe: Number of characters of a string Pin
CodingLover17-Dec-07 22:35
CodingLover17-Dec-07 22:35 
GeneralRe: Number of characters of a string Pin
Maxwell Chen17-Dec-07 22:36
Maxwell Chen17-Dec-07 22:36 
GeneralRe: Number of characters of a string Pin
CodingLover17-Dec-07 23:01
CodingLover17-Dec-07 23:01 
JokeRe: Number of characters of a string Pin
CPallini17-Dec-07 23:12
mveCPallini17-Dec-07 23:12 
GeneralRe: Number of characters of a string Pin
CodingLover17-Dec-07 23:31
CodingLover17-Dec-07 23:31 
GeneralRe: Number of characters of a string Pin
cp987617-Dec-07 23:37
cp987617-Dec-07 23:37 
GeneralRe: Number of characters of a string Pin
CPallini18-Dec-07 0:04
mveCPallini18-Dec-07 0:04 
GeneralRe: Number of characters of a string Pin
cp987618-Dec-07 0:15
cp987618-Dec-07 0:15 
GeneralRe: Number of characters of a string Pin
CPallini18-Dec-07 0:43
mveCPallini18-Dec-07 0:43 
GeneralRe: Number of characters of a string Pin
cp987618-Dec-07 10:07
cp987618-Dec-07 10:07 
GeneralYou're right Pin
CPallini18-Dec-07 12:33
mveCPallini18-Dec-07 12:33 
GeneralRe: Number of characters of a string Pin
CodingLover18-Dec-07 0:18
CodingLover18-Dec-07 0:18 
GeneralRe: Number of characters of a string Pin
Maxwell Chen18-Dec-07 1:16
Maxwell Chen18-Dec-07 1:16 
QuestionRe: Number of characters of a string Pin
David Crow18-Dec-07 3:20
David Crow18-Dec-07 3:20 

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.