The above video goes away if you are a member and logged in, so log in now!
I want to start programming!
I want to start programming! –
I want to know what's the best way to start.
I was thinking of learning C++ but I want to know if I will be able to use it right away on the PS3 scene, Payloads & Managers.
I'm not asking for tools or lessons. I just want some keywords like C or Unix.
Info that I can use for a good start.
I really want to learn so please move this if it's not on the right section.
Originally Posted by Natas999
I don't know the specifics of programming payloads for the PS3 just yet, but have looked for a little while at the open source toolchain. Yes, C and C++ are the way to go.
You are most likely going to benefit from having a linux development system, though IIRC the Sony SDK works on windows. I'll be staying away from that due to legal issues though. Are you familiar with linux? It's pretty easy to install as a dual-boot system on a PC. Most hobbyist folks seem to use Ubuntu these days.
Err, otherwise, go for it. Programming is mentally stimulating, not as hard as a lot of folks think and really good fun. If you've never done any programing before then maybe find yourself an intro to C/C++ tutorial on the net somewhere and just take a run at it.
Thanks for the reply.
Originally Posted by RatAndDragon
I've never used linux before but I know someone who is pretty familiar with it and he can help me out with that. I'm formatting my HDD pretty soon so that will be a good time to try the dual-boot option.
So yeah, I'll start reading the basics right away and Thanks for the comment.
I really appreciate it.
Instead of using a dual boot system you also could use VirtualBox or something like that... evilsperm for example created a ubuntu VM with the SDK and all needed stuff for programming for the ps3...
You haven't to change the basic system you use... You only start an Virtual one inside your basic sys...
Thanks for the info! I'll try out ubuntu VM.
Originally Posted by nEsCh
Oh, boy. This is the second one of these posts but here I go. First off, don't try to start programming on the PS3. You'll never want to program ever again. Second, you might not want to jump straight into C++. You might be able to handle it, a few people can, but if you end up being a hobby programmer, you'll want to start with something easier to learn.
Day 1 part 1) Learn HTML... I know this will sound weird to most programmers but seriously, if you can't learn and use HTML within a couple of hours, you won't be able to learn a programming language.
Day 1 part 2) Since HTML should take you like an hour maybe two to learn, and assuming you can use it, jump into a real programming language. Often the languages people recommend are either BASIC, C#, or python. You don't have to learn everything about the language you choose, just learn about the programming structures as they are universal between all languages (loops, if/thens,case switches, etc etc).
Day 2 part 1) Make some simple programs. Print text to the screen, take in user input, do things based on what the user does. Very basic things.
Day 2 part 2) Start learning C++. This will be pretty complicated at first. You might want to find a set of tutorials that teaches you object oriented C++ up front, instead of last.
Day 3 - 5) Continue learning C++... it'll take a while to sink in...
Day ???) Learn to use external libraries. Look at allegro, or SDL, or XNA, etc etc. This will be an important step as you can't just "learn C++" to program on the PS3, you'll have to use the SDK which is a bunch of libraries and tools to make your program. It includes new commands, so to speak, that are not part of the C++ programming language.
Day????) Make something with an external library. Make a game or something.
Finally) Port what you made to the PS3. Look through the SDK doc, find out how to achieve what you achieved in the library you used and change the commands to use the SDK instead.
Anyway. Installing the official SDK is just as easy on windows as it is on linux but if you want to use the legal one, I don't think there is a windows option yet. Know though that the free one is very lacking right now in functionality as it is very new so what you want to do you might not be able to accomplish with it yet.
Good luck :P
Learning Ruby is another thing to consider. I've found this to be a pretty entertaining learning tool for people who haven't programmed before.
why’s (poignant) guide to ruby
Another thing that helps is setting goals, milestones that you'd like to achieve along with projects, ideas, programs that you want to create.
It's going take a while though, months, maybe years until you get completely comfortable with diving into a new language or environment you've never used before and being able to figure out how to manipulate into working for you.
You might also want to do some reverse engineering tutorials. Leena's reversing for newbies is an awesome set of tuts that will give you an understanding of how programs work once compiled to machine code and how to manipulate them as you wish.
The next sentence is true. The previous sentence is false.
I agree with most of your post except this part.
Originally Posted by Slynk
BASIC has long been thought to be a bad idea for a learner programmer.
That said I started with it....
But if the guy wants to get into C/C++ then start here with some C, a few "hello world"s a couple of loops etc.
C ain't all that tricky and it''s very very useful. Still the world's second most used programming language after 40 years. I know, I know, somehow I've become a dinosaur and I'm only in my early 30s, but still
Python I approve of, though it feels a bit free-form. Nice for getting high-level stuff done fast because (as a C coder) it feels like I can just try writing what I want to do in pretty much any way I can think of and it works, syntax be damned. C# I have no idea about. Icky windows language....