Click here to Skip to main content
15,888,527 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: [Hook HW interrupts in flat mode with DOS32/A] Pin
enhzflep23-Jul-12 19:01
enhzflep23-Jul-12 19:01 
GeneralRe: [Hook HW interrupts in flat mode with DOS32/A] Pin
liaoo23-Jul-12 19:47
liaoo23-Jul-12 19:47 
GeneralRe: [Hook HW interrupts in flat mode with DOS32/A] Pin
enhzflep23-Jul-12 20:23
enhzflep23-Jul-12 20:23 
GeneralRe: [Hook HW interrupts in flat mode with DOS32/A] Pin
liaoo23-Jul-12 22:02
liaoo23-Jul-12 22:02 
AnswerRe: [Hook HW interrupts in flat mode with DOS32/A] Pin
Software_Developer23-Jul-12 20:10
Software_Developer23-Jul-12 20:10 
GeneralRe: [Hook HW interrupts in flat mode with DOS32/A] Pin
liaoo23-Jul-12 22:05
liaoo23-Jul-12 22:05 
QuestionMSDN 2010, scanf_s Pin
mrby12323-Jul-12 7:13
mrby12323-Jul-12 7:13 
AnswerRe: MSDN 2010, scanf_s Pin
Albert Holguin23-Jul-12 7:26
professionalAlbert Holguin23-Jul-12 7:26 
mrby123 wrote:
How to spacify the width of a string in 'scanf_s' ?

Like this[^]...
mrby123 wrote:
I feel hard, since the width of the string in the input file is not fixed varying from 50 character to 120, so how to specify the buffer size.

If the size varies, you have to specify the maximum size, the smaller string will fit just fine in the larger strings array.
mrby123 wrote:
I used 'scanf' to read input, I do not need to specify the length of the string.

Yes, but this was a frequent cause of crashes due to buffer overflows, you don't HAVE to use scanf_s, if the previous version worked just fine for you, you can disable the warning with a pragma comment.
AnswerRe: MSDN 2010, scanf_s Pin
CPallini23-Jul-12 22:12
mveCPallini23-Jul-12 22:12 
GeneralProgrammatically setting power manager suspend timeouts in Windows CE5.0 [SOLVED] Pin
SidProgrammer22-Jul-12 21:21
SidProgrammer22-Jul-12 21:21 
GeneralRe: Programmatically setting power manager suspend timeouts in Windows CE5.0 Pin
Richard MacCutchan22-Jul-12 21:45
mveRichard MacCutchan22-Jul-12 21:45 
GeneralRe: Programmatically setting power manager suspend timeouts in Windows CE5.0 Pin
SidProgrammer22-Jul-12 22:34
SidProgrammer22-Jul-12 22:34 
GeneralRe: Programmatically setting power manager suspend timeouts in Windows CE5.0 Pin
Richard MacCutchan22-Jul-12 22:37
mveRichard MacCutchan22-Jul-12 22:37 
GeneralRe: Programmatically setting power manager suspend timeouts in Windows CE5.0 Pin
SidProgrammer22-Jul-12 22:51
SidProgrammer22-Jul-12 22:51 
Questioncan i use vc6 with aforge? Pin
frank2323153422-Jul-12 1:30
frank2323153422-Jul-12 1:30 
AnswerRe: can i use vc6 with aforge? Pin
Richard MacCutchan22-Jul-12 2:05
mveRichard MacCutchan22-Jul-12 2:05 
QuestionMulti touch - Limit CView boudaries when panning Pin
Dansveen21-Jul-12 13:02
Dansveen21-Jul-12 13:02 
AnswerRe: Multi touch - Limit CView boudaries when panning Pin
Richard MacCutchan22-Jul-12 0:13
mveRichard MacCutchan22-Jul-12 0:13 
GeneralRe: Multi touch - Limit CView boudaries when panning Pin
Dansveen22-Jul-12 4:33
Dansveen22-Jul-12 4:33 
GeneralRe: Multi touch - Limit CView boudaries when panning Pin
Richard MacCutchan22-Jul-12 5:33
mveRichard MacCutchan22-Jul-12 5:33 
Questionrtb Pin
byank20-Jul-12 23:01
byank20-Jul-12 23:01 
GeneralRe: rtb Pin
Richard MacCutchan21-Jul-12 1:21
mveRichard MacCutchan21-Jul-12 1:21 
Questiona c++ code implimenting a single linked list Pin
phineas kimathi20-Jul-12 2:54
phineas kimathi20-Jul-12 2:54 
AnswerRe: a c++ code implimenting a single linked list Pin
Richard MacCutchan20-Jul-12 2:57
mveRichard MacCutchan20-Jul-12 2:57 
GeneralRe: a c++ code implimenting a single linked list Pin
lewax0020-Jul-12 5:33
lewax0020-Jul-12 5:33 

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.