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

C / C++ / MFC

 
Questionconsole program font size? Pin
DaveE9th9-Jul-03 20:24
DaveE9th9-Jul-03 20:24 
AnswerRe: console program font size? Pin
Iain Clarke, Warrior Programmer9-Jul-03 22:58
Iain Clarke, Warrior Programmer9-Jul-03 22:58 
AnswerRe: console program font size? Pin
Anthony_Yio10-Jul-03 1:44
Anthony_Yio10-Jul-03 1:44 
GeneralRe: console program font size? Pin
DaveE9th12-Jul-03 2:35
DaveE9th12-Jul-03 2:35 
Questionfull screen? Pin
DaveE9th9-Jul-03 20:21
DaveE9th9-Jul-03 20:21 
AnswerRe: full screen? Pin
Magnus Westin9-Jul-03 22:33
Magnus Westin9-Jul-03 22:33 
Generalhelp with IF statement Pin
DaveE9th9-Jul-03 20:13
DaveE9th9-Jul-03 20:13 
GeneralRe: help with IF statement Pin
Rage9-Jul-03 20:46
professionalRage9-Jul-03 20:46 
int main()

{
int x;
int i;
char str[80];
bool isfinished=false;
char Info [] [300] = 
{
"3030-02-000-5287" , "Here is the information for this number."
"3030-03-000-0029" , "Here is the information for this number."
};

while(isfinished==false)
{

cout<<"Please enter a number:\n";
cin>>str;

for(i=0; i < 4; i += 2)
if(!strcmp(str, Info[i]))
{
cout<<"Information:"<<Info[i+1]<<"\n";
break;
}

if(i == 4)
{
cout<<"Number not found.\n";
}

x=-1;
cout<<"\nWould you like to check another?\n";

while(x!=0 && x!=1)
{
cout<<"Enter 1 for yes, 0 for no.\n";
cin>>x>>"\n";
}

if (x==0)
  isfinished=true;
}


return 0;
}


~RaGE();
GeneralRe: help with IF statement Pin
DaveE9th9-Jul-03 21:28
DaveE9th9-Jul-03 21:28 
GeneralRe: help with IF statement Pin
Ted Ferenc9-Jul-03 21:45
Ted Ferenc9-Jul-03 21:45 
GeneralRe: help with IF statement Pin
Rage9-Jul-03 21:51
professionalRage9-Jul-03 21:51 
GeneralRe: help with IF statement Pin
DaveE9th9-Jul-03 21:54
DaveE9th9-Jul-03 21:54 
GeneralRe: help with IF statement Pin
Rage9-Jul-03 23:01
professionalRage9-Jul-03 23:01 
GeneralRe: help with IF statement Pin
DaveE9th10-Jul-03 7:26
DaveE9th10-Jul-03 7:26 
GeneralThe UINT range problem in MFC. Pin
Kevein9-Jul-03 17:54
Kevein9-Jul-03 17:54 
GeneralRe: The UINT range problem in MFC. Pin
Neville Franks9-Jul-03 18:04
Neville Franks9-Jul-03 18:04 
GeneralRe: The UINT range problem in MFC. Pin
Kevein13-Jul-03 15:20
Kevein13-Jul-03 15:20 
GeneralAuto Device Driver Installation.. Pin
Member 4048139-Jul-03 15:25
Member 4048139-Jul-03 15:25 
GeneralRe: Auto Device Driver Installation.. Pin
IceMatrix10-Jul-03 8:50
IceMatrix10-Jul-03 8:50 
GeneralThread Programming &amp; Matlab Pin
samr679-Jul-03 14:50
samr679-Jul-03 14:50 
GeneralRe: Thread Programming &amp; Matlab Pin
Abbas_Riazi9-Jul-03 18:17
professionalAbbas_Riazi9-Jul-03 18:17 
GeneralRe: Thread Programming &amp; Matlab Pin
samr679-Jul-03 19:08
samr679-Jul-03 19:08 
GeneralRe: Thread Programming &amp; Matlab Pin
kochhar10-Jul-03 14:32
kochhar10-Jul-03 14:32 
Questionfwrite error??? Pin
will13839-Jul-03 11:15
will13839-Jul-03 11:15 
AnswerRe: fwrite error??? Pin
Led9-Jul-03 11:23
Led9-Jul-03 11:23 

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.