Click here to Skip to main content
15,900,724 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionThanks for nothing Pin
Charles Reese3-May-06 7:55
Charles Reese3-May-06 7:55 
AnswerRe: Thanks for nothing Pin
BadKarma3-May-06 9:10
BadKarma3-May-06 9:10 
AnswerRe: Thanks for nothing Pin
toxcct3-May-06 21:13
toxcct3-May-06 21:13 
QuestionDCOM only one process Pin
Petryha3-May-06 7:46
Petryha3-May-06 7:46 
AnswerRe: DCOM only one process Pin
Milton Karimbekallil3-May-06 8:28
Milton Karimbekallil3-May-06 8:28 
QuestionHow do I finish this to output triangles using asterisks Pin
Charles Reese3-May-06 7:33
Charles Reese3-May-06 7:33 
AnswerRe: How do I finish this to output triangles using asterisks Pin
Maximilien3-May-06 7:46
Maximilien3-May-06 7:46 
AnswerRe: How do I finish this to output triangles using asterisks Pin
Stephen Hewitt3-May-06 14:03
Stephen Hewitt3-May-06 14:03 
Here's one way:
---------------

// Console.cpp : Defines the entry point for the console application.
//

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

void DoStuff()
{
string s;
for (int i=0; i<10; ++i)
{
s += "*";
cout << s << endl;
}
}

int main(int argc, char* argv[])
{
DoStuff();
return 0;
}


Steve
QuestionHow do I finish this to output triangles using asterisks Pin
Charles Reese3-May-06 7:33
Charles Reese3-May-06 7:33 
AnswerRe: How do I finish this to output triangles using asterisks Pin
David Crow3-May-06 7:48
David Crow3-May-06 7:48 
QuestionWindows XP - Windows CE Pin
Demian Panello3-May-06 7:24
Demian Panello3-May-06 7:24 
AnswerRe: Windows XP - Windows CE Pin
Ryan Binns3-May-06 18:14
Ryan Binns3-May-06 18:14 
QuestionPixel color acquisition from webcam stream Pin
Lessthannovice3-May-06 6:27
Lessthannovice3-May-06 6:27 
AnswerRe: Pixel color acquisition from webcam stream Pin
Justin Tay3-May-06 7:00
Justin Tay3-May-06 7:00 
QuestionRe: Pixel color acquisition from webcam stream Pin
Lessthannovice3-May-06 12:15
Lessthannovice3-May-06 12:15 
AnswerRe: Pixel color acquisition from webcam stream Pin
Justin Tay3-May-06 13:17
Justin Tay3-May-06 13:17 
QuestionRe: Pixel color acquisition from webcam stream Pin
Lessthannovice4-May-06 23:00
Lessthannovice4-May-06 23:00 
QuestionRe: Pixel color acquisition from webcam stream Pin
Lessthannovice5-May-06 11:35
Lessthannovice5-May-06 11:35 
Questionconverting char* to ASCII85 encoded char* Pin
goodoljosh19803-May-06 4:53
goodoljosh19803-May-06 4:53 
AnswerRe: converting char* to ASCII85 encoded char* Pin
Maxwell Chen4-May-06 7:06
Maxwell Chen4-May-06 7:06 
QuestionOpenProcess Fails Pin
Abin3-May-06 4:41
Abin3-May-06 4:41 
AnswerRe: OpenProcess Fails Pin
Hamid_RT3-May-06 5:01
Hamid_RT3-May-06 5:01 
AnswerRe: OpenProcess Fails Pin
David Crow3-May-06 7:46
David Crow3-May-06 7:46 
GeneralRe: OpenProcess Fails Pin
Abin3-May-06 16:21
Abin3-May-06 16:21 
GeneralRe: OpenProcess Fails Pin
David Crow4-May-06 2:15
David Crow4-May-06 2:15 

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.