Click here to Skip to main content
15,916,683 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to convert RVA to File Offset in a PE file? Pin
Garth J Lancaster27-Jan-09 22:35
professionalGarth J Lancaster27-Jan-09 22:35 
GeneralRe: How to convert RVA to File Offset in a PE file? Pin
Joseph Marzbani28-Jan-09 3:33
Joseph Marzbani28-Jan-09 3:33 
QuestionFile handling in DLL. Pin
sam_psycho27-Jan-09 21:44
sam_psycho27-Jan-09 21:44 
AnswerRe: File handling in DLL. Pin
«_Superman_»27-Jan-09 22:19
professional«_Superman_»27-Jan-09 22:19 
GeneralRe: File handling in DLL. Pin
Rajesh R Subramanian28-Jan-09 5:29
professionalRajesh R Subramanian28-Jan-09 5:29 
GeneralRe: File handling in DLL. Pin
«_Superman_»28-Jan-09 17:09
professional«_Superman_»28-Jan-09 17:09 
QuestionBest way to pass arguments into a method Pin
CodingLover27-Jan-09 21:32
CodingLover27-Jan-09 21:32 
AnswerRe: Best way to pass arguments into a method Pin
epitalon27-Jan-09 21:47
epitalon27-Jan-09 21:47 
In my opinion, both methods are good.
I would prefer the first one, because it involves less copy operations.
As long as there is a fixed low number of integers to pass to the called procedure, the fist one is the best.
If the number of integers is variable, the second one is better.

An intermediate method would be:

int arr[6];
arr[0] = 1;
arr[1] = 2;
arr[2] = 3;
arr[3] = 4;
arr[4] = 5
arr[5] = 6;

NemMwthod(arr, buffer);

AnswerRe: Best way to pass arguments into a method Pin
Rahul Vaishnav27-Jan-09 21:49
Rahul Vaishnav27-Jan-09 21:49 
AnswerRe: Best way to pass arguments into a method Pin
CPallini27-Jan-09 21:50
mveCPallini27-Jan-09 21:50 
NewsRe: Best way to pass arguments into a method Pin
CodingLover27-Jan-09 22:23
CodingLover27-Jan-09 22:23 
GeneralRe: Best way to pass arguments into a method Pin
CPallini27-Jan-09 22:27
mveCPallini27-Jan-09 22:27 
NewsRe: Best way to pass arguments into a method Pin
CodingLover27-Jan-09 22:31
CodingLover27-Jan-09 22:31 
GeneralRe: Best way to pass arguments into a method Pin
CPallini27-Jan-09 22:39
mveCPallini27-Jan-09 22:39 
NewsRe: Best way to pass arguments into a method Pin
CodingLover27-Jan-09 22:47
CodingLover27-Jan-09 22:47 
AnswerRe: Best way to pass arguments into a method Pin
«_Superman_»27-Jan-09 22:25
professional«_Superman_»27-Jan-09 22:25 
QuestionRe: Best way to pass arguments into a method Pin
CodingLover27-Jan-09 22:31
CodingLover27-Jan-09 22:31 
AnswerRe: Best way to pass arguments into a method Pin
«_Superman_»27-Jan-09 22:42
professional«_Superman_»27-Jan-09 22:42 
GeneralRe: Best way to pass arguments into a method Pin
C Change28-Jan-09 0:44
C Change28-Jan-09 0:44 
Questionhexadecimal Pin
aswd27-Jan-09 20:56
aswd27-Jan-09 20:56 
AnswerRe: hexadecimal Pin
Hamid_RT27-Jan-09 21:15
Hamid_RT27-Jan-09 21:15 
AnswerRe: hexadecimal Pin
CPallini27-Jan-09 21:18
mveCPallini27-Jan-09 21:18 
GeneralRe: hexadecimal Pin
aswd27-Jan-09 21:20
aswd27-Jan-09 21:20 
AnswerRe: hexadecimal Pin
Cedric Moonen27-Jan-09 21:28
Cedric Moonen27-Jan-09 21:28 
QuestionVisual C++ Pin
aswd27-Jan-09 20:47
aswd27-Jan-09 20:47 

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.