![]() |
|
#1
|
||||
|
||||
|
All of the programming I would show you is for your computer on a C++ compiler. I personally use Visual C++ 6.0 Once you can master all of these commands with C++, then you will be that much further with advance programming on the psp. I would start with the basics like expalining variables and data types and showing input and output commands onto your computer screen. Then I would move up to loops such as the for loop, while loop and do-while loop. From there I would go on to operators, switch cases and factorials. From there I would go into the more important commands such as arrays and pointers and math functions where you can calculate volumes and quadratic equations. Then maybe move on to what is used most in psp programming which is functions and classes and structures. Keep in mind that all I have mentioned so far is just the BASIC of C++ programming. If there is a demand for more programming lessons, I will go into the more advance lessons of C++ such as constructors and destructors, pointers, dynamic arrays, pointer casting, dynaimic varibles and templates. Please note that in order to start any programming, You will need a C++ compiler.
__________________
Want to become a PSP Dev the easy way? Check out my tutorial for the PSP here http://www.psp-hacks.com/forums/f141...orial-t152466/ Want to learn how to create your own games on the PSP? Check out my tutorial here http://www.psp-hacks.com/forums/f141...-your-t153653/ Want to learn how to program C++ ? Check out that tutorial here http://www.psp-hacks.com/forums/f124...ram-c-t122337/ |
|
#2
|
||||
|
||||
|
I am interested in it. I use MS visual C++ 6.0 pro too.
I just finished taking starter classes in it but my teacher suckes and cant teach. So I didnt learn that much. O_o |
|
#3
|
|||
|
|||
|
I'm interested as well, but give me a week to get my feet wet with LUA.
__________________
PSP homebrew hacks news tutorials PS3 Blog Big Ass Debate Forums - My training ground |
|
#4
|
|||
|
|||
|
do you two not realise this is PsDonkey? what the hell? i thought you both would have had enough of this guy.
|
|
#5
|
||||
|
||||
|
So how far are you guys with your knowledge of C++ ? As soon as a couple more people come in that are interested, I will start the tutorials.
__________________
Want to become a PSP Dev the easy way? Check out my tutorial for the PSP here http://www.psp-hacks.com/forums/f141...orial-t152466/ Want to learn how to create your own games on the PSP? Check out my tutorial here http://www.psp-hacks.com/forums/f141...-your-t153653/ Want to learn how to program C++ ? Check out that tutorial here http://www.psp-hacks.com/forums/f124...ram-c-t122337/ |
|
#6
|
|||
|
|||
|
Quote:
Quote:
__________________
PSP homebrew hacks news tutorials PS3 Blog Big Ass Debate Forums - My training ground |
|
#7
|
|||
|
|||
|
PSdonkey, what do you mean by your sig? Why would you be banned?
|
|
#8
|
|||
|
|||
|
i'm game
__________________
|
|
#9
|
|||
|
|||
|
Hmm... does this involve how to play videos on your psp? :paranoid:
__________________
july 19 |
|
#10
|
||||
|
||||
|
It's just my sig because I thought it was cool.
Since lord is at -10% I will start with the very beginning and basicis of programming in C++ OK Lesson #1 First thing is first. You need to create your own folder so you can put all your C++ programming files that you are going to make in here. Goto where you would like to store your files like in the C: drive or on your desktop and right click your mouse and goto new then click on folder. Go ahead and name your folder anything you want like C++ or programming or any name. Now open up your C++ compiler program. Once again I use Visual C++ 6.0 so the steps I will give on operating the compiler program will be on Visual C++ 6.0. However, any C++ compiler should work almost the same. I believe you can download an express version here. http://www.megaupload.com/?d=XA4XTOAR Once you open your visual C++ program, goto file - new. Then goto the files tab and click on C++ source file. Then in the file name box, type in the name that you want your file to be called like Lesson1. Then in the location box, go ahead and find where you created your new folder and point it to that location. Now we can begin programming. The very first line in all your programs will be this. #include <iostream> This is basicaly a header file that means input and output streaming. This is in order to use the command "cout" which is used to display text on your screen. The next line of command that you will use on most programs is int main() Don't worry about this as it just means that you will be able to view the results of your progam on your screen. The command "cout" is for when you want something to display on your screen and "<<" are called insert operations. ok, here is the very first program. ------------------------- #include <iostream> using namespace std; int main() { cout << "This is my first C++ program"; } ------------------------ Your entire program after int main() must be between two braces {}. This is telling the compiler to do everything within the braces. Also, after every command you give, you must place a semicolon after your command " ; " Now every text that you want to be typed o your screen must also be between two quotation marks " " I know this sounds complicated but believe me it will become alot easier once you get the hang of things Now compile your program by pressing the compile or build button at the top or simply goto build on the top and click on compile lesson1. At the bottem of your screen you should see the message " 0 warnings and 0 errors" That means that you have successfully compiled your first program. Now you need to execute the program. Goto build again and then click on execute lesson1. Your screen should now read " This is my first c++ program" Try creating your own small programs that displays any kind of text that you want on your screen. Place your questions that you have so far in your posts and then I will go into variables and data types in Lesson2
__________________
Want to become a PSP Dev the easy way? Check out my tutorial for the PSP here http://www.psp-hacks.com/forums/f141...orial-t152466/ Want to learn how to create your own games on the PSP? Check out my tutorial here http://www.psp-hacks.com/forums/f141...-your-t153653/ Want to learn how to program C++ ? Check out that tutorial here http://www.psp-hacks.com/forums/f124...ram-c-t122337/ |
![]() |
|
|
|||
|
|||
|
|
| Thread Tools | |
| Display Modes | |
|
|