Forum: C++ Sep 18th, 2006 |
| Replies: 3 Views: 6,546 Its a 12 by 12 Maze. My input code may be wrong im sitting here working on it. The program runs but crashes due to whitespace, some how i have to take it into account. Any suggestions would be... |
Forum: C++ Sep 18th, 2006 |
| Replies: 3 Views: 6,546 I am doing a mazetraversal program that inputs a .dat text file.
Im having trouble taking in account of the whitespace.
Here is my code and were the ?????? is where it needs to go.
I think its... |
Forum: C++ Apr 16th, 2006 |
| Replies: 2 Views: 5,084 I'm trying to do a program that takes two vectors and computes the alternating sum, appends the vectors, checks whether two vectors have the same elements in some order, ignoring multiplicities, and... |
Forum: C++ Apr 12th, 2006 |
| Replies: 7 Views: 1,368 |
Forum: C++ Apr 12th, 2006 |
| Replies: 7 Views: 1,368 I got it to work only that I'm not getting the right values, and I can't figure out why. The program should display 785.398 & 471.239, instead I get 210 & 342. Thanks for all the help.
... |
Forum: C++ Apr 11th, 2006 |
| Replies: 7 Views: 1,368 I think I've gotten a little bit further, but still have yet to grasp classes, this is what I've got now.
#include <iostream>
using namespace std;
const pi = 3.1415926;//global constant... |
Forum: C++ Apr 11th, 2006 |
| Replies: 7 Views: 1,368 I am having trouble understanding classes, I'm new at this and have not had any problems with c++ until now. This is what I have so far. I was supplied the driver and cannot make any changes to it.... |
Forum: C++ Feb 26th, 2006 |
| Replies: 5 Views: 2,914 Thanks a lot, I almost had this. |
Forum: C++ Feb 26th, 2006 |
| Replies: 5 Views: 2,914 I have a program where the user enters a number and it prints all the prime numbers between 1 and that number. I have been able to do that. It must also print the max prime number, the greatest... |