Hi,
I think I've basically learned the basics to c++. I wouldn't say I'm a master at it or anything but I have read and practiced most of the information all the way up to classes and linked lists...
Type: Posts; User: swayp
Hi,
I think I've basically learned the basics to c++. I wouldn't say I'm a master at it or anything but I have read and practiced most of the information all the way up to classes and linked lists...
Hi,
I've already learned how to do basic programming in C++ and understand all the basics. I want to go a step further now and based on this website I was going to explore OpenGL. I was reading...
Is everyone else that viewed this stuck too? :(
Ok back to my CD Database:
I'm still trying to add the track list but I decided to implement it with another class mainly because I couldn't figure it out any other way.
So I have a Database...
I was playing around with different kind of loops besides the do-while and my conclusion is I think the do/while (and when I try to convert it to a for and while loop) it runs one more time then I...
No it doesnt end at all. It has a segmentation fault before it breaks out of the reading in file loop:
while ( infile.peek() != EOF)
It never prints that last cout statement outside the...
Ok I'm having problems reading in a file again. Its the same CD Database but I decided to add a track listing to it. So, since different cds have different numbers of tracks, I added a loop in...
Ok back to the questions
I've created a database of CD's in which the Database class is simply an array of pointers to CD's (another class). I've initialized it as such:
CD*...
Hi, I'm trying to read from a file and I'm getting a segmentation fault, can someone help me with what I'm doing wrong:
My .txt file looks exactly like this:
-CD-
Artist: Outkast
Title:...
Once I've written something to an ouput file, is there a way I can delete anything from it.
For instance, I prompt the user what CD he wants to delete, and then I can find it in the database and...
Hi, I'm trying to create a CD database and I want to have a .txt file that contains the database. So as I start the program, it will read in the database and anything I add or erase from it then it...
Hey, no problem I hoped I help.
I was looking at your updated code and it appears you updated half of it and forget the rest heh :).
You still have the variables q1,d1,etc. in there but they...
Hey, I'm not that great at programming, but I could offer some help since two heads are better than one.
One tip is to load up your code with comments which is something your totally missing...
i get what your saying, but i think the book was saying that they want me to implement the program using linked lists (and obviously using classes) so i was going to try to do it like that, unless of...
I have no idea how to use vectors and although your probably correct and that would work, I'm leaning out of a book of data structures and this 'assignment' was around the linked list section in...
hi, ive never posted here before so im hoping i can get some help with this question i got:
im reading in a database, and its from a file which is nfl stats.. i cant figure out how to organize the...