Of small applications lacks a variety of features

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ariety of features GLUI Very C way to do things (C++ is better (will get to that later...)) For personal projects use Qt C++ and Object Oriented Super popular (all KDE programs) Signal/Slots are really nice QML We won’t be using this in this class Michael Tao CSC418: Computer Graphics Tutorial 1 September 20, 2012 9 / 31 C++ Quick Introduction Incredibly Complicated Language Lots of nice features piled ontop of each other Definitely not C Object Orientation References const Correctness Templates (Generics) Combination of things seen in C and Java Do you guys want to hear about this? Michael Tao CSC418: Computer Graphics Tutorial 1 September 20, 2012 10 / 31 C++: Classes Basically structs with member functions Difference is default privacy Different syntax for accessing depending on context Constructors and Destructors Michael Tao CSC418: Computer Graphics Tutorial 1 September 20, 2012 11 / 31 C++: Classes struct Foo () { Foo ( int a_ =0) : a ( a_ ) {} int f () { return 1;} int a ; static int g () { return 3;} } class Bar () { public : Bar () : myfoo ( new Foo (4) ) {} ~ Bar () { delete myfoo ;} Foo * myfoo ; int g () { return -1;} } Foo foo ; Bar * bar_ptr = new Bar () ; bar_ptr - > myfoo . a = foo . f () ; foo . a = bar_ptr - &...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern