Click here to Skip to main content
15,921,841 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: to read a file into an array Pin
Maximilien20-Nov-11 0:24
Maximilien20-Nov-11 0:24 
AnswerRe: to read a file into an array Pin
Niklas L20-Nov-11 10:06
Niklas L20-Nov-11 10:06 
Questionsocket prograaming doubt! Pin
robin70019-Nov-11 10:04
robin70019-Nov-11 10:04 
AnswerRe: socket prograaming doubt! Pin
Erudite_Eric19-Nov-11 10:30
Erudite_Eric19-Nov-11 10:30 
AnswerRe: socket prograaming doubt! Pin
Albert Holguin19-Nov-11 15:41
professionalAlbert Holguin19-Nov-11 15:41 
QuestionApplication is getting crashed at ShowWndow Pin
Amrit Agr19-Nov-11 3:21
Amrit Agr19-Nov-11 3:21 
AnswerRe: Application is getting crashed at ShowWndow Pin
Chris Losinger19-Nov-11 3:49
professionalChris Losinger19-Nov-11 3:49 
AnswerRe: Application is getting crashed at ShowWndow Pin
Chuck O'Toole19-Nov-11 5:43
Chuck O'Toole19-Nov-11 5:43 
QuestionWhat is differences between a background thread and a modeless dialog? Pin
Member 28839419-Nov-11 0:31
Member 28839419-Nov-11 0:31 
AnswerRe: What is differences between a background thread and a modeless dialog? Pin
Richard MacCutchan19-Nov-11 0:41
mveRichard MacCutchan19-Nov-11 0:41 
AnswerRe: What is differences between a background thread and a modeless dialog? Pin
Albert Holguin19-Nov-11 15:48
professionalAlbert Holguin19-Nov-11 15:48 
QuestionMDI application with CMFCVisualManager, can dialog have the themes? Pin
rahul.kulshreshtha18-Nov-11 23:20
rahul.kulshreshtha18-Nov-11 23:20 
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 

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.