A file of exemples of struct (exercises, programs, etc) in format .cpp

Does someone have a file with exemples of struct (exercises, programs, etc) in format '.cpp' in your computer or know some site to get it?!

if you have in your computer
please send for my email
i really need to study
i would be very grateful

maerle_araujo@hotmail.com
http://www.cplusplus.com/doc/tutorial/classes/
Class == Struct == Union
Class defaults to private access.
Struct defaults to public access.
Union defaults to public access.
Members in a union share the same memory.
i have already seen that link, but the examples are just demostrations.
i would like programs that are made in tests of universities, book exercises...
examples more progressives.
@L B
Unions are not the same as classes: they can only contain PODs and all the members share the same memory
http://www.cplusplus.com/doc/tutorial/other_data_types/

@Maerle
What exactly are you looking for? If you want non-trivial examples you should read the source of some FLOSS program written in C++
For exemple, last semester i did some exercises of C of a book(how to program in C) and saved it on a folder in the computer.
The exercises were a lot of varied programs that were similar in the university tests, and they good examples to analyze and learn.
Because when i will study structs, unions or classes I just find demonstrations of the structure. But I wanna see the aplications. (A lot of).
Topic archived. No new replies allowed.