Click here to Skip to main content
15,913,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Help me please Pin
David Crow19-Dec-06 2:54
David Crow19-Dec-06 2:54 
Questionprepared sql statement Pin
onlyformfc@gmail.com19-Dec-06 0:47
onlyformfc@gmail.com19-Dec-06 0:47 
QuestionCreate & set formula field in crystal report using VC++ Pin
Karismatic19-Dec-06 0:02
Karismatic19-Dec-06 0:02 
QuestionMax. value of array in Windows 32 system Pin
cy163@hotmail.com18-Dec-06 23:51
cy163@hotmail.com18-Dec-06 23:51 
AnswerRe: Max. value of array in Windows 32 system Pin
CPallini19-Dec-06 0:03
mveCPallini19-Dec-06 0:03 
GeneralRe: Max. value of array in Windows 32 system Pin
Jörgen Sigvardsson19-Dec-06 0:05
Jörgen Sigvardsson19-Dec-06 0:05 
GeneralRe: Max. value of array in Windows 32 system Pin
CPallini19-Dec-06 0:13
mveCPallini19-Dec-06 0:13 
AnswerRe: Max. value of array in Windows 32 system [modified] Pin
Jörgen Sigvardsson19-Dec-06 0:05
Jörgen Sigvardsson19-Dec-06 0:05 
It all depends on how much memory you've got, how wide your address bus is, and the datatype of your array. If you have 32 bit addresses, and your array is char, the maximum array index would be (2^32 / sizeof(char)) - 1. If it's an array of short, the maximum index would be (2^32 / sizeof(short)) - 1. If your address bus is 64 bits wide, it would be (2^64 / sizeof(short)) - 1.

It all boils down to how much memory the array needs, and how much free memory you've got (virtual memory).

Last modified: 9hrs 31mins after originally posted --


--
Verletzen zerfetzen zersetzen zerstören
Doch es darf nicht mir gehören
Ich muss zerstören

GeneralRe: Max. value of array in Windows 32 system Pin
Mark Salsbery19-Dec-06 7:45
Mark Salsbery19-Dec-06 7:45 
GeneralRe: Max. value of array in Windows 32 system Pin
Jörgen Sigvardsson19-Dec-06 9:37
Jörgen Sigvardsson19-Dec-06 9:37 
Questionhi how to find no of files in a folder Pin
chethu66518-Dec-06 23:43
chethu66518-Dec-06 23:43 
AnswerRe: hi how to find no of files in a folder Pin
_AnsHUMAN_ 18-Dec-06 23:47
_AnsHUMAN_ 18-Dec-06 23:47 
GeneralRe: hi how to find no of files in a folder Pin
Hamid_RT19-Dec-06 0:16
Hamid_RT19-Dec-06 0:16 
AnswerRe: hi how to find no of files in a folder Pin
Sonny Aman18-Dec-06 23:56
Sonny Aman18-Dec-06 23:56 
GeneralRe: hi how to find no of files in a folder Pin
Sonny Aman19-Dec-06 0:00
Sonny Aman19-Dec-06 0:00 
AnswerRe: hi how to find no of files in a folder Pin
Abhijeet Rajput19-Dec-06 0:20
Abhijeet Rajput19-Dec-06 0:20 
AnswerRe: hi how to find no of files in a folder [modified] Pin
Abhijeet Rajput19-Dec-06 0:33
Abhijeet Rajput19-Dec-06 0:33 
QuestionHow can I refuse active document change in MDI ? Pin
Sonny Aman18-Dec-06 23:33
Sonny Aman18-Dec-06 23:33 
QuestionDisplay thumbnail in Dialog Pin
Wim Engberts18-Dec-06 22:58
Wim Engberts18-Dec-06 22:58 
AnswerRe: Display thumbnail in Dialog Pin
Sonny Aman18-Dec-06 23:40
Sonny Aman18-Dec-06 23:40 
AnswerRe: Display thumbnail in Dialog Pin
Hamid_RT19-Dec-06 0:18
Hamid_RT19-Dec-06 0:18 
Questionhow to use directshow to build that graph?? Pin
selectgood18-Dec-06 22:12
selectgood18-Dec-06 22:12 
AnswerRe: how to use directshow to build that graph?? Pin
Mark Salsbery19-Dec-06 8:18
Mark Salsbery19-Dec-06 8:18 
GeneralRe: how to use directshow to build that graph?? Pin
selectgood19-Dec-06 21:53
selectgood19-Dec-06 21:53 
GeneralRe: how to use directshow to build that graph?? Pin
Mark Salsbery20-Dec-06 5:18
Mark Salsbery20-Dec-06 5:18 

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.