Code center > Darwinbots Program Source Code
Direction of the Code
PurpleYouko:
Don't suppose you have a nice free copy of VC++ lying around do you? ;)
Numsgil:
You know, I bet I do.
In fact, I know I do. Plus a trial version that has the benefit that it includes the SDKs (help files and such).
I'll put it up later.
For learning C I'd recommend the C for Dummies books. I used them before I even took algebra in middle school, and I got through them. They're intertaining, although if you know how to program already, it might be slow for your tastes.
Another advantage: moving to C++ the program becomes platform independant (or just about so). You'd have to rewrite whatever part of the GUI is left behind in VB for the new platform, but otherwise...
Botsareus:
--- Quote ---even for coding newbies.
--- End quote ---
I am not a coding newb num, I just have prioraty over things.
I dont care if you move everything to c++ , about time I learned it anyway.
--- Quote ---but on the downside is the split there will be between people being able to program extra bits and those who can't.
--- End quote ---
What is this a porade to stop me from coding?
--- Quote ---I'm thinking that we could get a significant speed improvement in C++ over VB. I'll have to construct some benchmarks and test them to get an idea of their comparative differences.
--- End quote ---
Maybe so. Thats the only thing I hate about vb no hardware flexabilaty.
--- Quote ---And then you add in that I can make some real data structures. Trees, linked lists without all that overhead, etc.
--- End quote ---
All can be done in vb...
--- Quote ---Not to mention that the translators would have to be sure that they release memory that is automoatically released in the VB verson. Memory leaks are not fun.
--- End quote ---
Thats were you lost me. What translators release memory? VB verson? Hybrids su*k unless its a hybrid with assembly. I hate Hybrids.
Numsgil:
--- Quote ---All can be done in vb...
--- End quote ---
With significant speed hits, yes. VB doesn't do pointers, so when you simulate abstract data types, you have to use other things...
That result in massive referencing and dereferencing. The old robot and shot lists suffered from this problem.
And yes, it's a parade to stop you from coding :P
--- Quote ---Not to mention that the translators would have to be sure that they release memory that is automoatically released in the VB verson. Memory leaks are not fun.
--- End quote ---
In Visual Basic, memory you allocate during run time is automatically released for you. Isn't that nice of them.
That is not true of VC++, or most other languages. You have to clean up after yourself.
Botsareus:
--- Quote ---And yes, it's a parade to stop you from coding
--- End quote ---
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA!!!!!!!!!!
OK FINE THEN, I AM NOT POSTING FIRST BOT.
WHATS FUCKOMPING WRONG WITH ALOCATING MEMORY ON RUNTIME? I THINK ITS THE BEST THING THAT HAPPEND IN A PROGRAMING LANGUGE I USE IT ALL THE TIME.
NEXT YOU ARE GOING TO SAY EVERYTHING NEED TO BE CASE SANSATIVE?
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA!!!!!!!!!!!
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version