User Profile

Collapse

Profile Sidebar

Collapse
Nkhosinathie
Nkhosinathie
Last Activity: Oct 30 '07, 04:30 PM
Joined: May 10 '07
Location: south africa
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Nkhosinathie
    replied to The movie rental program
    in C
    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!...
    See more | Go to post

    Leave a comment:


  • Nkhosinathie
    replied to The movie rental program
    in C
    please,please i need some fresh ideas please...
    See more | Go to post

    Leave a comment:


  • Nkhosinathie
    replied to The movie rental program
    in C
    please i seriously need your help here...
    See more | Go to post

    Leave a comment:


  • Nkhosinathie
    replied to The movie rental program
    in C
    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?...
    See more | Go to post

    Leave a comment:


  • Nkhosinathie
    replied to The movie rental program
    in C
    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....
    See more | Go to post

    Leave a comment:


  • Nkhosinathie
    replied to The movie rental program
    in C
    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;
    };
    ...
    See more | Go to post
    Last edited by sicarie; Oct 25 '07, 02:28 PM. Reason: Code tags

    Leave a comment:


  • Nkhosinathie
    replied to The movie rental program
    in C
    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...
    See more | Go to post

    Leave a comment:


  • Nkhosinathie
    started a topic The movie rental program
    in C

    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...
    See more | Go to post

  • Nkhosinathie
    started a topic change code to c++
    in C

    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::
    See more | Go to post

  • Nkhosinathie
    replied to month class program
    in C
    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
    #include<iostre am>
    using namespace std;

    [CODE=cpp] class Date
    {

    Date ()
    {
    (0,0,0);
    }
    Date (int m)
    {
    (m, 0,0);
    }
    Date(int m, int...
    See more | Go to post
    Last edited by Ganon11; Oct 11 '07, 01:42 PM. Reason: Please use the [CODE] tags provided.

    Leave a comment:


  • Nkhosinathie
    replied to month class program
    in C
    i'm sorry to ask you this, should i put the month,day and year in my main function?...
    See more | Go to post

    Leave a comment:


  • Nkhosinathie
    replied to month class program
    in C
    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...
    See more | Go to post

    Leave a comment:


  • Nkhosinathie
    started a topic month class program
    in C

    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...
    See more | Go to post

  • Nkhosinathie
    replied to [C++] why we have a constructor?
    in C
    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.
    See more | Go to post

    Leave a comment:


  • Nkhosinathie
    started a topic about classes
    in C

    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.
    See more | Go to post

  • Nkhosinathie
    started a topic pet structure program
    in C

    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...
    See more | Go to post

  • Nkhosinathie
    replied to a program using four arrays of pointers
    in C
    i apologise for that,and i'm still not sure how to wrap my code to code tags....
    See more | Go to post

    Leave a comment:


  • Nkhosinathie
    replied to a program using four arrays of pointers
    in C
    the program doesn't want to print anything. when i compile it,it shows just a space
    thanks....
    See more | Go to post

    Leave a comment:


  • Nkhosinathie
    replied to a program using four arrays of pointers
    in C
    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);...
    See more | Go to post
    Last edited by sicarie; Sep 19 '07, 01:02 PM. Reason: Code tags

    Leave a comment:


  • Nkhosinathie
    replied to a program using four arrays of pointers
    in C
    i'm really sorry i don't understand what u mean?...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...