Forum: C++ May 4th, 2006 |
| Replies: 14 Views: 8,095 why don't make a menu for leap year, date validation, year validation. It took me like 4 days to do it. |
Forum: C++ May 4th, 2006 |
| Replies: 4 Views: 1,187 thanks I figure out that I was trying to divide a int by a float which wouldn't work of course. changing it to 9.0 and 5.0 works |
Forum: C++ May 4th, 2006 |
| Replies: 4 Views: 1,187 i updated the my code up there again and like when I run it the answer turns out wrong
/****************************
* functions
*****************************/
float c2F(float);
float... |
Forum: C++ May 4th, 2006 |
| Replies: 4 Views: 1,187 can someone help me i can't seem to find my temperature problem
/****************************
* functions
*****************************/
float c2F(float);
float f2C(float); |
Forum: C++ Apr 17th, 2006 |
| Replies: 10 Views: 1,516 after a whole week. I found out the problem and I can't believe it was simple.
#include <iostream> // needed for cin/count
#include <cmath> //... |
Forum: C++ Apr 13th, 2006 |
| Replies: 5 Views: 3,192 put ur whole code so I can find the problem I did the same thing last week for my assignment. |
Forum: C++ Apr 12th, 2006 |
| Replies: 10 Views: 1,516 hmm I fix it alittle but the leap years still printing
#include <iostream> // needed for cin/count
#include <cmath> // needed for math functions... |
Forum: C++ Apr 12th, 2006 |
| Replies: 10 Views: 1,516 ok I'm trying to compile the leap year thing but the if else not showing?
here my compile
#include <iostream> // needed for cin/count
#include <cmath> ... |
Forum: C++ Apr 11th, 2006 |
| Replies: 10 Views: 1,516 |
Forum: C++ Apr 6th, 2006 |
| Replies: 10 Views: 1,516 would anything happen if I change my array to a constant?
char* month[100] =
{"January","Febuary","March", "April", "May", "June", "July", "August",
"September", "October", "November",... |
Forum: C++ Apr 6th, 2006 |
| Replies: 10 Views: 1,516 I don't know if I read the book right but my array is not working on my months .My instructions is
this assignment uses an array of strings:
write a C program that asks the user for the... |
Forum: C++ Apr 5th, 2006 |
| Replies: 17 Views: 4,023 hmm I dunno why my post start a arguement buy anyways check out what I did so far.
/****************************
* prototypes //declared function so main can find... |
Forum: C++ Apr 4th, 2006 |
| Replies: 17 Views: 4,023 ok thanks, well I got 2 hours so I might as well do it the long way and copy my data if anything wrong |
Forum: C++ Apr 4th, 2006 |
| Replies: 17 Views: 4,023 I already know it it just I don't want to make a case for everyone single month and also leap year. Is there a shortcut? |
Forum: C++ Apr 4th, 2006 |
| Replies: 17 Views: 4,023 won't I need to do this with arrays? |
Forum: C++ Apr 4th, 2006 |
| Replies: 17 Views: 4,023 ok so i need to make a program that where the user enter a day, month, year. has to be 3 ints, functions must display months name
I have no clue where to start |
Forum: C++ Mar 23rd, 2006 |
| Replies: 7 Views: 7,293 I did it like this but it seems not to be working. anyone know the problem
void option01();
int main () // prototype to main
{
char option;
do
{ |
Forum: C++ Mar 21st, 2006 |
| Replies: 7 Views: 7,293 so i'm stuck in creating a do/while menu doing this.
menu option 1 - use the for loop
menu option 2 - use the while loop
menu option 3 - use the do/while loop
in each option, print the... |
Forum: C++ Feb 23rd, 2006 |
| Replies: 7 Views: 2,295 thanks for helping I figure it out I made it look like this
void convertMeters(int meters);
int main()
{
int meters;
cout << "Amount: ";
cin >> meters; |
Forum: C++ Feb 21st, 2006 |
| Replies: 7 Views: 2,295 so far I think I have this
**************************************
* libraries
***************************************/
#include <iostream> // needed for cin/count... |
Forum: C++ Feb 21st, 2006 |
| Replies: 7 Views: 2,295 since i am looking for 5 problem. Wouldn't i have to name my int after main be int s,r,x,y,z ; if i was tring to print out
??? meters is:
??? inches
??? feet
??? yards
??? miles |
Forum: C++ Feb 21st, 2006 |
| Replies: 7 Views: 2,295 im thinking the protype will be void convertMeters(int meters) then int main where i am stuck on |
Forum: C++ Feb 21st, 2006 |
| Replies: 7 Views: 2,295 I need help making a program that include meter yards and feet. my c+ class is only in chapter 4 of the c++ book.
function header should be
void convertMeters(int meters)
int main
1. ask for... |