Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C++ > Function parameter in: "void __cdecl Function(class Class1 *,float const (* const)[4]);"

Reply
Thread Tools

Function parameter in: "void __cdecl Function(class Class1 *,float const (* const)[4]);"

 
 
Polanski24
Guest
Posts: n/a
 
      04-11-2005
Hello!

Above function prototype is result of call to UnDecorateSymbolName
Win32 API function. My problem is that I am not sure how to understand
syntax of second parameter:
"float const (* const)[4]".
Any hints will be greatly appreciated.

Cheers,

Jacek

 
Reply With Quote
 
 
 
 
Rolf Magnus
Guest
Posts: n/a
 
      04-11-2005
Polanski24 wrote:

> Hello!
>
> Above function prototype is result of call to UnDecorateSymbolName
> Win32 API function. My problem is that I am not sure how to understand
> syntax of second parameter:
> "float const (* const)[4]".
> Any hints will be greatly appreciated.


It's a constant pointer to a constant array of 4 float.

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Autoconvert object from one class1 to other class2 in class1 def Luk Mus Ruby 6 04-05-2011 12:56 PM
const vector<A> vs vector<const A> vs const vector<const A> Javier C++ 2 09-04-2007 08:46 PM
class namespace1::namespace2::class1; v4vijayakumar C++ 8 06-20-2007 08:46 AM
Casting class1<class2> to class1<class3 > Andy Lomax C++ 3 06-27-2005 07:06 PM
cannot convert parameter from 'double (double)' to 'double (__cdecl *)(double)' error Sydex C++ 12 02-17-2005 06:30 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57