Click here to Skip to main content
15,888,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionMFC or ActiveX equivalent control to VB Dirlist control Pin
srimayank11_codeproject11-Jan-06 2:02
srimayank11_codeproject11-Jan-06 2:02 
QuestionHow to crash my programe before main()? Pin
vikas amin11-Jan-06 0:51
vikas amin11-Jan-06 0:51 
AnswerRe: How to crash my programe before main()? Pin
Anilkumar K V11-Jan-06 1:01
Anilkumar K V11-Jan-06 1:01 
GeneralRe: How to crash my programe before main()? Pin
vikas amin11-Jan-06 1:51
vikas amin11-Jan-06 1:51 
AnswerWorks for programs written in any language! Pin
Taka Muraoka11-Jan-06 1:02
Taka Muraoka11-Jan-06 1:02 
AnswerRe: How to crash my programe before main()? Pin
lemur211-Jan-06 1:41
lemur211-Jan-06 1:41 
GeneralRe: How to crash my programe before main()? Pin
vikas amin11-Jan-06 1:54
vikas amin11-Jan-06 1:54 
AnswerRe: How to crash my programe before main()? Pin
Rajesh R Subramanian11-Jan-06 1:47
professionalRajesh R Subramanian11-Jan-06 1:47 
1. Get yourself a sledge hammer
2. Take a deep breath
3. Swing the hammer back and give the program (The display, where it is being shown) a merciless blow.
4. The program should have crashed by now.

Big Grin | :-D This is a code sample

<br />
#include<iostream><br />
using namespace std;<br />
<br />
class GoGoGo<br />
{<br />
  public:<br />
    GoGoGo() <br />
    { <br />
      cout << "This runs first!";<br />
      //put ur code to crash the program here..<br />
    } BeFirst;<br />
}<br />
<br />
int main()<br />
{<br />
  cout << "Main is second :(";<br />
  return 0;<br />
}<br />


Google for interview questions and u will find a lot of stuff. I learned this from google some months back.

Regards,
Rajesh R. Subramanian

You have an apple and me too. We exchange those and We have an apple each.
You have an idea and me too. We exchange those and We have two ideas each.

GeneralRe: How to crash my programe before main()? Pin
vikas amin11-Jan-06 1:51
vikas amin11-Jan-06 1:51 
GeneralRe: How to crash my programe before main()? Pin
lemur211-Jan-06 1:55
lemur211-Jan-06 1:55 
GeneralRe: How to crash my programe before main()? Pin
sunit511-Jan-06 3:24
sunit511-Jan-06 3:24 
GeneralRe: How to crash my programe before main()? Pin
Rajesh R Subramanian11-Jan-06 19:37
professionalRajesh R Subramanian11-Jan-06 19:37 
AnswerRe: How to crash my programe before main()? Pin
Cedric Moonen11-Jan-06 1:59
Cedric Moonen11-Jan-06 1:59 
GeneralRe: How to crash my programe before main()? Pin
sunit511-Jan-06 3:21
sunit511-Jan-06 3:21 
GeneralRe: How to crash my programe before main()? Pin
vikas amin11-Jan-06 19:36
vikas amin11-Jan-06 19:36 
AnswerRe: How to crash my programe before main()? Pin
vipinasda11-Jan-06 6:41
vipinasda11-Jan-06 6:41 
GeneralRe: How to crash my programe before main()? Pin
vikas amin11-Jan-06 19:34
vikas amin11-Jan-06 19:34 
GeneralRe: How to crash my programe before main()? Pin
Rajesh R Subramanian11-Jan-06 19:39
professionalRajesh R Subramanian11-Jan-06 19:39 
QuestionHow to access object of a class declared in one file from another file? Pin
Amarelia11-Jan-06 0:49
Amarelia11-Jan-06 0:49 
AnswerRe: How to access object of a class declared in one file from another file? Pin
Owner drawn11-Jan-06 1:00
Owner drawn11-Jan-06 1:00 
GeneralRe: How to access object of a class declared in one file from another file? Pin
Amarelia11-Jan-06 1:23
Amarelia11-Jan-06 1:23 
GeneralRe: How to access object of a class declared in one file from another file? Pin
Owner drawn11-Jan-06 1:32
Owner drawn11-Jan-06 1:32 
GeneralRe: How to access object of a class declared in one file from another file? Pin
sunit511-Jan-06 3:31
sunit511-Jan-06 3:31 
QuestionEvent Notifications Pin
Anil_vvs11-Jan-06 0:02
Anil_vvs11-Jan-06 0:02 
AnswerRe: Event Notifications Pin
Anilkumar K V11-Jan-06 1:02
Anilkumar K V11-Jan-06 1:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.