Click here to Skip to main content
15,913,685 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Multiple Windows Threads Pin
Mark Salsbery6-Nov-08 15:13
Mark Salsbery6-Nov-08 15:13 
GeneralRe: Multiple Windows Threads Pin
Bram van Kampen6-Nov-08 16:54
Bram van Kampen6-Nov-08 16:54 
GeneralRe: Multiple Windows Threads Pin
Mark Salsbery7-Nov-08 3:43
Mark Salsbery7-Nov-08 3:43 
GeneralRe: Multiple Windows Threads Pin
Bram van Kampen8-Nov-08 13:20
Bram van Kampen8-Nov-08 13:20 
GeneralRe: Multiple Windows Threads Pin
Mark Salsbery8-Nov-08 14:46
Mark Salsbery8-Nov-08 14:46 
GeneralRe: Multiple Windows Threads Pin
Bram van Kampen16-Nov-08 13:21
Bram van Kampen16-Nov-08 13:21 
Question2D Arrays Pin
livin lie6-Nov-08 11:47
livin lie6-Nov-08 11:47 
AnswerRe: 2D Arrays Pin
Saurabh.Garg6-Nov-08 15:16
Saurabh.Garg6-Nov-08 15:16 
Well driver is just a program. Its purpose is to show the capability of the code. You can think of it as front end to the logic of the program.

For example, lets say the main logic of the program is to compute sum of two numbers. Then you will do something like this.

// Program logic.
void sum(int a, int b)
{
    int c = a + b;
    return c;
}

// Driver
void main()
{
    int a, b;
    printf("Enter first number: %d", &a);
    printf("Enter second number: %d", &b);

    int c = sum(a, b);
    printf("Sum of two numbers is: %d\n", c);
}


-Saurabh
QuestionRe: 2D Arrays Pin
David Crow6-Nov-08 16:45
David Crow6-Nov-08 16:45 
AnswerRe: 2D Arrays Pin
livin lie7-Nov-08 6:21
livin lie7-Nov-08 6:21 
QuestionTutorial Object Array Pin
Reagan Conservative6-Nov-08 9:02
Reagan Conservative6-Nov-08 9:02 
AnswerRe: Tutorial Object Array Pin
sashoalm6-Nov-08 10:18
sashoalm6-Nov-08 10:18 
GeneralRe: Tutorial Object Array Pin
Reagan Conservative6-Nov-08 11:22
Reagan Conservative6-Nov-08 11:22 
QuestionI need help with my program, new c++ programmer Pin
OverdoS6-Nov-08 7:56
OverdoS6-Nov-08 7:56 
QuestionRe: I need help with my program, new c++ programmer Pin
David Crow6-Nov-08 8:17
David Crow6-Nov-08 8:17 
AnswerRe: I need help with my program, new c++ programmer Pin
CPallini6-Nov-08 10:30
mveCPallini6-Nov-08 10:30 
AnswerRe: I need help with my program, new c++ programmer Pin
led mike6-Nov-08 8:52
led mike6-Nov-08 8:52 
QuestionShellExecute/Browser problem Pin
Leslie Sanford6-Nov-08 6:19
Leslie Sanford6-Nov-08 6:19 
AnswerRe: ShellExecute/Browser problem Pin
Renjith Ramachandran6-Nov-08 7:51
Renjith Ramachandran6-Nov-08 7:51 
AnswerRe: ShellExecute/Browser problem Pin
Bram van Kampen6-Nov-08 15:16
Bram van Kampen6-Nov-08 15:16 
QuestionAdvice needed for a tool for c++ code analysis Pin
Renjith Ramachandran6-Nov-08 5:23
Renjith Ramachandran6-Nov-08 5:23 
AnswerRe: Advice needed for a tool for c++ code analysis Pin
David Crow6-Nov-08 7:22
David Crow6-Nov-08 7:22 
QuestionRe: Advice needed for a tool for c++ code analysis Pin
sashoalm6-Nov-08 8:04
sashoalm6-Nov-08 8:04 
AnswerRe: Advice needed for a tool for c++ code analysis Pin
David Crow6-Nov-08 8:09
David Crow6-Nov-08 8:09 
GeneralRe: Advice needed for a tool for c++ code analysis Pin
sashoalm6-Nov-08 10:12
sashoalm6-Nov-08 10:12 

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.