Click here to Skip to main content
15,888,908 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: OpenGL in an SDI app..! Pin
Alexander M.,15-Jan-04 5:32
Alexander M.,15-Jan-04 5:32 
GeneralRe: OpenGL in an SDI app..! Pin
Halloko15-Jan-04 5:49
Halloko15-Jan-04 5:49 
GeneralRe: OpenGL in an SDI app..! Pin
LunaticFringe15-Jan-04 6:11
LunaticFringe15-Jan-04 6:11 
GeneralRe: OpenGL in an SDI app..! Pin
Halloko15-Jan-04 7:35
Halloko15-Jan-04 7:35 
GeneralRe: OpenGL in an SDI app..! Pin
LunaticFringe15-Jan-04 8:16
LunaticFringe15-Jan-04 8:16 
Generalfunction with multiple arguments Pin
hdaly15-Jan-04 2:11
hdaly15-Jan-04 2:11 
GeneralRe: function with multiple arguments Pin
Michael P Butler15-Jan-04 2:26
Michael P Butler15-Jan-04 2:26 
GeneralRe: function with multiple arguments Pin
Michael Dunn15-Jan-04 5:09
sitebuilderMichael Dunn15-Jan-04 5:09 
hdaly wrote:
So, can I pass just the array, and work out the number of elements inside the function??

Not when using a plain array. Because you can't pass a whole array to a function, just a pointer to the first element, the way you have it now is the correct way. The alternative is to use an STL vector or other container that knows its size.

--Mike--
Ericahist | CP SearchBar v2.0.2 | Homepage | 1ClickPicGrabber New v2.0! | RightClick-Encrypt
Actual sign at the laundromat I go to: "No tinting or dying."
Generalto lock an application Pin
Idefix15-Jan-04 1:41
Idefix15-Jan-04 1:41 
GeneralRe: to lock an application [modified] Pin
Marek Grzenkowicz15-Jan-04 4:17
Marek Grzenkowicz15-Jan-04 4:17 
GeneralRe: to lock an application Pin
Idefix15-Jan-04 5:01
Idefix15-Jan-04 5:01 
GeneralRe: to lock an application Pin
Diddy15-Jan-04 5:37
Diddy15-Jan-04 5:37 
GeneralRe: to lock an application Pin
Rage15-Jan-04 7:42
professionalRage15-Jan-04 7:42 
GeneralRe: to lock an application Pin
David Crow15-Jan-04 7:49
David Crow15-Jan-04 7:49 
GeneralRe: to lock an application Pin
Idefix22-Jan-04 0:37
Idefix22-Jan-04 0:37 
GeneralRe: to lock an application Pin
Idefix22-Jan-04 1:47
Idefix22-Jan-04 1:47 
QuestionCapture LButtonUp in a CListBox ?? Pin
jwd15-Jan-04 0:38
jwd15-Jan-04 0:38 
AnswerRe: Capture LButtonUp in a CListBox ?? Pin
Vladimir Georgiev15-Jan-04 0:51
Vladimir Georgiev15-Jan-04 0:51 
GeneralRe: Capture LButtonUp in a CListBox ?? Pin
Diddy15-Jan-04 5:54
Diddy15-Jan-04 5:54 
Generalthe problem of mscomm32.ocx and vc++ Pin
anders_zhou15-Jan-04 0:26
anders_zhou15-Jan-04 0:26 
Generalload bitmap to dialog Pin
Member 64882815-Jan-04 0:17
Member 64882815-Jan-04 0:17 
GeneralIHTMLWindow4 Pin
Monty215-Jan-04 0:07
Monty215-Jan-04 0:07 
GeneralRe: IHTMLWindow4 Pin
Prakash Nadar15-Jan-04 1:16
Prakash Nadar15-Jan-04 1:16 
GeneralResolving NetBIOS name for IP address Pin
---Ranger---14-Jan-04 23:53
---Ranger---14-Jan-04 23:53 
GeneralRe: Resolving NetBIOS name for IP address Pin
Alexander M.,15-Jan-04 5:27
Alexander M.,15-Jan-04 5:27 

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.