Search:

Type: Posts; User: maro009

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    2,856

    thanks i will try them

    thanks i will try them
  2. Replies
    6
    Views
    2,856

    sum of 2 int arrays

    if i have 2 int arays what is the best way to sum the two in new array?
  3. Replies
    5
    Views
    1,240

    thanks it works

    thanks
    it works
  4. Replies
    5
    Views
    1,240

    using Polymorphism

    let say we have class Animal and class Dog that derived from Animal




    class Animal
    {
    private :
    int age;
    public:
  5. Replies
    20
    Views
    11,608

    yes Stoned_Coder i think that's it there is no...

    yes Stoned_Coder
    i think that's it
    there is no LinkedList object , so i have to creat it it first , but the my problem now that in the Main function i call Calculator Object ,, but i don't get it...
  6. Replies
    20
    Views
    11,608

    hi quzah but it's the same when you creat a new...

    hi quzah
    but it's the same when you creat a new object you set the pointers to NULL then you let them point to what ever
  7. Replies
    20
    Views
    11,608

    i'v tryed to creat new node if fFirst is empty...

    i'v tryed to creat new node if fFirst is empty but got a problem to test if fFirst is empty


    void LinkedList::push_back (CalcCommand* data)
    {

    if (isEmpty())
    {
    fFirst->setNext(data);
    }
  8. Replies
    20
    Views
    11,608

    i found one error i set the pointer fNext to...

    i found one error
    i set the pointer fNext to NULL
    when i try to test if fNext is NULL in while loop using getnext function , this will call get function and return NULL
    here is the code
    ...
  9. Replies
    20
    Views
    11,608

    can you explain with code please ?

    can you explain with code please ?
  10. Replies
    20
    Views
    11,608

    yes i did this already and i know that the...

    yes i did this already and i know that the problem is in linkedlist.cpp " not sure"
    in this function :

    void LinkedList::push_back (CalcCommand* data)
    {

    CalcCommand* temp = fFirst;
    ...
  11. Replies
    20
    Views
    11,608

    it seems that i can't upload zip files , i rename...

    it seems that i can't upload zip files , i rename it to txt file.
    just rename the file to calculator.zip
    thanks
  12. Replies
    20
    Views
    11,608

    as i told you it compile and the compiler doesn't...

    as i told you it compile and the compiler doesn't give any error but it crash
    i try to debug but i couldn't find it also but i think the eroor is in linkelist.cpp "push_back" function
    is that what...
  13. Replies
    20
    Views
    11,608

    Calculator + LinkedList

    Hi
    can you please help me and tell me where is the error
    the code compile but it crash i don't know what is wrong
    here is my code 9 files

    1-calcCommand.h

    #ifndef CALCCOMMANDH
    #define...
  14. Replies
    9
    Views
    1,765

    hey JaWiB thank you very much you saved alot...

    hey JaWiB
    thank you very much
    you saved alot of my time ..... thank you again
    it works
  15. Replies
    9
    Views
    1,765

    ok here is my code 1st Header file : ...

    ok here is my code

    1st Header file :


    #ifndef __dclass_h
    #define __dclass_h

    const int size =50;
    void clearBuf();
  16. Replies
    9
    Views
    1,765

    hi JaWiB thank you very much for your help but:...

    hi JaWiB
    thank you very much for your help but:
    i just start with c++ and all what you said is very Difficult for me ..
    and the size in my header file is 100
    look let me do it more easly :

    ...
  17. Replies
    9
    Views
    1,765

    hey

    first i would like to thank you for answring my Q

    My code is a part of a class Car

    in the main i need to creat an array with objects ..
    3 objects need to be created
    so 3 different names for...
  18. Replies
    9
    Views
    1,765

    why doesn't work

    hi
    i try to make a dynamic array inside a loop but i have a problem
    i want restore each time in the loop a name and print it out the delete the array the the loop go on the add other name the...
Results 1 to 18 of 18