Server Help

Trash Talk - I want to write modules for As3 but do I need to go all out

Quan Chi2 - Mon Nov 21, 2005 6:59 am
Post subject: I want to write modules for As3 but do I need to go all out
I want to write modules for asss but do I need to go all out and learn full C? I already know a descent ammount of C++.. How much different are they from each other? Should I buy a book and learn basic C?

Should I try to learn python?


Someone tell me?






Please don't flame this topic.. All I want is a simple answer. . .
i88gerbils - Mon Nov 21, 2005 8:59 am
Post subject:
You could probably get away with starting to write in C just normally & learn the functions & libraries you need as you go. Modules at the simplest are just a library of functions that do crap & telling ASSS when certain functions need to be run (like a callback or a timer).

IMO, Programming is still programming no matter what the language. You follow the same logic in Perl as you do in C just with a different syntax. An If statement is defined as an If statement. Aside from simple questions like "is this how this works in X?" anyone should be able to follow code in C as they do in C++ as they do in Python.
Mine GO BOOM - Mon Nov 21, 2005 11:28 am
Post subject:
How much have you ever done with any programming language? It shouldn't be too hard to figure out how to edit someone else's modules and make them do new things.

Download Dev-C++ and try and compile ASSS first. Once you have that done, tinker. Change a line or two, add a new command like !quan that replies back saying the user sucks. Each time you add something new, check it by compiling. If what you did didn't work, it will tell you around which line something is screwed up.

Search online for C tutorials. If you really want a book, buy The C Programming Language. It was written by the person who created C, so he knows what he is talking about. Plus, if you follow his examples, even Ekted wouldn't moan about your code (much, can't make too big of a promise).

And the difference between C++ and C for your level is that C just doesn't have classes. Otherwise, everything else is identical.
Chambahs - Mon Nov 21, 2005 12:25 pm
Post subject:
i say go for python, even I learned it! lol
Cerium - Mon Nov 21, 2005 2:24 pm
Post subject:
HE CANT POSSIBLY LEARN IT NOW, BECAUSE YOU ALREADY THOUGHT OF IT. OMG HE WILL BE RIPPING YOU OFF IF HE LEARNS IT.


Please Chambahs, find a nice slow way to end your life. Drinking battery acid would probably do the trick.
Solo Ace - Mon Nov 21, 2005 2:27 pm
Post subject:
Ekted will moan actually, just not because he dislikes it.

Ahem, nah, he'll moan cuz Ek's C is ++ to regular C, so Ekted's C should be called C++.
Cyan~Fire - Mon Nov 21, 2005 4:51 pm
Post subject:
How about C++--++?
Solo Ace - Mon Nov 21, 2005 5:33 pm
Post subject:
I'd prefer ++C--C++.
Quan Chi2 - Mon Nov 21, 2005 5:48 pm
Post subject:
Okay, thanks for the advice guys.
Cerium - Mon Nov 21, 2005 6:57 pm
Post subject:
That doesnt compile solo, you fail.
Contempt+ - Mon Nov 21, 2005 8:28 pm
Post subject:
Yes it does, I just tried it.
Quote:
++C--C++ - 0 error(s), 0 warning(s)

Cyan~Fire - Mon Nov 21, 2005 8:58 pm
Post subject:
Uhhh unless you have a file called ++C--C++, that quote is made up.
SamHughes - Mon Nov 21, 2005 11:50 pm
Post subject:
C++: It adds to C, but the value returned is the same.
D1st0rt - Tue Nov 22, 2005 12:22 pm
Post subject:
I'm beginning to think that's your generic response for everything
Solo Ace - Tue Nov 22, 2005 12:53 pm
Post subject:
Cerium, shutup hoe, it's the name for the language, not the language itself. sa_tongue.gif
Quan Chi2 - Tue Nov 22, 2005 6:03 pm
Post subject:
WTF!



What are you guys talking about!?
All times are -5 GMT
View topic
Powered by phpBB 2.0 .0.11 © 2001 phpBB Group