Ok, finally got this finished. ^.^ Thanks so much for everyone's help. For some reason, it crashes at the end of the program after it's run everything. Not sure why, but it does what it needs to...
Type: Posts; User: Cesia
Ok, finally got this finished. ^.^ Thanks so much for everyone's help. For some reason, it crashes at the end of the program after it's run everything. Not sure why, but it does what it needs to...
I'm not actually sure what I was doing there. I think I was trying to make it the size of the length of array.
Well, if I have time after my other two programs, I'll break it up. As of right now, I'm against the clock. Was working on this one all weekend and only got a small amount done on the other one...
I attempted making them floats, but I get a lot of 'array subscript is not an integer'. The float array was my attempt to pass the numbers over into it so I could use them to calculate the floats. ...
On the plus side, I ordered 3 books online last night for c and c++. They're not exactly new, but better than nothing, right? Anyways.
This is absolutely horrible, I know. If I can get it to...
Thanks, I'll look them over.
Well, after a few infinite loops that crashed my computer, I just need to figure out the last 4 methods, and I'm done with this problem. For now, sleep.
Thank you to those that helped. :) I may...
hmm, ok. Now to look up pointers. Thanks.
I was using return 1; to end the program there so as to not include any of the rest of my code. Couldn't figure out how to skip the rest without...
I actually avoid forums and such to ask for help, but my friends in the class are as lost as I am, one of them having taken the C++ class already. I'm looking over/in the tutorial on here already....
Schools here in Louisiana tend to be a bit odd, after all, our education system has always been on the low side. I was learning VB at the college I went to before I transferred here. Yeah, I'll...
Our book is on Ubuntu and not C. It's a systems programming class. The school bookstore doesn't carry any programming books, and I don't have a vehicle to go to a bookstore and pick one up until I...
Thanks, I'll read up on those.
As for the -1, I was thinking that since the array starts at 0 and when the user would put in how many elements were to be in the array, they normally wouldn't start...
If we had covered it in class, then sure. When we're told to learn the language on our own, it can cause a few problems.
I'm not asking you to do my homework. I'm just asking if my speculations for the second part is on the right track. As for the first part of my question, I'm just asking how to read user input...
I have two small programs to write. The only problem, I have no experience with C and very limited Java experience. Sorry if this is long-winded, but I'm at a loss.
The one I'm working on now is...