Visual C++
PRACTICE QUIZ
Directions for using Microsoft Visual C++ 2008 Exp…
Windows Socket Faq’s
MFC – Microsoft Foundation Classes, GUI Developmen…
SDI and MDI Applications, Doc/View Architecture
Dialog Based Applications
The workspace, the VC++ IDE, Visual Studio Editor
Sample VC++ Project – Making a Data Viewer
C++ Essentials
Behind the scenes, Handles and Messages
What is COM – Component Object Model ?
Visual Studio 2003 & [...]
About sumedh
Website:
sumedh has written 77 articles so far, you can find them below.
Visual C++ MFC FAQ Part II
Project management Interview Questions
What is project management?
Is spending in IT projects constant through out the project?
Who is a stakeholder ?
Can you explain project life cycle ?
Twist :- How many phases are there in software project ?
Are risk constant through out the project ?
Can you explain different software development [...]
Full Story »Java Architecture Interview Questions
What are design patterns ?
What is the difference between Factory and Abstract Factory Patterns?
What is MVC pattern?
Twist: – How can you implement MVC pattern in Servlets and JSP?
How can we implement singleton pattern in JAVA?
How do you implement prototype pattern in JAVA?
Twist: – How to [...]
Full Story »JNI Interview Questions
What is Native Interface in JAVA?
Can you say in brief steps required to implement Native interfaces in Java?
Can JNI be used for VB6, C# or VB.NET directly?
What are JNI functions and pointers?
How does the garbage collector know JNI objects are no more used?
Twist: – What are the [...]
Full Story »Java XML And Webservices Interview Questions
What is XML?
What is the version information in XML?
What is ROOT element in XML?
If XML does not have closing tag will it work?
Is XML case sensitive?
What is the difference between XML and HTML?
Is XML meant to replace HTML?
Can you explain why your project needed XML?
What is DTD (Document Type [...]
Full Story »Struts Interview Questions
What’s MVC pattern?
Define struts?
Can you explain the directory structure for a struts folder in brief ?
Can you give an overview of how a struts application flows?
Twist: – What are action and action form classes in Struts?
Full Story »In arithmetic operation, byte and short always get promoted to an int ?
While performing an arithmetic operation do byte and short always get promoted to an int.
Consider the following statements:
short i ;
byte a = 3, b = 10 ;
i = a * b ;
This results into an error because as a and b get promoted to ints, on multiplication the result is an int. Since this int [...]
Creating & Adding Custom control to the in-built gallery of controls
Many a times we create a control and need to reuse it in number of other applications. Instead of creating the class having the same functionality or copying the already created classes we can add the created control to the in-built gallery of controls. We can then add this control to the project as and [...]
Full Story »How to overload << operator?
To print the data members of an object along with a proper heading calls for writing considerable code. This can be made more efficient by overloading the extraction operator (<<). Following code shows how to overload the << operator:
#include <iostream.h>
#include <string.h>
class emp
{
private :
char name[25] ;
int age ;
char phone[15] ;
public:
emp ( char *n, int [...]
Creating unique file names
If we are required to create several temporary files naming these files uniquely is a tedious job. How can we do this effectively?
We can use the library function mktemp( ), which generates file names from a given template (base name). This name should be a char array of 13 bytes with the last 6 characters [...]