Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Extra libraries, Code snippets, applications etc. » C++ language problems and code snippets » article "Reading C type declarations" for C++ newbies or ignorants like me ;)
Re: article "Reading C type declarations" for C++ newbies or ignorants like me ;) [message #30174 is a reply to message #30171] Mon, 13 December 2010 13:01 Go to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Quote:

char *(*(**foo [][8])())[];
foo is array of array of 8 pointer to pointer to function returning pointer to array of pointer to char
...
We have no idea how this variable is useful, but at least we can describe the type correctly.

Very Happy

Interesting article, cleared thing a bit for me... But I can't imagine someone would voluntarily use variable of type similar to the one quoted above without wrapping it in at least three typedefs Smile

Honza
 
Read Message
Read Message
Previous Topic: Detect when a key is pressed!
Next Topic: Creation of a static .lib with MSC in U++
Goto Forum:
  


Current Time: Mon May 06 18:13:15 CEST 2024

Total time taken to generate the page: 0.01771 seconds