December 4, 2008
Debugging references
http://advancedwindowsdebugging.com/
http://msdn.microsoft.com/hi-in/library/cc266544(en-us).aspx
http://www.dumpanalysis.org/blog/
http://www.nynaeve.net/
http://www.debugtricks.com/?cat=37
October 14, 2008
Interview Questions
2)Features of OOPS
3)Initilizaion List in C++
4)Types of Constructors
5)return type of constructor
6)copy constructor and assignment opertrator
7)Explicit constructor
8)Mutable keyword
9)Use of extern
10)Casting Dynamic cast and static cast
11)difference in mutable and static cast
12)Type of overloading
13)Virtual function
14)use of VTable
15)Abstract Class
16)destructor be virtual?
17)volatile qualifier
18) SafeArrays
19)Object Slicing
20)Polymorphic class
21)A persistent varible
22) Size of class with declaration of virtual function and without declaration of any function
23) #Pragma
24)Inline and Macro
=============================
STL
Vectors
List
Deque
Sets
MAp
Dynamic Function with Argument like printf
What is the difference between a ‘thread’ and a ‘process’?
How to prevent memory leaks
=================================
Two processes can share memory in a number of ways.
1. Memory-mapped files
2. Shared memory segments
3. Message queues
4. Named pipes
what is OSI model and Layer of Model
IPC mechanisms are supported by Windows:
Clipboard ,COM ,Data Copy ,DDE ,File Mapping ,Mailslots ,Pipes ,RPC ,Windows Sockets .
type of pipes
type of socket
type of protocol
version of protocol
method in client side and method of server side
what is COM and DCOM
basic method of COM
WMI Process
====================================================================================
MFC
what do mean by AFX
Model and modelless dialog how to create
Document/View Articture
difference between DDE/DDX
September 17, 2008
Debug v/s Release mode
Follow these rules:
Rule 1: Always regularly test both the Debug and Release mode versions of your applications.
Rule 2: Never classify a problem as a Debug -Vs- Release mode problem unless you've tried both versions on several different machines.
Rule 3: Be very cautious that you dont place code that must be executed in a place where it will be compiled out in release mode.
Rule 4: Never assume that your variables are initialized unless you've explicitly initialized them in your code. This includes global variables, automatic variables, malloced data, and newed data.
Rule 5: When you start a project turn the warning level to "Level 3" or "Level 4" and make sure your code compiles with no warnings before you check your code in.
Rule 6: Make sure all references to resources are removed when you delete them from your resource file. This includes references in resource.h.
http://www.codeguru.com/cpp/v-s/debug/article.php/c1259/
http://www.codeproject.com/KB/debug/survivereleasever.aspx
http://www.codeproject.com/KB/debug/releasemode.aspx
September 8, 2008
July 30, 2008
C++ References
C++ reference: http://www.cppreference.com/
Other language references: http://www.cppreference.com/links.html