This is a discussion on Difference between "C structure" and "C++ structure". within the C and C++ Programming forums, part of the Software Development category; can any one tell me Difference between "C structure" and "C++ structure"?...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| The defination of the structure in C is limited to within the module and cannot be initialized outside its scope. Where as in C++ you can initialize the objects anywhere within the boundaries of the project. |
| |||
| There is one big differnce between them in c you cannot (we) define any function within the structure but in C++ you can define function within the structure (it also act as a class) try it and reply me if it matters you
__________________ SeeSamJagan- Sky is not the "LIMIT", Death is not the END, There is still something beyond.... |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| I keep getting "Data Missing" when I click the "back" button in my browser. How can I | oxygen | HTML, CSS and Javascript Coding Techniques | 1 | 07-28-2007 01:12 AM |
| Why do I get "HTTP 500" error(or "(DLL)initialization routine failed")in my browser? | kingmaker | ASP and ASP.NET Programming | 1 | 07-20-2007 04:38 AM |
| Difference between "APPLET" and "APPLICATION" | prasath | Java Programming | 1 | 07-17-2007 07:51 AM |
| Difference between "C structure" and "C++ structure". | vigneshgets | C and C++ Programming | 1 | 07-17-2007 01:11 AM |
| Difference between a "assignment operator" and a "copy constructor"? | vigneshgets | C and C++ Programming | 2 | 07-12-2007 05:30 AM |