Click here to Skip to main content
15,919,500 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: base-change in c++ without using streams Pin
PJ Arends9-Sep-03 20:11
professionalPJ Arends9-Sep-03 20:11 
GeneralRe: base-change in c++ without using streams Pin
elchip9-Sep-03 20:18
elchip9-Sep-03 20:18 
GeneralDLL to static lib converter Pin
Ravi Bhavnani9-Sep-03 18:10
professionalRavi Bhavnani9-Sep-03 18:10 
GeneralRe: DLL to static lib converter Pin
Neville Franks9-Sep-03 23:51
Neville Franks9-Sep-03 23:51 
QuestionHow to detect when a file is created Pin
pankajdaga9-Sep-03 17:49
pankajdaga9-Sep-03 17:49 
AnswerRe: How to detect when a file is created Pin
Pankaj_lazy_to_log_on9-Sep-03 18:22
sussPankaj_lazy_to_log_on9-Sep-03 18:22 
GeneralRe: How to detect when a file is created Pin
Chris Richardson9-Sep-03 18:49
Chris Richardson9-Sep-03 18:49 
Generalnew to c++ need help about compiling Pin
colin219-Sep-03 16:09
colin219-Sep-03 16:09 
Hi, I am new to c++ and I was put in a tough computer programming class and was absent the first two days and I would really appreciate it if somebody could help me:My E-mail address is squee211@yahoo.com Could you please E-mail me the code needed to run these programs. Thank you. If you need anything at all in return I would be more than happy to do it.

Here are the questions:

Run a program that will ask the user for a floating point number. It should then display the result of dividing that number by two in this format:
Example: Enter a number: 24.6
24.6 divided by two is 12.3

Run a program that will ask the user for three integers. It should then display the sum of the integers in this format:
Example: Enter an integer: 8
Enter another integer: 2
Enter another integer: 3
8+2+3=13

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 shouls 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

Run a program that will ask the user for a number of eggs. It should then display how many dozens exist and how many eggs are left over in this format:
Example: Enter a number of eggs: 45
45 eggs are 3 dozen eggs with 9 eggs left over.

Run a program that will ask the user for three numbers. It should then display the average of the numbers in this format:
Example: Enter a number: 3
Enter another number: 5
Enter another number: 8
The average of the three numbers is 5.333333

Run a program that will ask the user for a number of items. It should then display how many containers must be used to hold the given number of items. Assume each container holds 25items. The answer should be displayed in this format:
Example: Enter a number: 52
52 items requires the use of 3 containers.

Run a program that will ask the user for an amount in cents ($1.23=123 cents)
It should then display the number of quarters, dimes, nickels, and pennies equal to the amount.


GeneralRe: new to c++ need help about compiling Pin
berndg9-Sep-03 20:25
berndg9-Sep-03 20:25 
GeneralRe: new to c++ need help about compiling Pin
DougW4810-Sep-03 2:00
DougW4810-Sep-03 2:00 
GeneralRe: Char * w/ escaped character to char Pin
Abin9-Sep-03 13:55
Abin9-Sep-03 13:55 
GeneralDirectX video capture without audio Pin
cje9-Sep-03 12:12
cje9-Sep-03 12:12 
GeneralRe: DirectX video capture without audio Pin
Andrew Walker9-Sep-03 12:21
Andrew Walker9-Sep-03 12:21 
GeneralRe: DirectX video capture without audio Pin
cje9-Sep-03 12:47
cje9-Sep-03 12:47 
GeneralOverriding CMDIChildWnd::OnCreateClient Pin
Ori K9-Sep-03 11:49
Ori K9-Sep-03 11:49 
Generalvalues for MFC function in VC++ Pin
extraeye9-Sep-03 11:45
extraeye9-Sep-03 11:45 
QuestionWhat function am I? Pin
krauskim9-Sep-03 11:19
krauskim9-Sep-03 11:19 
AnswerRe: What function am I? Pin
Alvaro Mendez9-Sep-03 11:38
Alvaro Mendez9-Sep-03 11:38 
AnswerRe: What function am I? Pin
Andrew Walker9-Sep-03 12:24
Andrew Walker9-Sep-03 12:24 
GeneralRe: What function am I? Pin
krauskim9-Sep-03 14:37
krauskim9-Sep-03 14:37 
GeneralRe: What function am I? Pin
Andrew Walker10-Sep-03 14:12
Andrew Walker10-Sep-03 14:12 
AnswerRe: What function am I? Pin
parths9-Sep-03 16:05
parths9-Sep-03 16:05 
GeneralObtaining the ascii value of a character Pin
elchip9-Sep-03 11:02
elchip9-Sep-03 11:02 
GeneralRe: Obtaining the ascii value of a character Pin
Michael Dunn9-Sep-03 11:15
sitebuilderMichael Dunn9-Sep-03 11:15 
GeneralRe: Obtaining the ascii value of a character Pin
Jonathan de Halleux9-Sep-03 11:15
Jonathan de Halleux9-Sep-03 11: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.