R
raghunandan_1081
Hi guys, can you please tell me what is the Difference between c
structure and c++ structure
structure and c++ structure
Hi guys, can you please tell me what is the Difference between c
structure and c++ structure
None of the eight questions in page under FAQ link match question
asked, in my opinion. I suppose you could interpret the OP's question
to be a comparison between C struct and C++ class, but I read OP's
question as a comparison between C struct and C++ struct.
One difference between C struct and C++ struct is that C++ struct can
have methods inside. Another difference is that parts of C++ struct
can be "hidden" by being made private.
default access (public for struct, private for class), the explanation in
"what is a class" together with "what's the difference between the keywords
struct and class" should answer the question of the OP (assuming the OP
knows C structs).
Hi guys, can you please tell me what is the Difference between c
structure and c++ structure
The syntax for using a struct is different in C than C++.
In C++ struct is a type, and can be referred to much like an int. Not so in
C.
Actually it is also a type, except that you have to prefix every use
of the name with the keyword "struct" unless you declare it as a
typedef.
Hi guys, can you please tell me what is the Difference between c
structure and c++ structure
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.