User Profile
Collapse
-
i'm next to a compiler now,so i did compile my sorce-code and there are no errors.so my question is how can i assign all the ten movies that i'm entering inside the getVideo function? anyone help please!... -
-
-
thank you sicarie,the past i was doing the general programming now we have changed to the object's programming so i'm really struggling.anyw ay i created two loops because i'm enterring the video information and at the same time i'm taking each movie inside video total. so how can i put all this ten movies into one array?...Leave a comment:
-
thank you Sicarie,my problem firstly is to assign those ten movies inside one array so that when i need those movies i can get them there....Leave a comment:
-
please guys i'm frustrated
[code=cpp]
l#include<iostr eam>
#include<iomani p>
#include<string >
using namespace std;
struct Video
{
string title;
string director;
int year;
string actors;
};
struct Customer
{
string id;
string name;
string address;
};
...Leave a comment:
-
this is the first part of my program including two classes one for the video and the other for customers
Code:code[c++]
#include<iostre am>
#include<iomani p>
#include<string >
class Video{
private:
string Title;
string Director;
int Year;
string Actors;
public:
Video(string title,string director,int...Leave a comment:
-
The movie rental program
i've be given this task to do. as a member i want to learn this program while i'm doing it with you.i'm hoping i'll be with you through the next two hours.
this is the program below.
Program 2
MULTICHOICE VIDEO RENTAL SHOP needs an Object Oriented program that process the following information about ten (10) videos in their stock
• The title, the director, the year produced and a list of main actors... -
change code to c++
i'm doing C LANGUAGE and i've been asked to do a struct movie to a c++ language so i did this part from a C LANGUAGE so may anyone please help to me to change this code to a c++ language please.i haven'r done this c++ language so please anyone please help.
::snipped a whole lot of code:: -
i decided to change my source code especially the class date,but my problem is when i compile it,it says date my book can't access my private members.
this is the code.
Code:code
using namespace std;
[CODE=cpp] class Date
{
Date ()
{
(0,0,0);
}
Date (int m)
{
(m, 0,0);
}
Date(int m, int...Leave a comment:
-
i'm sorry to ask you this, should i put the month,day and year in my main function?...Leave a comment:
-
my problem is my program has to test this classdate so i'm not sure firstly how my member functions has to have any parameters or not...Leave a comment:
-
month class program
hello guys,i've started with classes and i've been given this program below to program and also i will post the source code if you need it.this program reads as folllows.
create a class called DATE that includs three pieces of information as data member a month(type int),a day(type int) and year(type int).your class should have a constructor with three parameters that uses the parameters to initialise the three data members,for the... -
hi, i'm also doing c++ programming.my idea of a constructor is that it help you to initialisize private members in a class. because if you don't use it the compiler will implicitely do it for you.
thanks.Leave a comment:
-
about classes
i've started doing object oriented programming using classes so may someone please suggest any website to get more information about the oop please. -
pet structure program
i've started doing structure today so i'm still not perfect to them.my lecturer has asked me to this program so i really need ur suggestions about it.
The following information is available of each of 6 pets.
Kind of pet ( for example Marmoset monkey)
Name of pet (e.g Penta)
Age of pet (e.g 10 yrs)
Gender of pet (M if male, F if female)
Only pet of family (true or false)
Value of pet... -
i apologise for that,and i'm still not sure how to wrap my code to code tags....Leave a comment:
-
the program doesn't want to print anything. when i compile it,it shows just a space
thanks....Leave a comment:
-
please check the following code.[code=cpp]
// program uses randon number generation to create sentences
#include <iostream>
#include <stdlib.h>
#include <time.h>
#include<ctype. h>
#include<cstrin g>
const int row= 20;
const int column= 80;
void touppercase(cha r *string);
void concatenate(cha r *array[][column],int element,char *string[],int size);...Leave a comment:
-
No activity results to display
Show More
Leave a comment: