Click here to Skip to main content
15,925,133 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: difference b/w C and C++ Pin
Henry miller15-Jun-04 5:01
Henry miller15-Jun-04 5:01 
simpler. When directly accessing hardware you need to force some things to be in a specific memory location. You often have limited memory you can use (ISA devices cannot access memory over 16 megabytes, not a factor now, but it was not long ago, and may be again when the limits of 32 bit PCI is reached). The base OS is normally written in C or assembly, so you have to jump in and out of C often. C++ intorduces overhead that isn't needed.

In general, even though these limits are not hard to overcome in C++, the programs that directly access hardware are so small that C++ gives no advantage.

You can do this in C++, and it has been done. However there is no real advantage.

I'm only talking about the lowest level device drivers. If you are not messing with registers you are above this point.
GeneralRe: difference b/w C and C++ Pin
David Crow16-Jun-04 3:03
David Crow16-Jun-04 3:03 
GeneralRe: difference b/w C and C++ Pin
Henry miller16-Jun-04 3:32
Henry miller16-Jun-04 3:32 
QuestionHow to copy ClientDC to Memory Device Context? Pin
JHAKAS14-Jun-04 19:25
JHAKAS14-Jun-04 19:25 
AnswerRe: How to copy ClientDC to Memory Device Context? Pin
Vadim Tabakman14-Jun-04 19:28
Vadim Tabakman14-Jun-04 19:28 
GeneralSorting date with CListCtrl Pin
Mr Bose Dayala14-Jun-04 19:21
Mr Bose Dayala14-Jun-04 19:21 
GeneralRe: Sorting date with CListCtrl Pin
Vadim Tabakman14-Jun-04 19:36
Vadim Tabakman14-Jun-04 19:36 
GeneralRe: Sorting date with CListCtrl Pin
Mr Bose Dayala14-Jun-04 20:00
Mr Bose Dayala14-Jun-04 20:00 
GeneralRe: Sorting date with CListCtrl Pin
Vadim Tabakman14-Jun-04 20:29
Vadim Tabakman14-Jun-04 20:29 
GeneralRe: Sorting date with CListCtrl Pin
David Crow15-Jun-04 2:43
David Crow15-Jun-04 2:43 
GeneralRe: Sorting date with CListCtrl Pin
Mr Bose Dayala15-Jun-04 17:02
Mr Bose Dayala15-Jun-04 17:02 
GeneralRe: Sorting date with CListCtrl Pin
David Crow16-Jun-04 2:46
David Crow16-Jun-04 2:46 
GeneralTraversing the views Pin
Poorniselva14-Jun-04 18:43
Poorniselva14-Jun-04 18:43 
GeneralRe: Traversing the views Pin
Vadim Tabakman14-Jun-04 19:00
Vadim Tabakman14-Jun-04 19:00 
GeneralRe: Traversing the views Pin
Poorniselva14-Jun-04 19:40
Poorniselva14-Jun-04 19:40 
GeneralRe: Traversing the views Pin
V.15-Jun-04 2:23
professionalV.15-Jun-04 2:23 
QuestionHow to get memory info of a process not using PSAPI, thanks Pin
xingworld14-Jun-04 18:40
xingworld14-Jun-04 18:40 
AnswerRe: How to get memory info of a process not using PSAPI, thanks Pin
David Crow15-Jun-04 2:46
David Crow15-Jun-04 2:46 
AnswerRe: How to get memory info of a process not using PSAPI, thanks Pin
ThatsAlok16-Jun-04 1:46
ThatsAlok16-Jun-04 1:46 
GeneralSOS [about Genetic Algorithms] Pin
onetwone14-Jun-04 17:56
onetwone14-Jun-04 17:56 
GeneralRe: SOS [about Genetic Algorithms] Pin
Vadim Tabakman14-Jun-04 18:10
Vadim Tabakman14-Jun-04 18:10 
GeneralRe: SOS [about Genetic Algorithms] Pin
onetwone14-Jun-04 22:19
onetwone14-Jun-04 22:19 
Questionhow to get these Rect Area Pin
yingkou14-Jun-04 16:50
yingkou14-Jun-04 16:50 
AnswerRe: how to get these Rect Area Pin
Johan Rosengren14-Jun-04 20:53
Johan Rosengren14-Jun-04 20:53 
GeneralException handling - catch(...) Pin
Tom Archer14-Jun-04 16:40
Tom Archer14-Jun-04 16:40 

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.