Click here to Skip to main content
15,913,145 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: getFTPConnection prob Pin
Jagadeesh VN17-Sep-03 10:40
Jagadeesh VN17-Sep-03 10:40 
GeneralRe: getFTPConnection prob Pin
ns18-Sep-03 2:02
ns18-Sep-03 2:02 
Generalalmost got it little help please Pin
colin2117-Sep-03 9:48
colin2117-Sep-03 9:48 
GeneralRe: almost got it little help please Pin
Michael P Butler17-Sep-03 10:23
Michael P Butler17-Sep-03 10:23 
GeneralRe: almost got it little help please Pin
David Crow17-Sep-03 10:25
David Crow17-Sep-03 10:25 
GeneralRe: almost got it little help please Pin
colin2117-Sep-03 11:37
colin2117-Sep-03 11:37 
GeneralRe: almost got it little help please Pin
David Crow18-Sep-03 3:49
David Crow18-Sep-03 3:49 
GeneralRe: almost got it little help please Pin
DougW4817-Sep-03 13:54
DougW4817-Sep-03 13:54 
Colin, I have a feeling you are really hating programming right about now! Wink | ;) I didn't test what I did, I just took your code and rearranged it so it made sense. I thought this might help.

#include "conio.h"
#include "stdio.h"
void main()
{
clrscr();
float number;
float number2;
float answer;
printf("Enter a number: ");
scanf("%f",&number );
printf("What percent of %f would you like to find? ", number);
scanf("%f",&number2 );
answer=number*(number2/100.0);
printf("%f% of %f is %f\n",number2,number,answer);
getch():
}


colin21 wrote:
by the way what is the best c++ compiler? i have turbo c++ now and how do you add computer voice to c++ programs?

Before I started using the Visual Studios I used the Bloodshed DevCpp. I think you can get it at www.bloodshed.net It uses the Gnu compiler, which is the same compiler at Linux systems, which most schools have...so if your programs compile in the DevCpp, it should compile for your professor.

About the computer voice. I think at your level perhaps you should forget about doing anything fun in your programs for quite a while, especially voice. If you want your program to make sounds, put \a in your output statements, it'll create a feeble sounding beep. Smile | :)

Good luck!




Douglas A. Wright
dawrigh3@kent.edu
Generalbeginner winsock question Pin
mweiss17-Sep-03 9:08
mweiss17-Sep-03 9:08 
GeneralRe: beginner winsock question Pin
David Crow17-Sep-03 9:38
David Crow17-Sep-03 9:38 
GeneralRe: beginner winsock question Pin
valikac17-Sep-03 12:43
valikac17-Sep-03 12:43 
Generalgethostbyaddr problem Pin
ns17-Sep-03 8:58
ns17-Sep-03 8:58 
GeneralRe: gethostbyaddr problem Pin
David Crow17-Sep-03 9:33
David Crow17-Sep-03 9:33 
GeneralRe: gethostbyaddr problem Pin
ns17-Sep-03 9:54
ns17-Sep-03 9:54 
GeneralRe: gethostbyaddr problem Pin
David Crow17-Sep-03 10:08
David Crow17-Sep-03 10:08 
GeneralPrint help easy question Pin
Binayak17-Sep-03 8:50
Binayak17-Sep-03 8:50 
GeneralRe: Print help easy question Pin
vcplusplus17-Sep-03 9:32
vcplusplus17-Sep-03 9:32 
GeneralCharacter Set of a String Pin
hckygirloh17-Sep-03 8:50
hckygirloh17-Sep-03 8:50 
GeneralRe: Character Set of a String Pin
Daniel Turini17-Sep-03 9:42
Daniel Turini17-Sep-03 9:42 
GeneralGlobal Hook with a Callback Pin
tsprang17-Sep-03 8:49
tsprang17-Sep-03 8:49 
GeneralGUI Compiling Trouble Pin
doncab17-Sep-03 8:35
doncab17-Sep-03 8:35 
GeneralRe: GUI Compiling Trouble Pin
ZoogieZork17-Sep-03 9:47
ZoogieZork17-Sep-03 9:47 
GeneralRe: GUI Compiling Trouble Pin
doncab17-Sep-03 12:09
doncab17-Sep-03 12:09 
GeneralRe: GUI Compiling Trouble Pin
ZoogieZork17-Sep-03 12:51
ZoogieZork17-Sep-03 12:51 
Generalyour comments on CSocket and CAsyncSocket Pin
R. Thomas17-Sep-03 7:29
R. Thomas17-Sep-03 7:29 

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.