Search:

Type: Posts; User: razrektah

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    2,242

    inheritance vs composition

    i have a question..

    what the advantages/disadvantages of using classes through inheritance or through composition?

    Raz
  2. Replies
    12
    Views
    1,702

    another "?"

    when i run these programs (with the errors still intact) once on VC++ and the other on UNIX.. i get different error behaivors.. why is that?

    Raz
  3. Replies
    12
    Views
    1,702

    memory management>?

    whats wrong with the following 2 programs? is it stricly a memory management problem which depends where u compile it?

    #include <iostream.h>
    #include <string.h>

    char *foo1()
    {
    char b[10];...
  4. Replies
    2
    Views
    954

    so...

    so i have a driver using linked lists and doin shallow copying...
    but how do i overload the assignment operator so it will use deep copying when it assigns a linked list to another linked list?
    ...
  5. Replies
    9
    Views
    1,169

    here ya go.

    //listnd.h

    #ifndef LISTND_H
    #define LISTND_H

    template< class NODETYPE > class IndexedList;

    template<class NODETYPE>
    class ListNode {
    friend class IndexedList< NODETYPE>;
  6. Replies
    9
    Views
    1,169

    hmm.. well i'm compiling a console app, and i...

    hmm..

    well i'm compiling a console app, and i incuded the source file.. but i'm still gettin the error.

    any ideas? :(

    RAZ
  7. Replies
    9
    Views
    1,169

    hmm... well ive been compiling a console app.....

    hmm... well ive been compiling a console app..
    but to tell u the truth.. i dont kno the difference between a winMain and a main.

    i 'think' im using a main but im not sure..

    what makes it a...
  8. Replies
    9
    Views
    1,169

    VC++

    VC++
  9. Replies
    9
    Views
    1,169

    linking error..

    i kno this is a really general "?" but im gettin this error:

    Linking...
    LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
    Debug/project.exe : fatal error LNK1120: 1...
  10. Replies
    2
    Views
    954

    shallow/deep copying

    ive been trying to find some info on this shallow/deep copying that i heard about.. but i can't seem to find it.

    What is the difference between the two, and is this applicable only to linked...
  11. Replies
    5
    Views
    1,626

    lol

    omg duh! that was pretty dumb.. it was killin me.. lol
    thx!!
  12. Replies
    5
    Views
    1,626

    the error occurs when i compile the previous...

    the error occurs when i compile the previous mentioned code on is own.. w/o linkin it..

    but here is the code for date.h

    #ifndef DATE_H
    #define DATE_H
    #include <iostream>
    #include <cstring>
    ...
  13. Replies
    5
    Views
    1,626

    illegal error

    why am i gettin this error?

    Compiling...
    proj5.cpp
    C:\Windows\Desktop\c++2\lab6\proj5\proj5\proj5.cpp(6) : error C2628: 'Date' followed by 'int' is illegal (did you forget a ';'?)
    Error...
  14. Replies
    4
    Views
    1,355

    yea i kno the time.h functions.. i just wasnt...

    yea i kno the time.h functions.. i just wasnt sure on the ctime ones..

    i know its harder... but if anyone has a chance.. can you help me out? i need the day, month and year... not the time..
    ...
  15. Replies
    4
    Views
    1,355

    ctime - current date

    hello...

    how do i get the current date using the <ctime> header?


    thanks

    Raz
  16. Replies
    1
    Views
    784

    ddriver or driver

    a quick question...

    in my hwork assignment, i was given a implementation file and a header file.

    it then said " create a ddriver to perform -blah blah blah- utilizing the files given to you"
    ...
  17. Thread: stack

    by razrektah
    Replies
    4
    Views
    1,273

    stack

    in a nutshell..

    what does the stack function do?

    thanks

    raz
  18. Replies
    3
    Views
    1,499

    much appreciated

    thanks!!

    that just cut my programing code into half lol.

    Razrektah
  19. Replies
    2
    Views
    2,675

    binary/octal/hexadecimal

    hello..

    im writing a program that thats suppose to convert and print in a table numbers 1-500 into binary/octal/hexadecimal format..

    i not having that much trouble with octal and hexadecimal...
Results 1 to 19 of 19