Click here to Skip to main content
15,896,207 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSimplest way to start a MFC program from a MFC program Pin
Member 28839418-Nov-11 21:38
Member 28839418-Nov-11 21:38 
AnswerRe: Simplest way to start a MFC program from a MFC program Pin
Richard MacCutchan18-Nov-11 22:01
mveRichard MacCutchan18-Nov-11 22:01 
GeneralRe: Simplest way to start a MFC program from a MFC program Pin
Member 28839418-Nov-11 23:01
Member 28839418-Nov-11 23:01 
GeneralRe: Simplest way to start a MFC program from a MFC program Pin
Richard MacCutchan18-Nov-11 23:06
mveRichard MacCutchan18-Nov-11 23:06 
GeneralRe: Simplest way to start a MFC program from a MFC program Pin
Member 28839418-Nov-11 23:18
Member 28839418-Nov-11 23:18 
QuestionHow to inhibit parent window from blocking when using CSocket/CTimeoutSocket Pin
Member 28839418-Nov-11 20:53
Member 28839418-Nov-11 20:53 
AnswerRe: How to inhibit parent window from blocking when using CSocket/CTimeoutSocket Pin
Code-o-mat20-Nov-11 2:23
Code-o-mat20-Nov-11 2:23 
QuestionReverse Triangle Star Pin
AREYASB18-Nov-11 17:21
AREYASB18-Nov-11 17:21 
**********
 *********
  ********
   *******
    ******
     *****
      ****
       ***
        **
         *



C#
#include "stdafx.h"
#include <iostream>
using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{
    for (int r=1; r<10; r++)
    {
        for (int c=r; c>1; c--)
            cout<<" ";
    //for (int i=10;i>1;i--)
        for (int j=r-1+1/*i-2*/;j<=10;j++)
        cout<<"*";
        cout<<endl;
    }

--------------------------------------
        *
       **
      ***
     ****
    *****
   ******
  *******
 ********
*********


C#
#include "stdafx.h"
#include <iostream>
using namespace std;

int _tmain(int argc, _TCHAR* argv[])
{
    for (int r=10; r>1; r--)
    {
        for (int c=r; c>1; c--)
            cout<<" ";
        for (int j=r-1+1/*i-2*/;j<=10;j++)
        cout<<"*";
        cout<<endl;
    }

    return 0;
}

AnswerRe: Reverse Triangle Star Pin
Rajesh R Subramanian18-Nov-11 17:51
professionalRajesh R Subramanian18-Nov-11 17:51 
QuestionRe: Reverse Triangle Star Pin
David Crow19-Nov-11 15:46
David Crow19-Nov-11 15:46 
AnswerRe: Reverse Triangle Star Pin
AREYASB19-Nov-11 21:28
AREYASB19-Nov-11 21:28 
GeneralRe: Reverse Triangle Star Pin
enhzflep20-Nov-11 1:57
enhzflep20-Nov-11 1:57 
GeneralRe: Reverse Triangle Star Pin
AREYASB20-Nov-11 21:51
AREYASB20-Nov-11 21:51 
QuestionRe: Reverse Triangle Star Pin
David Crow20-Nov-11 17:14
David Crow20-Nov-11 17:14 
AnswerRe: Reverse Triangle Star Pin
AREYASB20-Nov-11 21:48
AREYASB20-Nov-11 21:48 
QuestionRe: Reverse Triangle Star Pin
David Crow21-Nov-11 4:13
David Crow21-Nov-11 4:13 
QuestionStar Shear Pin
AREYASB18-Nov-11 15:58
AREYASB18-Nov-11 15:58 
QuestionRe: Star Shear Pin
David Crow1-Dec-11 7:43
David Crow1-Dec-11 7:43 
QuestionUnderstanding wndproc, callbacks and threads, win32 c++ Pin
jkirkerx18-Nov-11 6:47
professionaljkirkerx18-Nov-11 6:47 
AnswerRe: Understanding wndproc, callbacks and threads, win32 c++ Pin
David Crow18-Nov-11 7:05
David Crow18-Nov-11 7:05 
GeneralRe: Understanding wndproc, callbacks and threads, win32 c++ Pin
jkirkerx18-Nov-11 7:47
professionaljkirkerx18-Nov-11 7:47 
AnswerRe: Understanding wndproc, callbacks and threads, win32 c++ Pin
Chuck O'Toole18-Nov-11 7:46
Chuck O'Toole18-Nov-11 7:46 
GeneralRe: Understanding wndproc, callbacks and threads, win32 c++ Pin
jkirkerx18-Nov-11 8:04
professionaljkirkerx18-Nov-11 8:04 
AnswerRe: Understanding wndproc, callbacks and threads, win32 c++ Pin
Chuck O'Toole18-Nov-11 10:01
Chuck O'Toole18-Nov-11 10:01 
GeneralRe: Understanding wndproc, callbacks and threads, win32 c++ Pin
enhzflep18-Nov-11 15:27
enhzflep18-Nov-11 15:27 

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.