Click here to Skip to main content
15,904,288 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionUnhandled exception ? Pin
Le@rner21-Oct-08 19:02
Le@rner21-Oct-08 19:02 
AnswerRe: Unhandled exception ? Pin
Mark Salsbery21-Oct-08 19:32
Mark Salsbery21-Oct-08 19:32 
GeneralRe: Unhandled exception ? Pin
Le@rner21-Oct-08 19:49
Le@rner21-Oct-08 19:49 
QuestionRe: Unhandled exception ? Pin
Mark Salsbery21-Oct-08 20:04
Mark Salsbery21-Oct-08 20:04 
AnswerRe: Unhandled exception ? Pin
Le@rner21-Oct-08 20:14
Le@rner21-Oct-08 20:14 
GeneralRe: Unhandled exception ? Pin
Mark Salsbery21-Oct-08 20:21
Mark Salsbery21-Oct-08 20:21 
GeneralRe: Unhandled exception ? Pin
Le@rner21-Oct-08 20:23
Le@rner21-Oct-08 20:23 
QuestionC/C++ question - Function prototype in other function Pin
Adeel Chaudhry21-Oct-08 18:17
Adeel Chaudhry21-Oct-08 18:17 
Hello,

Pardon me, its a pure question of C/C++ not specific to Visual C++. Can anybody explain what is the purpose of following code:

void Function1(int a, int b)
{

void Function2(int c, int d, int e); // in some header file
void Function3(int c, int d, int e); // in some header file

int i, k, l;
//rest of the code in which Function2 and Function3 are being used!

}

I have no idea why "Function2" & "Function3" prototypes are defined in the function named "Function1", and is it possible? If yes whats the logic behind it?

Any help is highly appreciated.

Regards,

Adeel

Do rate the reply, if it helps or even if it doesnot, because it helps the members to know, what solved the issue. Thanks.

AnswerRe: C/C++ question - Function prototype in other function Pin
Naveen21-Oct-08 18:47
Naveen21-Oct-08 18:47 
GeneralRe: C/C++ question - Function prototype in other function Pin
Adeel Chaudhry21-Oct-08 19:37
Adeel Chaudhry21-Oct-08 19:37 
GeneralRe: C/C++ question - Function prototype in other function Pin
Naveen21-Oct-08 19:55
Naveen21-Oct-08 19:55 
Questionmac address libraries Pin
anilaabc21-Oct-08 17:26
anilaabc21-Oct-08 17:26 
AnswerRe: mac address libraries Pin
enhzflep21-Oct-08 18:41
enhzflep21-Oct-08 18:41 
QuestionWhat is the difference between c++ structs and c# structs..? Pin
Aslesh21-Oct-08 17:11
Aslesh21-Oct-08 17:11 
AnswerRe: What is the difference between c++ structs and c# structs..? Pin
Naveen21-Oct-08 18:39
Naveen21-Oct-08 18:39 
AnswerRe: What is the difference between c++ structs and c# structs..? Pin
Mark Salsbery21-Oct-08 18:58
Mark Salsbery21-Oct-08 18:58 
QuestionRe: What is the difference between c++ structs and c# structs..? Pin
CPallini21-Oct-08 21:46
mveCPallini21-Oct-08 21:46 
AnswerRe: What is the difference between c++ structs and c# structs..? Pin
Iain Clarke, Warrior Programmer21-Oct-08 22:03
Iain Clarke, Warrior Programmer21-Oct-08 22:03 
GeneralRe: What is the difference between c++ structs and c# structs..? Pin
CPallini21-Oct-08 22:05
mveCPallini21-Oct-08 22:05 
QuestionHelp with code Pin
dtaylor0121-Oct-08 15:46
dtaylor0121-Oct-08 15:46 
AnswerRe: Help with code Pin
Naveen21-Oct-08 16:08
Naveen21-Oct-08 16:08 
AnswerRe: Help with code Pin
CPallini21-Oct-08 21:36
mveCPallini21-Oct-08 21:36 
AnswerRe: Help with code Pin
Iain Clarke, Warrior Programmer21-Oct-08 21:59
Iain Clarke, Warrior Programmer21-Oct-08 21:59 
QuestionLinker options Pin
freeheap21-Oct-08 9:08
freeheap21-Oct-08 9:08 
AnswerRe: Linker options Pin
Perspx21-Oct-08 9:51
Perspx21-Oct-08 9:51 

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.