![]() |
| Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact |
| ||||||
This is a discussion on Coding Language within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; I want to start learning how to code.. so i start with BASIC as we all know.. but when i ...
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 |
![]() |
I want to start learning how to code.. so i start with BASIC as we all know.. but when i master that then what..?
__________________
[CENTER][IMG]http://img130.imageshack.us/img130/1640/acefcbanner2wo9.gif[/IMG] [SIZE=1][B]I'm soo hot[/B][/SIZE] [/CENTER] [SIZE=2][CENTER][/SIZE][/CENTER] [center]Sorry. No Advertising[/center] |
|
|
|
|
|
#3 |
![]() |
first what are you programming for? windows? If so screw basic and go straight to Visual Basic. Basicly the same aspects. THen hop onto the C/C++ train because its the only language worth learning, all the other ones are just watered down versions of "C" making them weaker, "C" is the mother language. And then you may want to learn alittle bit aobut assembly.
C++ Compiler: http://www.bloodshed.net/devcpp.html C++ Tutorials: Tutorials Assembly:Tutorials
__________________
[IMG]http://img.photobucket.com/albums/v470/WarpDevil/ZeroSiggy.jpg[/IMG] |
|
|
|
|
|
#4 |
![]() |
thanks.. im programming for the psp but i have to have some experience with c++ and to have experience in that i assumed u would have to know some other langaugage before starting with C
__________________
[CENTER][IMG]http://img130.imageshack.us/img130/1640/acefcbanner2wo9.gif[/IMG] [SIZE=1][B]I'm soo hot[/B][/SIZE] [/CENTER] [SIZE=2][CENTER][/SIZE][/CENTER] [center]Sorry. No Advertising[/center] |
|
|
|
|
|
#5 | |
![]() |
Quote:
__________________
[IMG]http://img.photobucket.com/albums/v470/WarpDevil/ZeroSiggy.jpg[/IMG] |
|
|
|
|
|
|
#6 |
![]() |
Actually, vale, I have a quick question. I've used DevCPP before, and this problem has alwas happened to me.
So using some C++ tutorials, I put something like Code:
// operating with variables
#include <iostream.h>
int main ()
{
// declaring variables:
int a, b;
int result;
// process:
a = 5;
b = 2;
a = a + 1;
result = a - b;
// print out the result:
cout << result;
// terminate the program:
return 0;
}
Code:
Line 3: In file included from C:\(removed)\backward\iostream.h:31 from main.cpp Line 32,2: #warning This file includes at least one deprecated or antiquated header |
|
|
|
|
|
#7 | |
![]() |
Quote:
__________________
[CENTER][IMG]http://img130.imageshack.us/img130/1640/acefcbanner2wo9.gif[/IMG] [SIZE=1][B]I'm soo hot[/B][/SIZE] [/CENTER] [SIZE=2][CENTER][/SIZE][/CENTER] [center]Sorry. No Advertising[/center] |
|
|
|
|
|
|
#8 |
![]() |
Here is what i got:
Open: C:\Dev-Cpp\include\c++\backward\ iostream.h On Line 31: Delete #include "backward_warning.h" Instant Fix, its a small bug, if you open the backward_warning file you'll see it has that message in it, thats all so deleting it ther eis no consequence. Had that problem alot when i first started out ;p [edit] and you will get a no newline at end of file error unless you add a blank line under the final "}", just thought i'd throw that out there for a few people.
__________________
[IMG]http://img.photobucket.com/albums/v470/WarpDevil/ZeroSiggy.jpg[/IMG] |
|
|
|
|
|
#9 |
![]() |
why start with basic/vb? start with delphi or c++ - if you are prepared to learn, there's no reason under the sun why c++ is a no-no. delphi is a lot easier to pick up and play with tho, enabling you to learn fundamentals fast. you'll be writing clean delphi code long before you write clean c++.
don't bother with vb though - if you have enough motivation to really want to start, start with something else. |
|
|
|
|
|
#10 |
![]() |
Tehhunter, <iostream.h> is outdated and nonstandard. Use <iostream> instead, so:
Code:
#include <iostream.h>
using namespace::std;
int main ()
{
// declaring variables:
int a, b;
int result;
// process:
a = 5;
b = 2;
a = a + 1;
result = a - b;
// print out the result:
cout << result << '\n';
// terminate the program:
return 0;
}
Edit: But don't worry too much about warnings Errors are the killer ones. Your program will still compile with warnings... just sometimes won't work as expected.
|
|
|
|
|
|
#11 |
![]() |
Ok. Here's the low down. C++ is good to start learning. I'd recommend. Delphi is just as good as C++ is. Anything you can do in C++ you can in Delphi. But, I would highly recommend C++ for stuff more along the lines of backend apps.
|
|
|
|
|
|
#13 |
![]() PREMIUM Member
|
If you're going for PSP development, chances are C or C++ is the way to go, because afaik that's what the toolchains and libraries are set up for. If you're interested in learning programming in general, like learning good concepts and practices, try to learn a strict Object Oriented language like Java or Ruby (or go with PHP5 but stick to doing object oriented stuff). The benefits of learning good OO design and practices are too many to list.
|
|
|
|
|
|
#14 |
![]() |
Actually, from what I've seen, LUA (a scripting language that has been ported to the PSP) is much like BASIC (and Visual Basic).
So BASIC may also be a good start. Edit: But yes, you can only use C/C++ with the PSPSDK and the toolchain from PS2Dev. |
|
|
|
|
|
#16 | |
![]() |
Quote:
However I would suggest starting off with PHP on some free webserver (e.g. hostrocket.com/free). PHP is a great language to know, especially for when you want to learn about databases, things that you can use in C++. |
|
|
|
|
|
|
#17 |
|
I'd suggest HTML, while VB is nice for experienced programmers, it's not the best thing for beginners to start with. It might be easy, and convenient, but it leaves a lot of things out, that you should learn.
Either start with some basic stuff (you can write HTML in notepad, and then run it in internet explorer), or jump right to C or C++, but I wouldn't suggest VB right now. |
|
|
|
|
|
|
#19 |
![]() |
i wouldn't call vb an advanced programming language either - telling someone to learn c++ then maybe in the future they may be able to learn vb seems very backward. if you learn c++, you're going to have ZERO use for vb (aside from learning it just because you can).
|
|
|
|
|
|
#23 |
![]() |
I took a class in it, and I'd recommend the textbook (if I remembered what it was called), but www.cprogramming.com has some good tutorials IIRC.
|
|
|
|
|
|
#25 | ||
|
Quote:
Quote:
|
|||
|
|
|
|
|
#26 |
![]() |
HTML is really really easy to learn... its flash that bugs me.. im not that good at flash
__________________
[CENTER][IMG]http://img130.imageshack.us/img130/1640/acefcbanner2wo9.gif[/IMG] [SIZE=1][B]I'm soo hot[/B][/SIZE] [/CENTER] [SIZE=2][CENTER][/SIZE][/CENTER] [center]Sorry. No Advertising[/center] |
|
|
|
|
|
#28 | |
![]() |
Quote:
__________________
[CENTER][IMG]http://img130.imageshack.us/img130/1640/acefcbanner2wo9.gif[/IMG] [SIZE=1][B]I'm soo hot[/B][/SIZE] [/CENTER] [SIZE=2][CENTER][/SIZE][/CENTER] [center]Sorry. No Advertising[/center] |
|
|
|
|
![]() |
| Tags |
| coding , language |
| Thread Tools | |
|
|