Click here to Skip to main content
15,898,861 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaldll linkage madness Pin
bryce13-Jan-04 12:17
bryce13-Jan-04 12:17 
GeneralRe: dll linkage madness Pin
twing13-Jan-04 14:06
twing13-Jan-04 14:06 
GeneralRe: dll linkage madness Pin
bryce13-Jan-04 14:16
bryce13-Jan-04 14:16 
GeneralRe: dll linkage madness Pin
rpins13-Jan-04 17:17
rpins13-Jan-04 17:17 
GeneralRe: dll linkage madness Pin
PJ Arends13-Jan-04 17:31
professionalPJ Arends13-Jan-04 17:31 
GeneralRe: dll linkage madness - fixed now Pin
bryce13-Jan-04 19:12
bryce13-Jan-04 19:12 
GeneralEvent handling problem - unmanaged C++ COM and VB .NET interop Pin
rpins13-Jan-04 11:24
rpins13-Jan-04 11:24 
GeneralPointers and the adresse bus Pin
Ralf Friedrich Hain13-Jan-04 11:11
Ralf Friedrich Hain13-Jan-04 11:11 
My PC is a "32 bit system".
That means 32 bit address bus
=> the highest address is 2^32 - 1 = 4294967296
That means also 32 bit data bus. (4 Byte per word)
=> the maximum of adressable memory is 4 * (2^32 - 1) = 17179869184

now programming in c/c++:
sizeof( char ) = 1 (byte)
difference of pointers of two successive char variables : 1
sizeof( int ) = 4
difference of pointers of two successive int variables : 4
sizeof( any Pointer ) = 4

=> A char pointer must contain information about which of the 4 bytes in a 32 bit word is meant, and also information of the address on the address bus.
=> I cannot access the maximum of adressable memory with pointers, but only a fouth of it. (or less?)

AM I RIGHT???


Friedrich
GeneralRe: Pointers and the adresse bus Pin
Joaquín M López Muñoz13-Jan-04 11:26
Joaquín M López Muñoz13-Jan-04 11:26 
GeneralRe: Pointers and the adresse bus Pin
markkuk13-Jan-04 11:58
markkuk13-Jan-04 11:58 
QuestionAnyone know of any good memory pool classes or templates for VC6? Pin
prcarp13-Jan-04 9:27
prcarp13-Jan-04 9:27 
AnswerRe: Anyone know of any good memory pool classes or templates for VC6? Pin
Joaquín M López Muñoz13-Jan-04 10:56
Joaquín M López Muñoz13-Jan-04 10:56 
GeneralRe: Anyone know of any good memory pool classes or templates for VC6? Pin
prcarp13-Jan-04 11:20
prcarp13-Jan-04 11:20 
GeneralRe: Anyone know of any good memory pool classes or templates for VC6? Pin
Joaquín M López Muñoz13-Jan-04 11:40
Joaquín M López Muñoz13-Jan-04 11:40 
Questionprofile in VC 6 ? Pin
Maximilien13-Jan-04 7:46
Maximilien13-Jan-04 7:46 
Generaledit or list box color change Pin
act_x13-Jan-04 6:25
act_x13-Jan-04 6:25 
GeneralRe: edit or list box color change Pin
valikac13-Jan-04 6:30
valikac13-Jan-04 6:30 
GeneralRe: edit or list box color change Pin
act_x13-Jan-04 6:41
act_x13-Jan-04 6:41 
GeneralRe: edit or list box color change Pin
Jeremy Falcon13-Jan-04 6:55
professionalJeremy Falcon13-Jan-04 6:55 
GeneralPrint with MFC Pin
nikoladsp13-Jan-04 6:21
nikoladsp13-Jan-04 6:21 
GeneralMAC address Pin
Jeremy Falcon13-Jan-04 6:07
professionalJeremy Falcon13-Jan-04 6:07 
GeneralRe: MAC address Pin
Joaquín M López Muñoz13-Jan-04 11:15
Joaquín M López Muñoz13-Jan-04 11:15 
GeneralRe: MAC address Pin
Jeremy Falcon13-Jan-04 12:50
professionalJeremy Falcon13-Jan-04 12:50 
QuestionHow to show dialog in a CTabCtrl Pin
AnTri13-Jan-04 5:05
AnTri13-Jan-04 5:05 
GeneralRegQueryValueEx + DWORD problem Pin
Anonymous13-Jan-04 4:54
Anonymous13-Jan-04 4:54 

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.