CoolInterview.com - World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Our Services
Get 9,000 Interview Questions & Answers in an eBook.




Get it now !!
Send your Resume to 6000 Companies
VC++ Interview Questions & Answers - Learning Mode
COOLINTERVIEW.COM MICROSOFT INTERVIEW QUESTIONS VC++ INTERVIEW QUESTIONS QUESTIONS & ANSWERS - LEARNING MODE

VC++ Interview Questions & Answers - Learning Mode

Microsoft Visual C++ (often abbreviated as MSVC or VC++) is an integrated development environment (IDE) product from Microsoft for the C, C++, and C++/CLI programming languages. MSVC is proprietary software; it was originally a standalone product but later became a part of Visual Studio and made available in both trialware and freeware forms. It features tools for developing and debugging C++ code, especially code written for Windows API, DirectX and .NET Framework.

Try VC++ Interview Questions & Answers - Exam Mode

1 2 3 Next

Sort By : Latest First | Oldest First | By Rating

VC++ Interview Questions & Answers - Learning Mode
Try VC++ Interview Questions & Answers - Exam Mode
Question: Name some important features of VC++?

Answer: Some of the important features of VC++ are as follows
1) Smart pointers
2) New containers
3) Expression parsing
4) Polymorphic function wrappers
5) Type traits and sophisticated random number generators. Source: CoolInterview.com
Question: Explain about tuple in visual c++?

Answer: Tuple defines instances of objects in varying types. Declarations, template functions and functions are defines in tuples. In class there are three elements they are tuple class, tuple size Class and tuple element Class are defined in Visual C++. Source: CoolInterview.com
Question: Describe about unordered_map?

Answer: Unordered_map defines container template classes such as unordered map and unordered multimap template. Under declarations unordered map Class and unordered multimap class are defined. These classes store hash table. Source: CoolInterview.com
Question: Array Variable

Answer: August 29th, 2009 by sd | Posted in Uncategorized

#include
#define MAX_ARRAY_VARIABLES 50
#define MAX_VARIABLE_NAME_SZ 25
typedef struct {
char m_czVarName[MAX_VARIABLE_NAME_SZ];
int *pArray;
int iGroup;
int iSize;
}ArrayVariable;

class CVariableMgr
{
public:
CVariableMgr();
~CVariableMgr();
int processArrayVariableDataFile(char *czFile);
int getVariable(char *czName, ArrayVariable& Data);
private:
//
int addVariable(char *czName Source: CoolInterview.com
Question: What is the entry point for window based applications ?

Answer: August 30th, 2009 by sd | Posted in Uncategorized

WinMain()
VC++ FAQ?s And Interview Questions and Answers

Popularity: 6% [?]
Source: CoolInterview.com
Question: What Is CMutex ?

Answer: August 30th, 2009 by sd | Posted in Uncategorized

An object of class CMutex represents a ?mutex? ? a synchronization object that allows one thread mutually exclusive access to a resource. Mutexes are useful when only one thread at a time can be allowed to modify data or some other controlled resource. For example, adding nodes to a linked list is a process that should only be allowed by one thread at a time. By using a CMutex object to control the linked list, only one thread at a time Source: CoolInterview.com
Question: Explain about CWinThread class?

Answer: If you want to provide a window to an application it is imperative to create a thread which can be done using CWinThread. A public member variable is used with CWinThread is m_pMainWnd. The main advantage which you can get when using this thread, it terminates the application without any hassles. Source: CoolInterview.com
Question: Cmd Line Processing

Answer: August 30th, 2009 by sd | Posted in Uncategorized

http://www.codeguru.com/cpp/w-p/win32/article.php/c1427/Code Guru Sample

Popularity: unranked [?]
Source: CoolInterview.com
Question: Describe the role of envelope and letter classes.

Answer: August 20th, 2009 by sd | Posted in Uncategorized

I was actually asked this question at one of my interviews. I guess the single purpose of this question is to paralyze the interviewee. In my case the interviewer has achieved the goal and I am glad I did not pass an interview to that company. The interviewer actually tried to fetch a basic overview of C++ paradigms and design patterns (this envelope/letter paradigm is described in the book of Coplien from 1995) While I do not question t Source: CoolInterview.com
Question: Explain about type_traits?

Answer: Type_traits give information about type arguments and provide compile time constants.
Syntax of type_traits is #include
This function is very useful as it helps during the compile time. Specific extensions are provided which give useful information as to whether an integral constant has a true value or false value. Source: CoolInterview.com
Question: Visual C++

Answer: August 30th, 2009 by sd | Posted in Uncategorized

Discuss Visual C++ Professional developments.
Inteview preparation. Logic efficiency.
VC++ FAQ?s And Interview Questions and Answers

Popularity: 69% [?]
Source: CoolInterview.com
Question: What are all the situations where the /GS compiler is not applied.

Answer: These are the following situations where /GS compiler is not applied.
1) When functions do not contain a buffer
2) When optimizations is not enabled
3) It is obvious when functions are defined to have a variable argument list it cannot create a static cookie. Source: CoolInterview.com
Question: Name some important features of VC++?

Answer: Some of the important features of VC++ are as follows
1) Smart pointers
2) New containers
3) Expression parsing
4) Polymorphic function wrappers
5) Type traits and sophisticated random number generators. Source: CoolInterview.com
Question: What problem does the namespace feature solve?

Answer: August 18th, 2009 by sd | Posted in Uncategorized

Multiple providers of libraries might use common global identifiers causing a name collision when an application tries to link with two or more such libraries. The namespace feature surrounds a library?s external declarations with a unique namespace that eliminates the potential for those collisions.
VC++ FAQ?s And Interview Questions and Answers

Popularity: 38% [?] Source: CoolInterview.com
Question: What is the difference between struct and class?

Answer: There are few differences:
All members of struct are public.
Default inheritance for struct is public, where as for class the default inheritance is private.

Popularity: 77% [?] Source: CoolInterview.com
Question: Redirecting Console Output

Answer: August 30th, 2009 by sd | Posted in Uncategorized

http://www.codeproject.com/threads/redir.asp

Popularity: unranked [?] Source: CoolInterview.com
Question: Discuss about the stack based buffer over run detection in VC++?

Answer: Stack based buffer over run protects the program from executing malicious code. Function epilogue code checks the returned cookie for similarity if there is a mismatch it stops executing the code. It also moves around the stack which makes the data corruption harder. These features are present in Visual C++ 2005. It also mitigates various buffer over runs through memory decrease. Source: CoolInterview.com
Question: Explain about VC++?

Answer: Microsoft visual C++ helps programmers and developers to create windows and .NET based applications. This also helps in developing applications for web, windows based applications, solutions for thin and smart client based mobile devices. It is used for developing applications for windows API, .NET framework, etc. Source: CoolInterview.com
Question: Explain about CFrameWnd?

Answer: MFC has an extensive set of classes present in its library out of which CFrameWnd is one of those. This is a very important class and it is used frequently. User defined classes can be created by CFrameWnd. To create a windows frame CFrameWnd provides class. Source: CoolInterview.com
Question: Explain about InitApplication()?

Answer: To display an output for a certain application programmers have to use InitApplication() method. InitApplication is a Boolean method. This function outputs a true if an application gets succeeded. If it did not succeed it displays a false command. Applications rely on this method to display a certain o/p. Source: CoolInterview.com

1 2 3 Next



India News Network
Latest 20 Questions
Payment of time- barred debt is: (a) Valid (b) Void (c) Illegal (d) Voidable
Consideration is defined in the Indian Contract Act,1872 in: (a) Section 2(f) (b) Section 2(e) (c) Section 2(g) (d) Section 2(d)
Which of the following is not an exception to the rule, "No consideration, No contract": (a) Natural love and affection (b) Compensation for involuntary services (c) Completed gift (d) Agency
Consideration must move at the desire of: (a) The promisor (b) The promisee (c) The promisor or any other party (d) Both the promisor and the promisee
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal
Cache = 0.0625 Seconds