Click here to Skip to main content
16,006,535 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: data validation Pin
15-Feb-02 9:42
suss15-Feb-02 9:42 
GeneralRe: data validation Pin
padgyx15-Feb-02 15:14
padgyx15-Feb-02 15:14 
QuestionControl for Icon Editor? Pin
14-Feb-02 12:51
suss14-Feb-02 12:51 
AnswerRe: Control for Icon Editor? Pin
Nish Nishant14-Feb-02 14:22
sitebuilderNish Nishant14-Feb-02 14:22 
GeneralRe: Control for Icon Editor? Pin
Jon Hulatt14-Feb-02 22:16
Jon Hulatt14-Feb-02 22:16 
QuestionHow detect what memory apply/need the app ? Pin
Wizard_0114-Feb-02 11:02
Wizard_0114-Feb-02 11:02 
AnswerRe: How detect what memory apply/need the app ? Pin
Nish Nishant14-Feb-02 11:19
sitebuilderNish Nishant14-Feb-02 11:19 
AnswerRe: How detect what memory apply/need the app ? Pin
Atul Dharne14-Feb-02 14:53
Atul Dharne14-Feb-02 14:53 
Wizard_01 wrote:
I have big array (about 1 000 - 100 000 items) . How can I detect what memory the app occupy ??

For getting memory occupied by array you can use the sizeof operator.
int  array[] = { 100, 200, 300 };     // sizeof( array ) is 12 sizeof(int)=4bytes for 32-bit OS
size_t  sizearr = sizeof( array );


Atul

Sonork 100.13714 netdiva
GeneralModifying HTML-source before displaying it in the browser Pin
User 665814-Feb-02 10:29
User 665814-Feb-02 10:29 
GeneralRe: Modifying HTML-source before displaying it in the browser Pin
moliate15-Feb-02 0:04
moliate15-Feb-02 0:04 
GeneralRe: Modifying HTML-source before displaying it in the browser Pin
15-Feb-02 13:26
suss15-Feb-02 13:26 
Questionthe usage of atol function? Pin
lucy14-Feb-02 9:45
lucy14-Feb-02 9:45 
AnswerRe: the usage of atol function? Pin
lucy14-Feb-02 9:46
lucy14-Feb-02 9:46 
AnswerRe: the usage of atol function? Pin
Nish Nishant14-Feb-02 10:25
sitebuilderNish Nishant14-Feb-02 10:25 
GeneralRe: the usage of atol function? Pin
lucy14-Feb-02 10:29
lucy14-Feb-02 10:29 
GeneralHtmlHelp API questions... Pin
Maximilien14-Feb-02 9:03
Maximilien14-Feb-02 9:03 
GeneralRe: HtmlHelp API questions... Pin
Tim Smith14-Feb-02 12:22
Tim Smith14-Feb-02 12:22 
QuestionTRichEdit1 - text encryption? Pin
14-Feb-02 8:02
suss14-Feb-02 8:02 
AnswerRe: TRichEdit1 - text encryption? Pin
Nish Nishant14-Feb-02 11:21
sitebuilderNish Nishant14-Feb-02 11:21 
GeneralSending text to CHtmlView Pin
Romeozulu14-Feb-02 7:54
Romeozulu14-Feb-02 7:54 
GeneralRe: Sending text to CHtmlView Pin
Nish Nishant14-Feb-02 9:03
sitebuilderNish Nishant14-Feb-02 9:03 
GeneralUsing PRINTER_INFO Pin
Stan the man14-Feb-02 7:39
Stan the man14-Feb-02 7:39 
GeneralRe: Using PRINTER_INFO Pin
Tim Smith14-Feb-02 12:25
Tim Smith14-Feb-02 12:25 
Generaladding and sorting Pin
14-Feb-02 7:29
suss14-Feb-02 7:29 
GeneralRe: adding and sorting Pin
lucy14-Feb-02 9:54
lucy14-Feb-02 9: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.