Quantcast
Channel: Struct Question
Browsing latest articles
Browse All 3 View Live

Struct Question

Quote>How do I declear a function with in the struct? Just to add a footnote to Wyck's excellent and comprehensive answer, bear in mind that in C++ the only difference between a struct and a class...

View Article



Struct Question

Regarding #1: Back in the C days you declared a struct like this:struct Foo {   int x; }; then you declare a variable like this:struct tagFoo foo1; since people hated typing the "struct" keyword, they...

View Article

Struct Question

1. what is the defference between typedef struct and struct?2. How do I declear a function with in the struct?    It is just a simple compare function that returns a bool indicating whether the fields...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images