Click here to Skip to main content
15,909,530 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all,

C++
static const struct a b[] = {
   
                {"abc", 0},
                {},

        };
can any one tell me what does it mean and also what is constant structure?


Thanks
shan
Posted
Updated 27-Feb-13 21:36pm
v2

1 solution

a struct is a user defined data set somehow a class without any function.
Constant means you cant change it.

Please read some basic stuff about the C-Language like "C++ for Dummies"

-> http://www.amazon.com/Beginning-Programming-C-For-Dummies/dp/0470617977
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900