Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Programming languages..
Goto page 1, 2  Next
 
Post new topic   Reply to topic Printable version
 View previous topic  Halloween Post :: Post SSN Closed?  View next topic  
Author Message
Assassin2684
Server Help Squatter


Age:34
Gender:Not sure
Joined: Jul 27 2004
Posts: 990
Location: Florida
Offline

PostPosted: Mon Oct 25, 2004 6:22 pm   Post maybe stupid    Post subject: Programming languages.. Reply to topic Reply with quote

Ok so i really want to learn how to start programming and stuff like that. I was looking around and asked some people what the best to start out with and they said "python" was a good starter one and for somthing more helpful they said "HTML". But i wanted to check with the experenced ones first. So what do you guys think is a good starter if you kno a different or better one please tell me, im open to any ideas. Also if you have any sites to go with it, that would help alot to. Thanks.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
50% Packetloss
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Sep 09 2003
Posts: 561
Location: Santa Clarita, California
Offline

PostPosted: Mon Oct 25, 2004 7:12 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Mervbot is made with C++
Powerbot is made with C
TW-Core is made with Java (not java-script)

Those are the 3 main bots that are in use, so if you plan on programming for subspace then you might want to learn one of those languages. Personally I recommend starting off with C++. Then you wont have much trouble learning C, they are very similar. Java might be nice if you want to program crap, so if you are thinking about getting into programming you might need to learn it sooner or later. But your goal should be lower-level languages. These are languages that are the closest to speaking like a computer does. Ultimatly a programmer's goal should be ASM but it depends on what you want to be doing. You dont program PC programs in ASM usually, I personally use it for microcontrollers. Im told python is nice to start off with, you can use it to program ASSS modules too.

HTML is not a programming language, it is a scripting language. Programs read HTML for websites and such, you can not write a program with it.

There are endless amounts of C++ websites but I recommend that you purchase a book, the C++ for Dummies book is nice (as are most of the Dummies books). Many people do not like programming, so hopefully you can figure out if this is your cup of tea. Of my class of 30 or so people, only 2 people understood and enjoyed programming. If you want to start programming because you think you can design video games or something along those lines, you probably have 10 years of programming before you reach that point. There is a lot to know, books will teach you the basics but beyond that takes practice and lots of examples. Hopefully that helps you out.
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Mr Ekted
Movie Geek


Gender:Gender:Male
Joined: Feb 09 2004
Posts: 1379
Offline

PostPosted: Mon Oct 25, 2004 7:56 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

I recommend that you do not learn a new language from any source that begins chapter 1 with dogma. Find something that teaches from the ground up, so you have a basis to understand the building blocks you are learning. For example, any C++ book (or class) that has anything to do with cin/cout on day 1 is total garbage. Alas, I have no specific recommendations.
_________________
4,691 irradiated haggis!
Back to top
View users profile Send private message Add User to Ignore List
SuSE
Me measures good


Joined: Dec 02 2002
Posts: 2307
Offline

PostPosted: Mon Oct 25, 2004 8:11 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

50% Packetloss wrote:
you probably have 10 years of programming before you reach that point

no offense to the fiddy, but imo if it takes you 10 years to do _anything_ like that, you should get out of the doing business
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Assassin2684
Server Help Squatter


Age:34
Gender:Not sure
Joined: Jul 27 2004
Posts: 990
Location: Florida
Offline

PostPosted: Mon Oct 25, 2004 8:16 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Well i will look foat stuff you guys said, i will also look for the C++ for dummies book. I think i could make this a hobby for me, i really want to do somthing interesting and fun and mabey i can make somthing out of it icon_biggrin.gif So i will look for that stuff, if you guys have any websites for like tutorials on C++ that would help me out. Thanks.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Mon Oct 25, 2004 8:54 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Learn Java, then Learn C++, then learn C.

Anyone who disagrees with this can go suck an egg.
_________________
Hyperspace Owner

Smong> so long as 99% deaths feel lame it will always be hyperspace to me
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Mon Oct 25, 2004 9:10 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

I agree with Brain there, if you don't understand Java, then you ain't going to understand C/C++...
_________________
Performance is often the art of cheating carefully. - James Gosling
Back to top
View users profile Send private message Add User to Ignore List
50% Packetloss
Server Help Squatter


Age:40
Gender:Gender:Male
Joined: Sep 09 2003
Posts: 561
Location: Santa Clarita, California
Offline

PostPosted: Tue Oct 26, 2004 3:21 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

Java might be more useful to you, especially if you want to do graphics stuff. I learned C++ first but personally I like C better. I havent tried java, going to see if I can get in the class next semester. Might as well get some credits if Im going to learn it. You should find a book that doesnt dick around, the Dummies books are a little more entertaining than the rest, so you might run into some crappy coding in the book. Read sections then look up more info on the subject on the internet, most importantly is to write a program with the knowledge you obtain from a section in the book. Something small for each section and it will help you out a lot. Youll need a compiler, Visual C++ is my favorite IDE but any of the free ones will work.
Back to top
View users profile Send private message Add User to Ignore List Send email AIM Address
Mr Ekted
Movie Geek


Gender:Gender:Male
Joined: Feb 09 2004
Posts: 1379
Offline

PostPosted: Tue Oct 26, 2004 5:05 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

It also helps to pick a project that is challenging and fun for you as a goal. Nothing helps learning more than a real world example. What's your interest? Graphics? User interface? Networking? Databases? You should try to pick something that could be reasonably completed in, say, a month. If you've never programmed before, it probably needs to be something fairly simple. Once you decide what language and what interest(s) you have, we can probably direct you further.
Back to top
View users profile Send private message Add User to Ignore List
SuSE
Me measures good


Joined: Dec 02 2002
Posts: 2307
Offline

PostPosted: Tue Oct 26, 2004 10:07 am   Post maybe stupid    Post subject: Reply to topic Reply with quote

You should always make an entire operating system for your first project. Even if you're starting with Java or Perl. It should be better than GNU/Linux, at least.

Get to it.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website
Onlyone
Newbie


Joined: Jul 26 2004
Posts: 13
Offline

PostPosted: Tue Oct 26, 2004 11:21 am   Post maybe stupid    Post subject: Easy Reply to topic Reply with quote

My C class gave me this piece of shit book that i spent like 80 dollars on. This C programming in Easy Steps that i bought at Barnes and Noble for like 10 dollars is actually better than the crap they gave me for this class ... and its in color tongue.gif If you walk over to the computer section at Barnes & Noble they got a shit load of these programming books all for 10 dollars. Just a good place to start.
Back to top
View users profile Send private message Add User to Ignore List
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Tue Oct 26, 2004 2:19 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

SuSE wrote:
You should always make an entire operating system for your first project. Even if you're starting with Java or Perl. It should be better than GNU/Linux, at least.

Get to it.

Mine was in VB, it's called Windows.
Back to top
View users profile Send private message Add User to Ignore List
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Tue Oct 26, 2004 4:26 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

You made windows? And in VB?

Explains a great deal, my friend, a great deal.
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Tue Oct 26, 2004 4:31 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

icon_smile.gif
Back to top
View users profile Send private message Add User to Ignore List
Assassin2684
Server Help Squatter


Age:34
Gender:Not sure
Joined: Jul 27 2004
Posts: 990
Location: Florida
Offline

PostPosted: Tue Oct 26, 2004 4:34 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Ok i will look into barns and noble. Also i will prolly be looking into like graphics and maby databases and networking, or somthing on the lines of that. I will see if i can go get a book this weekend or mabey this week some time. So thanks guys for your help and i will tell you when i have the book or somthing liek that and see where to go form there biggrin.gif Thanks.
Back to top
View users profile Send private message Add User to Ignore List AIM Address
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Tue Oct 26, 2004 4:51 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

You can make OS shells w/ VB; but can't make an OS in VB.. LOL
Back to top
View users profile Send private message Add User to Ignore List
Cyan~Fire
I'll count you!
I'll count you!


Age:37
Gender:Gender:Male
Joined: Jul 14 2003
Posts: 4608
Location: A Dream
Offline

PostPosted: Tue Oct 26, 2004 4:55 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

C++ Tutorial

That's what I started with. That's what I'm happy with. Now I know Ekted's going to get mad at me for my preaching "dogma", but printf() and all that is just as dogmatic. And it's harder for a newbie.

Buying a programming book is a waste of time, in my opinion, since you'll only use it once.
_________________
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
View users profile Send private message Add User to Ignore List Visit posters website
Mr Ekted
Movie Geek


Gender:Gender:Male
Joined: Feb 09 2004
Posts: 1379
Offline

PostPosted: Tue Oct 26, 2004 5:29 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

You are right. I wouldn't teach printf either.
Back to top
View users profile Send private message Add User to Ignore List
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Tue Oct 26, 2004 5:45 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Never learned about printf or sprintf in my classes; looked it up on my own. So they must have been doing something right. haha.
Back to top
View users profile Send private message Add User to Ignore List
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:41
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3615
Location: Las Vegas
Offline

PostPosted: Tue Oct 26, 2004 8:31 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Format Specification Fields: printf and wprintf Functions
Contains everything you need to know about printf and %'s. But be warned, as I believe Ekted is hinting at, loose printf usage can easily cause problems. If a string isn't null terminated, a sprintf with a %s on that varible will easily cause overflows.
Back to top
View users profile Send private message Add User to Ignore List Send email
Mr Ekted
Movie Geek


Gender:Gender:Male
Joined: Feb 09 2004
Posts: 1379
Offline

PostPosted: Tue Oct 26, 2004 8:37 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

That's not really my point. It's just overwhelming for a new programmer to deal with serious I/O in "chapter 1".
Back to top
View users profile Send private message Add User to Ignore List
Mine GO BOOM
Hunch Hunch
What What
Hunch Hunch<br>What What


Age:41
Gender:Gender:Male
Joined: Aug 01 2002
Posts: 3615
Location: Las Vegas
Offline

PostPosted: Tue Oct 26, 2004 9:55 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

I got along fine. Just remember that gets() is input, and printf("%s", string) is for characters, while printf("%d", digits) is for numbers, and adding a \n in any output is a new line.

Trying to get them to do scanf or other things is what boggles people's mind. Hell, for simple programs, I still do gets() -> atoi().
Back to top
View users profile Send private message Add User to Ignore List Send email
Dr Brain
Flip-flopping like a wind surfer


Age:39
Gender:Gender:Male
Joined: Dec 01 2002
Posts: 3502
Location: Hyperspace
Offline

PostPosted: Tue Oct 26, 2004 10:14 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Cout isn't that bad to deal with for a newbie. They won't understand how the stream operators work, of course, but they always get the idea. Printf is probably slightly more mystifying to the inexperinced.
Back to top
View users profile Send private message Add User to Ignore List AIM Address Yahoo Messenger MSN Messenger
Mr Ekted
Movie Geek


Gender:Gender:Male
Joined: Feb 09 2004
Posts: 1379
Offline

PostPosted: Tue Oct 26, 2004 10:25 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

I never use scanf() in any program. And if you are going to use iostream, you might as well prgram in VB.
Back to top
View users profile Send private message Add User to Ignore List
Onlyone
Newbie


Joined: Jul 26 2004
Posts: 13
Offline

PostPosted: Wed Oct 27, 2004 4:07 pm   Post maybe stupid    Post subject: Reply to topic Reply with quote

Out of curiosity ... whats wrong with iostream?
Back to top
View users profile Send private message Add User to Ignore List
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> Trash Talk All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 394 page(s) served in previous 5 minutes.

phpBB Created this page in 0.674186 seconds : 49 queries executed (70.2%): GZIP compression disabled