Author |
Message |
Assassin2684 Server Help Squatter

Age:34 Gender: Joined: Jul 27 2004 Posts: 990 Location: Florida Offline
|
Posted: Mon Oct 25, 2004 6:22 pm Post maybe stupid Post subject: Programming languages.. |
 |
|
|
|
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 |
|
 |
50% Packetloss Server Help Squatter

Age:40 Gender: Joined: Sep 09 2003 Posts: 561 Location: Santa Clarita, California Offline
|
Posted: Mon Oct 25, 2004 7:12 pm Post maybe stupid Post subject: |
 |
|
|
|
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 |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Mon Oct 25, 2004 7:56 pm Post maybe stupid Post subject: |
 |
|
|
|
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 |
|
 |
SuSE Me measures good

Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: Mon Oct 25, 2004 8:11 pm Post maybe stupid Post subject: |
 |
|
|
|
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 |
|
 |
Assassin2684 Server Help Squatter

Age:34 Gender: Joined: Jul 27 2004 Posts: 990 Location: Florida Offline
|
Posted: Mon Oct 25, 2004 8:16 pm Post maybe stupid Post subject: |
 |
|
|
|
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 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 |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Mon Oct 25, 2004 8:54 pm Post maybe stupid Post subject: |
 |
|
|
|
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 |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Mon Oct 25, 2004 9:10 pm Post maybe stupid Post subject: |
 |
|
|
|
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 |
|
 |
50% Packetloss Server Help Squatter

Age:40 Gender: Joined: Sep 09 2003 Posts: 561 Location: Santa Clarita, California Offline
|
Posted: Tue Oct 26, 2004 3:21 am Post maybe stupid Post subject: |
 |
|
|
|
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 |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Tue Oct 26, 2004 5:05 am Post maybe stupid Post subject: |
 |
|
|
|
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 |
|
 |
SuSE Me measures good

Joined: Dec 02 2002 Posts: 2307 Offline
|
Posted: Tue Oct 26, 2004 10:07 am Post maybe stupid Post subject: |
 |
|
|
|
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 |
|
 |
Onlyone Newbie
Joined: Jul 26 2004 Posts: 13 Offline
|
Posted: Tue Oct 26, 2004 11:21 am Post maybe stupid Post subject: Easy |
 |
|
|
|
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 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 |
|
 |
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 Oct 26, 2004 2:19 pm Post maybe stupid Post subject: |
 |
|
|
|
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 |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Tue Oct 26, 2004 4:26 pm Post maybe stupid Post subject: |
 |
|
|
|
You made windows? And in VB?
Explains a great deal, my friend, a great deal. |
|
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 Oct 26, 2004 4:31 pm Post maybe stupid Post subject: |
 |
|
|
|
 |
|
Back to top |
|
 |
Assassin2684 Server Help Squatter

Age:34 Gender: Joined: Jul 27 2004 Posts: 990 Location: Florida Offline
|
Posted: Tue Oct 26, 2004 4:34 pm Post maybe stupid Post subject: |
 |
|
|
|
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 Thanks. |
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Tue Oct 26, 2004 4:51 pm Post maybe stupid Post subject: |
 |
|
|
|
You can make OS shells w/ VB; but can't make an OS in VB.. LOL |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Tue Oct 26, 2004 4:55 pm Post maybe stupid Post subject: |
 |
|
|
|
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 |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Tue Oct 26, 2004 5:29 pm Post maybe stupid Post subject: |
 |
|
|
|
You are right. I wouldn't teach printf either. |
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Tue Oct 26, 2004 5:45 pm Post maybe stupid Post subject: |
 |
|
|
|
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 |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:41 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: Tue Oct 26, 2004 8:31 pm Post maybe stupid Post subject: |
 |
|
|
|
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 |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Tue Oct 26, 2004 8:37 pm Post maybe stupid Post subject: |
 |
|
|
|
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 |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:41 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: Tue Oct 26, 2004 9:55 pm Post maybe stupid Post subject: |
 |
|
|
|
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 |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Tue Oct 26, 2004 10:14 pm Post maybe stupid Post subject: |
 |
|
|
|
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 |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Tue Oct 26, 2004 10:25 pm Post maybe stupid Post subject: |
 |
|
|
|
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 |
|
 |
Onlyone Newbie
Joined: Jul 26 2004 Posts: 13 Offline
|
Posted: Wed Oct 27, 2004 4:07 pm Post maybe stupid Post subject: |
 |
|
|
|
Out of curiosity ... whats wrong with iostream? |
|
Back to top |
|
 |
|