Click here to Skip to main content
15,887,214 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: how to convert images through C++ Pin
enhzflep1-May-11 7:35
enhzflep1-May-11 7:35 
GeneralRe: how to convert images through C++ Pin
Rajesh R Subramanian1-May-11 9:15
professionalRajesh R Subramanian1-May-11 9:15 
AnswerRe: how to convert images through C++ Pin
jeff61-May-11 11:59
jeff61-May-11 11:59 
AnswerRe: how to convert images through C++ Pin
«_Superman_»1-May-11 16:46
professional«_Superman_»1-May-11 16:46 
AnswerRe: how to convert images through C++ Pin
Cool_Dev1-May-11 19:15
Cool_Dev1-May-11 19:15 
AnswerRe: how to convert images through C++ Pin
Chris Losinger2-May-11 15:05
professionalChris Losinger2-May-11 15:05 
Question'x' bit OS Pin
Pranit Kothari1-May-11 2:21
Pranit Kothari1-May-11 2:21 
AnswerRe: 'x' bit OS PinPopular
«_Superman_»1-May-11 3:00
professional«_Superman_»1-May-11 3:00 
Basically, the OS bitness has to do with the address range that the OS can use.
Considering a flat address space, 16-bit OSs can use addresses from 0 to 65536 (2 to the power 16).
Similarily for 32-bit OS it will be 0 to 4294967296 (4 GB) and for 64-bit OS it will be 0 to 18446744073709551616 (whatever).

This means as the bitness increases, the OS can handle more code and data.

The processor also needs to be matched for bitness.
This means, a 32-bit processor cannot host a 64-bit OS.
But a 64-bit processor can host a 64-bit, 32-bit or 16-bit OS.
This is because the internal storage of the processor (registers) must be wide enough.

In the case of intel processors, 16-bit processors have 16-bit registers like AX, BX, CX, DX etc.
32-bit processors have 32-bit registers like EAX, EBX, ECX, EDX etc.
And 64-bit processors have 64-bit registers like RAX, RBX, RCX, RDX etc.

This is why the size of data types like int changes.

However, for 64-bit Windows, the size of int is still 32-bit.
«_Superman 
I love work. It gives me something to do between weekends.


Microsoft MVP (Visual C++)

Polymorphism in C

GeneralRe: 'x' bit OS Pin
Pranit Kothari1-May-11 3:14
Pranit Kothari1-May-11 3:14 
GeneralRe: 'x' bit OS Pin
Pranit Kothari10-May-11 22:40
Pranit Kothari10-May-11 22:40 
GeneralRe: 'x' bit OS Pin
«_Superman_»10-May-11 22:59
professional«_Superman_»10-May-11 22:59 
Questionproblem Pin
hmaz462930-Apr-11 23:49
hmaz462930-Apr-11 23:49 
AnswerRe: problem Pin
Rajesh R Subramanian1-May-11 0:01
professionalRajesh R Subramanian1-May-11 0:01 
AnswerRe: problem Pin
«_Superman_»1-May-11 2:16
professional«_Superman_»1-May-11 2:16 
Questionlinked list adding operation with two structure type Pin
quartaela30-Apr-11 3:42
quartaela30-Apr-11 3:42 
AnswerRe: linked list adding operation with two structure type Pin
Luc Pattyn30-Apr-11 4:22
sitebuilderLuc Pattyn30-Apr-11 4:22 
GeneralRe: linked list adding operation with two structure type Pin
quartaela30-Apr-11 5:13
quartaela30-Apr-11 5:13 
AnswerRe: linked list adding operation with two structure type Pin
Luc Pattyn30-Apr-11 5:36
sitebuilderLuc Pattyn30-Apr-11 5:36 
AnswerRe: linked list adding operation with two structure type Pin
Andrew Phillips30-Apr-11 5:17
Andrew Phillips30-Apr-11 5:17 
GeneralRe: linked list adding operation with two structure type Pin
quartaela30-Apr-11 5:35
quartaela30-Apr-11 5:35 
GeneralRe: linked list adding operation with two structure type Pin
Andrew Phillips30-Apr-11 5:59
Andrew Phillips30-Apr-11 5:59 
AnswerRe: linked list adding operation with two structure type Pin
Luc Pattyn30-Apr-11 6:10
sitebuilderLuc Pattyn30-Apr-11 6:10 
GeneralRe: linked list adding operation with two structure type Pin
quartaela30-Apr-11 8:03
quartaela30-Apr-11 8:03 
GeneralRe: linked list adding operation with two structure type Pin
Luc Pattyn30-Apr-11 8:10
sitebuilderLuc Pattyn30-Apr-11 8:10 
GeneralRe: linked list adding operation with two structure type Pin
quartaela30-Apr-11 8:16
quartaela30-Apr-11 8:16 

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.