Curious, because I've done the exact positioning of files in numerous projects and it worked.
Type: Posts; User: tzakieta
Curious, because I've done the exact positioning of files in numerous projects and it worked.
Hi,
I have a miniproject in MVS2005 wich keeps bugging me with linking errors. I've read the documentation provided by MSV related to this error, and nothing seems to solve my problem.
So I came...
size dosen't matter there, I sould have put 23 or 399 there. it was more like an symbol not a var.
Thnak you Clairvoyant1332!
I wasn't making a difference between pure virtual functions and virtual function, thought they are the same.
So :
virtual ~Base() //=0
{
delete[] str; ...
So i'll simplify the code
That's not my code. I wrote the code with headers and multiples cpp where i defined the functions I used.
My problem is not the casting ( haven't got to it yet), but...
If I understood corectly, it seems logic to compare 2 numbers like this:
if(shadow == mirror) {}
and you should do this for each digit/char in the number/string.
i know that.
The question is where can i use delete [] bstxt, in which destructor? Am I allowed to do it in the virtual destructor's definition in base class?
I need the virtual destructor...
Hi,
I'm trying to play with an abstract base class and 3 derived classes in a linked list.
But when i began to design constructors and destructors for the classes i just hit a wall.
So i'll...
ok i got it.
you lied, it's not that easy :D i have a headache now :).
thank you for your patience.
that's exactly my problem; range. i know about RAND_MAX but i don't see how it could help me.
I thought about making a function that checks if the random number is between 65-90 and then turn it...
:)
So far i've worked on the rest of the code where i'm "fighting" with malloc and some nasty pointers, but on the subject i've just searched somehow breiefly on some sites & docs i've bookmarked...
Hi everyone,
I need an ideea for generating some ronadom characters to test the code i'm working on.
For now i want to generate just from A to Z so 65 to 90 in ASCII.
So my problem is reduced...
thank you, but beside the fact that I'm at beginner level , it's also a big chaos in my head, so i really need to read more about structures and lists and see some clear examples of what i might need...
Hello,
Like philvaira i'm also looking for a good book, e-book or some links preferablly with examples to help me on the subject abstract, generalized data structures, so i won't be limited to int,...