well, if i prefer not to use something because i don't want to install what is imho 'crappy software' or 'crappy libraries' i guess that's fully up to me. Thanks for the suggestion anyway.
Type: Posts; User: LinuxCoder
well, if i prefer not to use something because i don't want to install what is imho 'crappy software' or 'crappy libraries' i guess that's fully up to me. Thanks for the suggestion anyway.
hmmm, i hate kdelibs, they suck imo, i think they are nothing but bloatware. So i prefer to try another approaches or maybe even leave the matter alone and forget using UML for helping with design. I...
Thanks for the suggestion codie, i'll look into it. I'm not a really big fan of UML stuff but i though t it could help me with all the classes relations and so. Anyway i might try Dia that you...
Test * pT = new Test;
Test * pT2 = new Test();I think they are the same thing, the overloaded operator() will be used with the variable itself, like:
Test b;
Test* a = new Test();
...
b();...
hmmm, what seems the difference between
unsigned int;and:
unsigned long;. I believe an int is a signed long no?
heheh that sounds like a learned lesson ahluka. When accepting this kind of thing i always get a new msn contact that I can ditch or only log on when i really feel like actually helping someone.
(int)var;
int(var);
static_cast<int>(var);It should happen naturally i'd think. Afaik DWORD is only a typedef for an unsigned int.
Hi Salem, just gave it a try, it seems quite nice, but i was hoping for something that would have C++ options and such, all those java thingies make my brain a bit confused. I don't know how to...
Hi guys,
I was looking for a decent but free application for laying out my classes in a UML diagram as i believe it can help improve my program and classes design. Anyone using such thing or know...
Thanks for you help codie, i was thinking there could be some way of having header files with only the public methods and variables exposed to the user of a library while allowing the private methods...
check the manpage for select() which is used a lot for sockets. it reads:
So i guess this might be one way to achieve what you're looking for.
>> string timeToConvert[30];
c++ strings do not work like c-strings. This statement is declaring an array of 30 string objects. You must now learn how the c++ strings work. they work differently...
I can't understand why people asking for help don't post the errors they have. It's not that one can't find the problem with the code, it's just that it would make everything sooooooo much easier.
Sorry Daved, i guess you are right, it's just that i heard and read so much about how bad it was and that by having that it was a sign of really poor design, so i guess i am really trying to justify...
Thanks for the very explanatory post Daved, but i think i must stick to the dynamic_cast because each of the derived nodes will act ask for specific information (some might not ask for any) to the...
Now that was an unfortunate post i must say.
I believe any C++ beginner's book will do, here is what i think is the best approach into learning the language.
If you really want to start out with C++ grab a beginner's book, any beginner's...
well, i thought about the nodeId but i can't seem to get a working way for it, since in DerivedNodeA i'll need to use that DerivedNodeA's method so although i can use the NodeId for...
Imagine this situation, i have BaseNode then i have 3 derived classes, DerivedNodeA, DerivedNodeB and DerivedNodeC, they all expand BaseNode with new methods and new data types, now i need...
This is a try at explaining the use of header files for file compilation in a really simple and possibly not 100% accurate explanation of the compilation process:
The compiler is set to compile a...
i really wish i could help you there, but i do my development on linux so i'm not sure how to make it work in windows, specially if you are using some kind of IDE. You just must tell the linker to...
#include <iostream>
#include <string>
#include <cctype>
using namespace std;
void array (char b[], int *bmax);
const int MaxSize = 60;
You're totally right, i was not seeing it correctly, just browsed online and noticed that you are totally correct.
My apologies for any misleads i may have caused to stickman, my participations in...
@ChaosEngine:
Personally from his question i didn't think about variables allocated on the heap, probably just me but i thought his question was refering to deleting POD's allocated on the stack....
Why do you want to do that in the first place? If it was an object it would make perfect sense, but why are you worrying about that for POD's? I don't think that's even possible.