Click here to Skip to main content
14,770,794 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Glut errors with Mingw on windows Pin
leon de boer11-Jun-16 23:59
Memberleon de boer11-Jun-16 23:59 
GeneralRe: Glut errors with Mingw on windows Pin
Ratul Thakur12-Jun-16 0:59
MemberRatul Thakur12-Jun-16 0:59 
QuestionWhy no boundry condition set for C++ Pin
Hassan Syed111-Jun-16 5:52
MemberHassan Syed111-Jun-16 5:52 
AnswerRe: Why no boundry condition set for C++ Pin
Richard MacCutchan11-Jun-16 6:08
mveRichard MacCutchan11-Jun-16 6:08 
GeneralRe: Why no boundry condition set for C++ Pin
Hassan Syed111-Jun-16 6:27
MemberHassan Syed111-Jun-16 6:27 
AnswerRe: Why no boundry condition set for C++ Pin
Patrice T11-Jun-16 7:02
mvePatrice T11-Jun-16 7:02 
AnswerRe: Why no boundry condition set for C++ Pin
leon de boer11-Jun-16 23:53
Memberleon de boer11-Jun-16 23:53 
AnswerRe: Why no boundry condition set for C++ Pin
enhzflep14-Jun-16 2:34
Memberenhzflep14-Jun-16 2:34 
It sounds an awful lot like you're asking - why does a fast and powerful language like C++ not have one of the performance killers of languages that require less skill to use.

Simply, because with C/C++ you're given the power to shoot yourself in the foot. If you do so, it's your own stupid fault, not that of the language that lets you do it.

If you have an array of a million elements and you wish to access each of them, you're expected to know that you're not trying to access an element before or after your allocated memory. The alternative is to assume you have or will screw-up and to perform 1 million bounds checking operations. No - that's not cool. That's a nice feature for sub-par programmers.

Also, hassan syed1 - it's Bjarne Stroustrup, not bjarne stroustrup. You capitalized your own name but thought his not significant enough to afford him the same respect?

AnswerRe: Why no boundry condition set for C++ Pin
Maximilien14-Jun-16 11:25
MemberMaximilien14-Jun-16 11:25 
QuestionConverting Fortran source to C++ Source Pin
manoharbalu9-Jun-16 2:58
Membermanoharbalu9-Jun-16 2:58 
AnswerRe: Converting Fortran source to C++ Source Pin
Jochen Arndt9-Jun-16 3:30
professionalJochen Arndt9-Jun-16 3:30 
GeneralRe: Converting Fortran source to C++ Source Pin
manoharbalu9-Jun-16 3:52
Membermanoharbalu9-Jun-16 3:52 
GeneralRe: Converting Fortran source to C++ Source Pin
Jochen Arndt9-Jun-16 4:27
professionalJochen Arndt9-Jun-16 4:27 
GeneralRe: Converting Fortran source to C++ Source Pin
manoharbalu9-Jun-16 4:36
Membermanoharbalu9-Jun-16 4:36 
GeneralRe: Converting Fortran source to C++ Source Pin
Jochen Arndt9-Jun-16 4:54
professionalJochen Arndt9-Jun-16 4:54 
GeneralRe: Converting Fortran source to C++ Source Pin
leon de boer9-Jun-16 5:21
Memberleon de boer9-Jun-16 5:21 
GeneralRe: Converting Fortran source to C++ Source Pin
David A. Gray13-Jun-16 12:35
MemberDavid A. Gray13-Jun-16 12:35 
AnswerRe: Converting Fortran source to C++ Source Pin
Richard MacCutchan9-Jun-16 4:42
mveRichard MacCutchan9-Jun-16 4:42 
AnswerRe: Converting Fortran source to C++ Source Pin
leon de boer9-Jun-16 5:10
Memberleon de boer9-Jun-16 5:10 
QuestionC++ and Visual Studio help? Error messages etc.. Pin
User 125396568-Jun-16 9:19
MemberUser 125396568-Jun-16 9:19 
SuggestionRe: C++ and Visual Studio help? Error messages etc.. Pin
David Crow8-Jun-16 10:32
MemberDavid Crow8-Jun-16 10:32 
AnswerRe: C++ and Visual Studio help? Error messages etc.. Pin
Richard MacCutchan8-Jun-16 21:53
mveRichard MacCutchan8-Jun-16 21:53 
AnswerRe: C++ and Visual Studio help? Error messages etc.. Pin
leon de boer8-Jun-16 22:57
Memberleon de boer8-Jun-16 22:57 
GeneralRe: C++ and Visual Studio help? Error messages etc.. Pin
Richard MacCutchan8-Jun-16 23:26
mveRichard MacCutchan8-Jun-16 23:26 
QuestionMemory leak in VC++ 6.0 when store lots of objects in CArray,please help me! Pin
lostangels5-Jun-16 5:37
Memberlostangels5-Jun-16 5:37 

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.