Click here to Skip to main content
15,909,539 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Visual C++ 6.0 BIG problem!!! Pin
Yong Haur TAY15-Dec-00 14:59
Yong Haur TAY15-Dec-00 14:59 
GeneralRe: Visual C++ 6.0 BIG problem!!! Pin
Yong Haur TAY18-Dec-00 1:36
Yong Haur TAY18-Dec-00 1:36 
GeneralSolved!!! Visual C++ 6.0 BIG problem!!! Pin
Yong Haur TAY18-Dec-00 16:40
Yong Haur TAY18-Dec-00 16:40 
GeneralRe: Visual C++ 6.0 BIG problem!!! Pin
Matt Philmon15-Dec-00 16:23
Matt Philmon15-Dec-00 16:23 
GeneralCrash on Project Conversions Pin
Ron Ginsberg14-Dec-00 15:08
Ron Ginsberg14-Dec-00 15:08 
General:confused: PLEASE help me with a simple DOS C++ programming problem Pin
14-Dec-00 12:30
suss14-Dec-00 12:30 
GeneralRe: :confused: PLEASE help me with a simple DOS C++ programming problem Pin
Erik Funkenbusch14-Dec-00 12:43
Erik Funkenbusch14-Dec-00 12:43 
GeneralRe: :confused: PLEASE help me with a simple DOS C++ programming problem Pin
14-Dec-00 12:54
suss14-Dec-00 12:54 
I'm sorry. I should have been more specific. OK, I need to make a prog that sorts 8 names. Sounds simple enough but there's some added variables such as stopping the count if the user doesn't enter anything.
Here's the code of what I've done so far:
//Assignment 8
//Will Atkinson
//This is not the completed version!
#include<iostream.h>
#include <string.h>

void getName(char* name)
{ cout<<"Enter a Name: ";
cin.getline(name, 8, '\n');
if(strlen(name)==7)
cin.ignore(100,'\n');
} //getName

readAllNames(char list [] [20])
{ int i=0;
getName( list [i] );
while((i<20)&& (strlen(list[i])>0))
{ i++;
getName( list [i] );
} //while
return i;
}//readAllNames

void printAll(char list[20][20], int c)
{ for (int i=0; i
GeneralRe: :confused: PLEASE help me with a simple DOS C++ programming problem Pin
Erik Funkenbusch14-Dec-00 13:46
Erik Funkenbusch14-Dec-00 13:46 
GeneralRe: :confused: PLEASE help me with a simple DOS C++ programming problem Pin
14-Dec-00 14:19
suss14-Dec-00 14:19 
GeneralRe: :confused: PLEASE help me with a simple DOS C++ programming problem Pin
14-Dec-00 15:01
suss14-Dec-00 15:01 
GeneralRe: :confused: PLEASE help me with a simple DOS C++ programming problem Pin
Erik Funkenbusch15-Dec-00 11:50
Erik Funkenbusch15-Dec-00 11:50 
GeneralDirectX screensaver Pin
Amit Dey14-Dec-00 5:23
Amit Dey14-Dec-00 5:23 
Generalownerdraw combobox Pin
13-Dec-00 22:11
suss13-Dec-00 22:11 
GeneralModeless dialogs can be reached even if there's one that is modal Pin
Joan M13-Dec-00 12:01
professionalJoan M13-Dec-00 12:01 
GeneralRe: Modeless dialogs can be reached even if there's one that is modal Pin
Michael Dunn13-Dec-00 19:28
sitebuilderMichael Dunn13-Dec-00 19:28 
GeneralBackground image problem Pin
13-Dec-00 11:18
suss13-Dec-00 11:18 
GeneralRe: Background image problem Pin
13-Dec-00 16:27
suss13-Dec-00 16:27 
GeneralUnusal Visual C++ behavior please help Pin
13-Dec-00 7:20
suss13-Dec-00 7:20 
GeneralRe: Unusal Visual C++ behavior please help Pin
Michael Dunn13-Dec-00 8:00
sitebuilderMichael Dunn13-Dec-00 8:00 
GeneralRe: Unusal Visual C++ behavior please help Pin
Ron Russell13-Dec-00 8:15
Ron Russell13-Dec-00 8:15 
GeneralRe: Unusal Visual C++ behavior please help Pin
13-Dec-00 9:41
suss13-Dec-00 9:41 
GeneralRe: Unusal Visual C++ behavior please help Pin
Ron Russell13-Dec-00 9:53
Ron Russell13-Dec-00 9:53 
GeneralHiding an application from the Tasklist Pin
Ron Russell13-Dec-00 6:14
Ron Russell13-Dec-00 6:14 
GeneralRe: Hiding an application from the Tasklist Pin
13-Dec-00 6:59
suss13-Dec-00 6:59 

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.