Click here to Skip to main content
15,884,032 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Key-Value pair with multiples Pin
Chris Losinger8-Sep-11 1:45
professionalChris Losinger8-Sep-11 1:45 
GeneralRe: Key-Value pair with multiples Pin
CodingLover12-Sep-11 19:04
CodingLover12-Sep-11 19:04 
QuestionOpening Files as Read-only in VS2008 Pin
softwaremonkey7-Sep-11 10:16
softwaremonkey7-Sep-11 10:16 
GeneralRe: Opening Files as Read-only in VS2008 Pin
Malli_S7-Sep-11 22:57
Malli_S7-Sep-11 22:57 
QuestionRead a string with spaces Pin
CodingLover7-Sep-11 7:32
CodingLover7-Sep-11 7:32 
AnswerRe: Read a string with spaces [modified] Pin
Graham Breach7-Sep-11 8:44
Graham Breach7-Sep-11 8:44 
GeneralRe: Read a string with spaces Pin
CodingLover7-Sep-11 15:19
CodingLover7-Sep-11 15:19 
AnswerRe: Read a string with spaces Pin
«_Superman_»7-Sep-11 14:52
professional«_Superman_»7-Sep-11 14:52 
scanf("%[^\n]", name); works.
If it does not, then check how name is declared.
It should be something like char name[1024];
«_Superman 
I love work. It gives me something to do between weekends.


Microsoft MVP (Visual C++)

Polymorphism in C

GeneralRe: Read a string with spaces Pin
CodingLover7-Sep-11 15:16
CodingLover7-Sep-11 15:16 
GeneralRe: Read a string with spaces Pin
«_Superman_»7-Sep-11 15:22
professional«_Superman_»7-Sep-11 15:22 
GeneralRe: Read a string with spaces Pin
CodingLover7-Sep-11 19:43
CodingLover7-Sep-11 19:43 
GeneralRe: Read a string with spaces Pin
«_Superman_»8-Sep-11 3:22
professional«_Superman_»8-Sep-11 3:22 
GeneralRe: Read a string with spaces Pin
CodingLover12-Sep-11 19:02
CodingLover12-Sep-11 19:02 
GeneralRe: Read a string with spaces Pin
abhishek.biradar13-Sep-11 2:51
abhishek.biradar13-Sep-11 2:51 
QuestionHow to set/remove ES_READONLY style of CEdit at runtime? Pin
includeh107-Sep-11 5:24
includeh107-Sep-11 5:24 
QuestionRe: How to set/remove ES_READONLY style of CEdit at runtime? Pin
David Crow7-Sep-11 6:09
David Crow7-Sep-11 6:09 
AnswerRe: How to set/remove ES_READONLY style of CEdit at runtime? Pin
Orjan Westin7-Sep-11 23:41
professionalOrjan Westin7-Sep-11 23:41 
QuestionWTSSendMessage Failing Pin
Arun Parthasarathy7-Sep-11 1:58
Arun Parthasarathy7-Sep-11 1:58 
AnswerRe: WTSSendMessage Failing Pin
Code-o-mat7-Sep-11 4:09
Code-o-mat7-Sep-11 4:09 
QuestionCTime Problem? I don't think so....but who knows? Pin
Kyudos6-Sep-11 13:31
Kyudos6-Sep-11 13:31 
NewsRe: CTime Problem? I don't think so....but who knows? Pin
Kyudos6-Sep-11 14:59
Kyudos6-Sep-11 14:59 
AnswerRe: CTime Problem? I don't think so....but who knows? Pin
zhangyupeng7-Sep-11 1:41
zhangyupeng7-Sep-11 1:41 
AnswerRe: CTime Problem? I don't think so....but who knows? Pin
David Crow7-Sep-11 6:19
David Crow7-Sep-11 6:19 
GeneralRe: CTime Problem? I don't think so....but who knows? Pin
Kyudos7-Sep-11 15:23
Kyudos7-Sep-11 15:23 
QuestionIOCompletion in a server also acting as client Pin
Ole Gry Pedersen6-Sep-11 3:52
Ole Gry Pedersen6-Sep-11 3:52 

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.