Click here to Skip to main content
15,912,977 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to set up a scroll bar inside a tabctrl Pin
Ruben93817-Sep-03 11:22
Ruben93817-Sep-03 11:22 
AnswerI tried this: Pin
Ruben93817-Sep-03 12:41
Ruben93817-Sep-03 12:41 
GeneralChange Color of Bitmap Pin
Anonymous17-Sep-03 11:11
Anonymous17-Sep-03 11:11 
GeneralRe: Change Color of Bitmap Pin
John R. Shaw17-Sep-03 11:35
John R. Shaw17-Sep-03 11:35 
GeneralgetFTPConnection prob Pin
ns17-Sep-03 10:19
ns17-Sep-03 10:19 
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 
I almost got this program to work but i always get two or more errors. Please help me.
Run a program that will ask the user for two floating point numbers. The second number asked for should be the percentage the user wants to find of the first number. It should then display the result of finding the percentage in this format:
Example: Enter a number: 25
What percent of 25 would you like to find? 3
3% of 25 is 0.75
So far I got this:
#include "conio.h"
#include "stdio.h"
void main()
{
clrscr();
float number;
float number2;
float answer;
answer=number*number2/100;
printf("Enter a number");
scanf("%f",& number,number2);
printf("What percent of %f would you like to find?",number);
printf("%f% of %f is %f",number2,number,answer);
getch():
}

and by the way what is the best c++ compiler? i have turbo c++ now and how do you add computer voice to c++ programs? Thanks
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 
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 

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.