Click here to Skip to main content
15,892,005 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: VS_VersionINFO Resources Pin
Frank K14-Sep-03 23:03
Frank K14-Sep-03 23:03 
QuestionHow to call system command in c++ code? Pin
sheepeast14-Sep-03 15:11
sheepeast14-Sep-03 15:11 
AnswerRe: How to call system command in c++ code? Pin
keegan14-Sep-03 17:18
keegan14-Sep-03 17:18 
GeneralWindows sockets Pin
mweiss14-Sep-03 13:10
mweiss14-Sep-03 13:10 
GeneralRe: Windows sockets Pin
geo_m14-Sep-03 22:43
geo_m14-Sep-03 22:43 
GeneralRe: Windows sockets Pin
mweiss15-Sep-03 10:42
mweiss15-Sep-03 10:42 
GeneralRe: Windows sockets Pin
geo_m15-Sep-03 21:48
geo_m15-Sep-03 21:48 
Generalhelp a few more programs im so close Pin
colin2114-Sep-03 13:08
colin2114-Sep-03 13:08 
I need help with a few more programs please help me.
Thank you Neville Franks and DougwW48 for help earlier, I appreciate it. Please help me one more time.
I tried these and they start like this one:
#include "conio.h"
#include "stdio.h"
void main ()
{
getch();
}
The questions are:

compile 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.

compile a program that will ask the user for their age. If the age entered is greater than or equal to 18, the program should display that the user is old enough to vote. Otherwise, the program should tell how many years until the user can vote.

compile 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

Thanks a lot for the help.
I get so close on these but can't seem to get them working, i always get 1 or 2 errors. Thanks
GeneralRe: help a few more programs im so close Pin
R. Thomas14-Sep-03 16:45
R. Thomas14-Sep-03 16:45 
GeneralRe: help a few more programs im so close Pin
R. Thomas14-Sep-03 16:47
R. Thomas14-Sep-03 16:47 
GeneralRe: help a few more programs im so close Pin
R. Thomas14-Sep-03 22:34
R. Thomas14-Sep-03 22:34 
GeneralRe: help a few more programs im so close Pin
DougW4815-Sep-03 7:16
DougW4815-Sep-03 7:16 
GeneralRe: help a few more programs im so close Pin
colin2115-Sep-03 9:18
colin2115-Sep-03 9:18 
GeneralRe: help a few more programs im so close Pin
DougW4815-Sep-03 11:53
DougW4815-Sep-03 11:53 
GeneralDrawing icons with alpha channel Pin
skaanji14-Sep-03 11:55
skaanji14-Sep-03 11:55 
GeneralCreating a button without using CButton Pin
Harco14-Sep-03 10:07
Harco14-Sep-03 10:07 
GeneralRe: Creating a button without using CButton Pin
skaanji14-Sep-03 12:14
skaanji14-Sep-03 12:14 
GeneralRe: Creating a button without using CButton Pin
Harco14-Sep-03 21:57
Harco14-Sep-03 21:57 
GeneralRe: Creating a button without using CButton Pin
Phil Martin15-Sep-03 16:49
professionalPhil Martin15-Sep-03 16:49 
QuestionSet paths to includes and libs? Pin
User 665814-Sep-03 9:33
User 665814-Sep-03 9:33 
AnswerRe: Set paths to includes and libs? Pin
geo_m15-Sep-03 21:51
geo_m15-Sep-03 21:51 
GeneralRe: Set paths to includes and libs? Pin
User 665816-Sep-03 5:21
User 665816-Sep-03 5:21 
Generalregistering login details irc. help Pin
thes3cr3t114-Sep-03 9:15
thes3cr3t114-Sep-03 9:15 
GeneralMemory Dump Pin
Paul Silvernail14-Sep-03 8:24
Paul Silvernail14-Sep-03 8:24 
GeneralRe: Memory Dump Pin
geo_m15-Sep-03 21:58
geo_m15-Sep-03 21:58 

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.