Click here to Skip to main content
15,886,110 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionrequired equivalent VC++ MFC functions ordinal number Pin
Member 372149115-Jun-09 20:01
Member 372149115-Jun-09 20:01 
AnswerRe: required equivalent VC++ MFC functions ordinal number Pin
«_Superman_»15-Jun-09 20:14
professional«_Superman_»15-Jun-09 20:14 
QuestionReg. Error C2440 in visual studio 2008.... Pin
Rakesh515-Jun-09 19:44
Rakesh515-Jun-09 19:44 
AnswerRe: Reg. Error C2440 in visual studio 2008.... Pin
«_Superman_»15-Jun-09 19:51
professional«_Superman_»15-Jun-09 19:51 
AnswerRe: Reg. Error C2440 in visual studio 2008.... Pin
Stuart Dootson15-Jun-09 22:05
professionalStuart Dootson15-Jun-09 22:05 
QuestionPreTranslateMessage in ActiveX Control Class Pin
Nishad S15-Jun-09 19:43
Nishad S15-Jun-09 19:43 
QuestionFunction Call in C++ (Newbie question) Pin
Rajdeep.NET15-Jun-09 18:46
Rajdeep.NET15-Jun-09 18:46 
AnswerRe: Function Call in C++ (Newbie question) Pin
«_Superman_»15-Jun-09 18:55
professional«_Superman_»15-Jun-09 18:55 
#include <stdio.h>

namespace ConsoleApplication1
{
  class Program
  {
  public:
    void function01()
    {
      printf("Hi, I am function 01, now calling function 02\n"); // Prints message
      function02(); // calls function02
    }

    void function02()
    {
      function01(); // calls function01
    }
  };
}

void main()
{
  ConsoleApplication1::Program p;
  p.function01();
}


The behavior would be exactly the same.
It will do function calls recursively and die with a stack overflow.

«_Superman
I love work. It gives me something to do between weekends.

GeneralRe: Function Call in C++ (Newbie question) Pin
Rajdeep.NET15-Jun-09 19:26
Rajdeep.NET15-Jun-09 19:26 
GeneralRe: Function Call in C++ (Newbie question) Pin
«_Superman_»15-Jun-09 19:29
professional«_Superman_»15-Jun-09 19:29 
GeneralRe: Function Call in C++ (Newbie question) Pin
Rajdeep.NET15-Jun-09 20:42
Rajdeep.NET15-Jun-09 20:42 
GeneralRe: Function Call in C++ (Newbie question) Pin
«_Superman_»15-Jun-09 22:31
professional«_Superman_»15-Jun-09 22:31 
GeneralRe: Function Call in C++ (Newbie question) Pin
Rajdeep.NET15-Jun-09 23:56
Rajdeep.NET15-Jun-09 23:56 
GeneralRe: Function Call in C++ (Newbie question) Pin
«_Superman_»16-Jun-09 0:00
professional«_Superman_»16-Jun-09 0:00 
GeneralOT: Rajdeep.Net Pin
EliottA23-Jun-09 5:24
EliottA23-Jun-09 5:24 
GeneralRe: OT: Rajdeep.Net Pin
«_Superman_»23-Jun-09 16:17
professional«_Superman_»23-Jun-09 16:17 
GeneralRe: OT: Rajdeep.Net Pin
Rajesh R Subramanian28-Jul-09 0:29
professionalRajesh R Subramanian28-Jul-09 0:29 
GeneralRe: OT: Rajdeep.Net Pin
ThatsAlok21-Jun-12 21:34
ThatsAlok21-Jun-12 21:34 
QuestionRe: Function Call in C++ (Newbie question) Pin
David Crow16-Jun-09 2:57
David Crow16-Jun-09 2:57 
AnswerRe: Function Call in C++ (Newbie question) Pin
molesworth16-Jun-09 3:36
molesworth16-Jun-09 3:36 
QuestionProblem running while and scanf Pin
Denis J. González15-Jun-09 18:37
Denis J. González15-Jun-09 18:37 
AnswerRe: Problem running while and scanf Pin
«_Superman_»15-Jun-09 19:04
professional«_Superman_»15-Jun-09 19:04 
GeneralRe: Problem running while and scanf Pin
Denis J. González15-Jun-09 19:08
Denis J. González15-Jun-09 19:08 
GeneralRe: Problem running while and scanf Pin
«_Superman_»15-Jun-09 19:24
professional«_Superman_»15-Jun-09 19:24 
Questionoffice automation - I want to use 'MS-WORD' and 'MS-EXCEL' together? Pin
soosun115-Jun-09 14:18
soosun115-Jun-09 14:18 

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.