grrrr with hexadecimal.
this is for a c++ class btw and this is due like....tomorrow.
crap XD
Type: Posts; User: Domdom
grrrr with hexadecimal.
this is for a c++ class btw and this is due like....tomorrow.
crap XD
this is also something i don't understand.
LOL i feel dwarfed by you guys.
This is what i have so far. I know it's way more complicated than it has to be and i know i use gotos all over the place but bear with me, i'm a noob.
#include <iostream.h>
main()
{
int...
i haven't really tried anything, i put that code into my program and i don't really know how to code around it so that the user can input 9999 and get the hex number.
ok considering the fact that i'm a noob to this, can you tell me how i would apply that switch statement to what i'm trying to do? lol sorry.
alright so i'm making a program now that takes a decimal number from the user and outputs the number out again but counting in binary, octal, and hexadecimal. I can get binary and octal easily but...
alright so i used the cin.ignore and it's better now because it doesn't give a random value anymore, but now i need it to reprompt the user instead of just skipping the prompt and going to the next.
i use iostream.h.
ok so the program is simple: to calculate percentages of the gross profit of a movie company. the user is supposed to input the amount of tickets sold for seniors, adults and...
alright so in my program, the user is prompted 3 times to enter an integer value. my problem is, i don't know how to make it so that if the user inputs say a letter for instance, the program won't...