Click here to Skip to main content
15,892,927 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C1001 internal Compiler error VS 2012 pro Pin
ForNow19-Jan-16 8:07
ForNow19-Jan-16 8:07 
AnswerRe: C1001 internal Compiler error VS 2012 pro Pin
Jochen Arndt19-Jan-16 4:30
professionalJochen Arndt19-Jan-16 4:30 
GeneralRe: C1001 internal Compiler error VS 2012 pro Pin
ForNow19-Jan-16 8:05
ForNow19-Jan-16 8:05 
QuestionC, Win32: l need help getting user input[Solved] Pin
Member 1213944217-Jan-16 11:41
Member 1213944217-Jan-16 11:41 
AnswerRe: C, Win32: l need help getting user input PinPopular
Richard MacCutchan17-Jan-16 21:31
mveRichard MacCutchan17-Jan-16 21:31 
PraiseRe: C, Win32: l need help getting user input Pin
Member 1213944218-Jan-16 11:10
Member 1213944218-Jan-16 11:10 
QuestionContext menu style of Shell in Windows 10 Pin
rikka0w016-Jan-16 19:21
rikka0w016-Jan-16 19:21 
QuestionC function to call 5 different functions Pin
Member 1213438816-Jan-16 5:55
Member 1213438816-Jan-16 5:55 
AnswerRe: C function to call 5 different functions Pin
Richard Andrew x6416-Jan-16 6:48
professionalRichard Andrew x6416-Jan-16 6:48 
GeneralRe: C function to call 5 different functions Pin
Member 1213438816-Jan-16 9:18
Member 1213438816-Jan-16 9:18 
QuestionCheck and uninstall a driver programatically using C++ Pin
Prasanth.outofboxt14-Jan-16 22:09
Prasanth.outofboxt14-Jan-16 22:09 
AnswerRe: Check and uninstall a driver programatically using C++ Pin
Jochen Arndt14-Jan-16 22:30
professionalJochen Arndt14-Jan-16 22:30 
QuestionWin32: l need help on filling a combo box [Solved] Pin
Member 1213944214-Jan-16 10:53
Member 1213944214-Jan-16 10:53 
AnswerRe: Win32: l need help on filling a combo box Pin
Richard Andrew x6414-Jan-16 12:09
professionalRichard Andrew x6414-Jan-16 12:09 
AnswerRe: Win32: l need help on filling a combo box Pin
Jochen Arndt14-Jan-16 21:23
professionalJochen Arndt14-Jan-16 21:23 
All your for loops are iterating from 0 to (including) sizeof(array)/sizeof(array[0]):
for(i=0; i<=sizeof(Time)/sizeof(Time[0]); i++)

So they will access one item behind the array size with the last iteration because the max. allowed index is the number of items minus one.

Change all your loops to use < rather than <= (here for the last one):
for(i=0; i<sizeof(Time)/sizeof(Time[0]); i++)

PraiseRe: Win32: l need help on filling a combo box Pin
Member 1213944215-Jan-16 8:09
Member 1213944215-Jan-16 8:09 
QuestionOpen the file but do not save the args Pin
honor3us13-Jan-16 8:42
honor3us13-Jan-16 8:42 
AnswerRe: Open the file but do not save the args Pin
jeron113-Jan-16 9:18
jeron113-Jan-16 9:18 
GeneralRe: Open the file but do not save the args Pin
honor3us14-Jan-16 0:46
honor3us14-Jan-16 0:46 
SuggestionRe: Open the file but do not save the args Pin
David Crow13-Jan-16 9:33
David Crow13-Jan-16 9:33 
GeneralRe: Open the file but do not save the args Pin
honor3us14-Jan-16 0:56
honor3us14-Jan-16 0:56 
QuestionRe: Open the file but do not save the args Pin
David Crow14-Jan-16 2:33
David Crow14-Jan-16 2:33 
AnswerRe: Open the file but do not save the args Pin
honor3us14-Jan-16 3:51
honor3us14-Jan-16 3:51 
AnswerRe: Open the file but do not save the args Pin
David Crow14-Jan-16 3:52
David Crow14-Jan-16 3:52 
SuggestionRe: Open the file but do not save the args Pin
k505413-Jan-16 11:39
mvek505413-Jan-16 11:39 

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.