Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

MFC Interview Questions

Posted on 2001-06-07
6
3,090 Views
Last Modified: 2013-11-25
I'm going on an interview and I need to brush up on my MFC.  Does anyone know a web site where I can get some good interview questions? - Thanks.

0
Comment
Question by:rscandiffio
6 Comments
 
LVL 1

Expert Comment

by:hsdhina
ID: 6165178
msdn.microsoft.com
0
 

Author Comment

by:rscandiffio
ID: 6165245
I am looking for interview type questions, NOT information on MFC programming.
0
 
LVL 3

Accepted Solution

by:
GlennDean earned 50 total points
ID: 6165420
As weird as this sounds, if you're going for an MFC job spend 90% of your time brushing up on C++ and 10% on MFC.  I've been to too many interviews and all they ask are C++ questions.  Here's a list of interview questions I've gotten:
1.  Describe polymorphism in your own words and give an example
2.  What's the difference between an inline function and a macro?  When would you use one versus the other?
3.  What 3 functions must all interfaces support?
4.  Write the code to reverse the elements in an array
5.  What's the difference between PostMessage and SendMessage?
6.  What advantages and disadvantages are there to templates?
7.  How do you create a splinter window?
8.  What is the difference between an inner join and an outer join?
9.  What is a critical section and how is it implemented?
10.  Given two processes, how can they share memory?
11.  What's the difference between an STA and MTA?
12.  Describe the Document/View architecture
13.  If you use multiple inheritance, how does the vtable work?
14.  In COM, what type of threading model has a message pump?
15.  What is the difference between putting the initialization of an object in the initialization part of the constructor versus in the body of the constructor?
16.  When would you use a reference versus a pointer?

   Glenn
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 2

Expert Comment

by:MadYugoslav
ID: 6166958
0
 
LVL 3

Expert Comment

by:GlennDean
ID: 6168127
Here's a good one I forgot, and it's actually an MFC question:
If you have a menu and both the view and the mainframe handle the menu item, who's handler executes?  When that handler executes, does the other handler execute or not?

Another one I got was: Why would you make the CTOR private?
0
 

Author Comment

by:rscandiffio
ID: 6168208
Thanks GlennDean.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
no14 challenge 14 70
Runtime error 76: path not found error VB6 program on Windows 7 3 536
Change to event 1 117
"Video DataSource is Offline or not responding"  - why? 1 68
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

789 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question