The list of movies is in a .txt file. For example :
Meet Joe Black
Meet the Parents
Someting about Mary
Gone in 60 seconds
Father of the Bride
Type: Posts; User: C++angel
The list of movies is in a .txt file. For example :
Meet Joe Black
Meet the Parents
Someting about Mary
Gone in 60 seconds
Father of the Bride
I have a program and one of the things i need to do is search through the list of movies and find all the ones that have a certain word in it. Any ideas on how i could do this? Thank you.
How do you delete a pointer to an array?
--C++angel
So what you are saying is i should work on my thing class which hold all the objects which are supposed to go in the room? Because i also have a player class which is where i was going to know what...
I dont know what a vector is but i do have to use a lot of pointer because i have 4 different classes.
Thank you everyone for your help but i am still al little confused. Why wouldnt you use strings? And where do i put the list of rooms and the objects in them and the description? Thank you.
I am creating a text adventure game. I have a class called room with a list of rooms in it. I want to set descriptions for these rooms, what objects are in them and what exits there are to the other...
Thank you. :D
Hello, I cant figure out what is wrong with this.
#include "stdafx.h"
#include <iostream>
#include <iomanip>
I used the ignore and it work thank you both very much for helping
Does anyone know how to get rid of a newline character? I am reading in from a file and there is a newline character attached to one of my strings that i dont want. Thank you.
Angel
jwenting i did not demand instant help. I said as soon as possible. I asked nicely saying please at least twice. I did not ask you to write huge chunks of code for me or anything i just wanted to...
I have to write a program and i am having trouble writing part of it.
I have to read information from a file about students. This file contains their names, graduation year and GPA. I need to...