5. .http://interviewhelper.blogspot.ca/2007/07/c-interview-questions_05.html
I realized the best way to keep track of everything is keeping a online journal which I will never lose
Tuesday, March 13, 2012
Saturday, March 10, 2012
typedef in C++
typedef: We can define our own type and it in the program.
syntax: typedef existing_type new_type_name ;
For example:
typedef int number;
typedef char* pchar;
typedef double[10] dblenum;
Now we can use them as follows
number a;
pchar ptch2;
dblenum money;
When to use it:
- Can be used as alias of frequent used types
- also useful when change type later version
- Shorter name of long and confusing name
Thursday, March 8, 2012
C++ Books and References
Top 5 books
Top 5 Sites for Tutorials
Top 5 Slide Tutorials
- C++ Program Design: Third Edition Resources
Top 5 Area to improve:
Variable
- · Initialize variables
- · Null pointer Exceptions
Pointer
Class
- Abstract class
- Inheritance
- Polymorphism
- Overloading/Overriding
- Virtual function
- Pure virtual Function
Threading
- How do we manage threading in C++
- Write a program that thread on different things
- http://randu.org/tutorials/threads/#resources
- http://www.bogotobogo.com/cplusplus/multithreaded.php
Subscribe to:
Posts (Atom)