thanks i will try them
Type: Posts; User: maro009
thanks i will try them
if i have 2 int arays what is the best way to sum the two in new array?
thanks
it works
let say we have class Animal and class Dog that derived from Animal
class Animal
{
private :
int age;
public:
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...
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
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);
}
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
...
can you explain with code please ?
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;
...
it seems that i can't upload zip files , i rename it to txt file.
just rename the file to calculator.zip
thanks
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...
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...
hey JaWiB
thank you very much
you saved alot of my time ..... thank you again
it works
ok here is my code
1st Header file :
#ifndef __dclass_h
#define __dclass_h
const int size =50;
void clearBuf();
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 :
...
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...
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...