Author |
Message |
Quan Chi2 Member of "Sexy Teenagers that Code" Group

Age:34 Gender: Joined: Mar 25 2005 Posts: 860 Location: NYC Offline
|
Posted: Mon Nov 21, 2005 6:59 am Post maybe stupid 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. . . |
|
Back to top |
|
 |
i88gerbils Oldbie Server Help

Gender: Joined: Dec 13 2002 Posts: 423 Location: OH Offline
|
Posted: Mon Nov 21, 2005 8:59 am Post maybe stupid 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. _________________ Oldbie Server Help |
|
Back to top |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:41 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: Mon Nov 21, 2005 11:28 am Post maybe stupid 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. |
|
Back to top |
|
 |
Chambahs Power attack

Joined: Jun 19 2005 Posts: 820 Offline
|
Posted: Mon Nov 21, 2005 12:25 pm Post maybe stupid Post subject: |
 |
|
|
|
i say go for python, even I learned it! lol |
|
Back to top |
|
 |
Cerium Server Help Squatter

Age:42 Gender: Joined: Mar 05 2005 Posts: 807 Location: I will stab you. Offline
|
Posted: Mon Nov 21, 2005 2:24 pm Post maybe stupid 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. _________________ There are 7 user(s) ignoring me right now. |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Mon Nov 21, 2005 2:27 pm Post maybe stupid 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++. |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Mon Nov 21, 2005 4:51 pm Post maybe stupid Post subject: |
 |
|
|
|
How about C++--++? _________________ This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him. |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Mon Nov 21, 2005 5:33 pm Post maybe stupid Post subject: |
 |
|
|
|
I'd prefer ++C--C++. |
|
Back to top |
|
 |
Quan Chi2 Member of "Sexy Teenagers that Code" Group

Age:34 Gender: Joined: Mar 25 2005 Posts: 860 Location: NYC Offline
|
Posted: Mon Nov 21, 2005 5:48 pm Post maybe stupid Post subject: |
 |
|
|
|
Okay, thanks for the advice guys. |
|
Back to top |
|
 |
Cerium Server Help Squatter

Age:42 Gender: Joined: Mar 05 2005 Posts: 807 Location: I will stab you. Offline
|
Posted: Mon Nov 21, 2005 6:57 pm Post maybe stupid Post subject: |
 |
|
|
|
That doesnt compile solo, you fail. |
|
Back to top |
|
 |
Contempt+ Server Help Squatter
Age:36 Gender: Joined: May 15 2005 Posts: 682 Location: Home Offline
|
Posted: Mon Nov 21, 2005 8:28 pm Post maybe stupid Post subject: |
 |
|
|
|
Yes it does, I just tried it.
Quote: | ++C--C++ - 0 error(s), 0 warning(s) |
_________________ SSE Network Administrator |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Mon Nov 21, 2005 8:58 pm Post maybe stupid Post subject: |
 |
|
|
|
Uhhh unless you have a file called ++C--C++, that quote is made up. |
|
Back to top |
|
 |
SamHughes Server Help Squatter

Joined: Jun 30 2004 Posts: 251 Location: Greenwich Offline
|
Posted: Mon Nov 21, 2005 11:50 pm Post maybe stupid Post subject: |
 |
|
|
|
C++: It adds to C, but the value returned is the same. |
|
Back to top |
|
 |
D1st0rt Miss Directed Wannabe

Age:37 Gender: Joined: Aug 31 2003 Posts: 2247 Location: Blacksburg, VA Offline
|
Posted: Tue Nov 22, 2005 12:22 pm Post maybe stupid Post subject: |
 |
|
|
|
I'm beginning to think that's your generic response for everything _________________
 |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Tue Nov 22, 2005 12:53 pm Post maybe stupid Post subject: |
 |
|
|
|
Cerium, shutup hoe, it's the name for the language, not the language itself.  |
|
Back to top |
|
 |
Quan Chi2 Member of "Sexy Teenagers that Code" Group

Age:34 Gender: Joined: Mar 25 2005 Posts: 860 Location: NYC Offline
|
Posted: Tue Nov 22, 2005 6:03 pm Post maybe stupid Post subject: |
 |
|
|
|
WTF!
What are you guys talking about!? |
|
Back to top |
|
 |
|