QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

Coding Language

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 ...

Reply
 
LinkBack Thread Tools
Old 07-30-2005, 09:20 AM   #1
 
Join Date: Apr 2006
Location: Grand Line
Posts: 5,997
Trader Feedback: 0
Default Coding Language

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]
KINGOFNOOBS is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-30-2005, 09:25 AM   #2
 
OblivionX's Avatar
 
Join Date: Jun 2005
Posts: 1,177
Trader Feedback: 0
Default

download a c++ for dummies ebook, ther really good, the names a bit insulting but the content is good for beginners.
__________________
I Explode Out And The Peace Is No More Bathed In New Light I Cry And Cry - Disconnected
OblivionX is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-30-2005, 09:25 AM   #3
 
Vale's Avatar
 
Join Date: Jun 2005
Posts: 279
Trader Feedback: 0
Default

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]
Vale is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-30-2005, 09:34 AM   #4
 
Join Date: Apr 2006
Location: Grand Line
Posts: 5,997
Trader Feedback: 0
Default

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]
KINGOFNOOBS is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-30-2005, 09:40 AM   #5
 
Vale's Avatar
 
Join Date: Jun 2005
Posts: 279
Trader Feedback: 0
Default

Quote:
Originally Posted by KINGOFNOOBS
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
Believe it or not i started with C. Many people choose not to, I had a friend who would give me software and stuff when i needed it and when i asked for Basic/visual basic compiler/books he said NO and gave me a c compiler, books, and tuts etc. But after learning quite a bit about c and c++ i learned VB, thats how i know its not near as good as C/C++ But seriously if your going to program for the PSP skip basic/vb and start learning c++ because most of the tutorials you learn in the begining stages of c++ programming can be uses as is in psp programming. a.k.a "printf" and in VB you don't learn about headers and stuff and PSP deving is all about headers and linking sources VB does it automatically so you don't learn enough from VB. PM me if you need any help on starting out in C/C++ programming. - Vale
__________________
[IMG]http://img.photobucket.com/albums/v470/WarpDevil/ZeroSiggy.jpg[/IMG]
Vale is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-30-2005, 10:05 AM   #6
 
Join Date: Jul 2005
Posts: 68
Trader Feedback: 0
Default

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;
}
And yes when I compile this I get this error:
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
tehhunter is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-30-2005, 10:14 AM   #7
 
Join Date: Apr 2006
Location: Grand Line
Posts: 5,997
Trader Feedback: 0
Default

Quote:
Originally Posted by tehhunter
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;
}
And yes when I compile this I get this error:
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
do those variables even equal each other? i wouldnt know but still
__________________
[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]
KINGOFNOOBS is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-30-2005, 10:22 AM   #8
 
Vale's Avatar
 
Join Date: Jun 2005
Posts: 279
Trader Feedback: 0
Default

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]
Vale is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-30-2005, 10:23 AM   #9
 
_pan_'s Avatar
 
Join Date: Jul 2005
Location: UK
Posts: 378
Trader Feedback: 0
Default

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.
_pan_ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-30-2005, 10:30 AM   #10
 
Yeldarb's Avatar
 
Join Date: Jul 2005
Posts: 984
Trader Feedback: 0
Default

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;
}
And see if that works.

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.
Yeldarb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-30-2005, 12:44 PM   #11
 
g1842's Avatar
 
Join Date: Jul 2005
Posts: 59
Trader Feedback: 0
Default

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.
g1842 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-30-2005, 01:01 PM   #12
 
Yeldarb's Avatar
 
Join Date: Jul 2005
Posts: 984
Trader Feedback: 0
Default

And C and C++ are nearly identical until you get into the advanced stuff (C doesn't have objects)
Yeldarb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-30-2005, 03:23 PM   #13
PREMIUM Member
 
Join Date: Jun 2005
Posts: 19
Trader Feedback: 0
Default

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.
EPChris is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-30-2005, 03:35 PM   #14
 
Yeldarb's Avatar
 
Join Date: Jul 2005
Posts: 984
Trader Feedback: 0
Default

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.
Yeldarb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-31-2005, 12:14 AM   #15
 
Join Date: Jul 2005
Posts: 9
Trader Feedback: 0
Default

what would i need to get started learning the language and coding (in general, i would like to start out with whatevers easiest, windows or psp)
Def-E is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-31-2005, 06:13 AM   #16
 
Join Date: Jul 2005
Posts: 68
Trader Feedback: 0
Default

Quote:
Originally Posted by Def-E
what would i need to get started learning the language and coding (in general, i would like to start out with whatevers easiest, windows or psp)
PSP won't be easiest. Learning C/C++ on windows would be hard for a new programmer. If you are committed, you can learn all the basic parts of a language within 4-5 hours (including time to download/install/learn). It just takes a little effort.

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++.
tehhunter is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-31-2005, 06:40 AM   #17
 
crashNburn's Avatar
 
Join Date: Jun 2005
Location: NYC, NY
Posts: 48
Trader Feedback: 0
Default

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.
crashNburn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-31-2005, 09:39 AM   #18
 
Yeldarb's Avatar
 
Join Date: Jul 2005
Posts: 984
Trader Feedback: 0
Default

HTML isn't a programing language, it's a markup language. The programming language that goes with HTML (client side) is javaScript.
Yeldarb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-31-2005, 10:19 AM   #19
 
_pan_'s Avatar
 
Join Date: Jul 2005
Location: UK
Posts: 378
Trader Feedback: 0
Default

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).
_pan_ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-31-2005, 11:34 AM   #20
 
Join Date: Jul 2005
Posts: 9
Trader Feedback: 0
Default

do you guys know of any tutorials or programs i could start out reading/using ?
Def-E is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-31-2005, 11:44 AM   #21
 
Yeldarb's Avatar
 
Join Date: Jul 2005
Posts: 984
Trader Feedback: 0
Default

Def-E, for what language?
Yeldarb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-31-2005, 11:47 AM   #22
 
Join Date: Jul 2005
Posts: 9
Trader Feedback: 0
Default

for c++
Def-E is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-31-2005, 11:48 AM   #23
 
Yeldarb's Avatar
 
Join Date: Jul 2005
Posts: 984
Trader Feedback: 0
Default

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.
Yeldarb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-31-2005, 11:50 AM   #24
 
Join Date: Jul 2005
Posts: 9
Trader Feedback: 0
Default

seen thanks yo, ill check it out... in a bit, playing vba
Def-E is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-31-2005, 06:30 PM   #25
 
crashNburn's Avatar
 
Join Date: Jun 2005
Location: NYC, NY
Posts: 48
Trader Feedback: 0
Default

Quote:
Originally Posted by Yeldard
HTML isn't a programing language, it's a markup language. The programming language that goes with HTML (client side) is javaScript.
I don't feel that matters. If he hasn't had much experience with any other language, HTML is a fine start.

Quote:
Originally Posted by _pan_
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).
I never said it was advanced, I said it was convenient (at least for me), but that it wasn't a good thing to start out with.
crashNburn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-31-2005, 06:43 PM   #26
 
Join Date: Apr 2006
Location: Grand Line
Posts: 5,997
Trader Feedback: 0
Default

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]
KINGOFNOOBS is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-31-2005, 06:51 PM   #27
 
crashNburn's Avatar
 
Join Date: Jun 2005
Location: NYC, NY
Posts: 48
Trader Feedback: 0
Default

I'd just go right to C++ then, it's not very difficult...

EDIT: Or just start for the PSP if you already know C++. I need to start reading more posts...
crashNburn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-31-2005, 06:53 PM   #28
 
Join Date: Apr 2006
Location: Grand Line
Posts: 5,997
Trader Feedback: 0
Default

Quote:
Originally Posted by crashNburn
I'd just go right to C++ then, it's not very difficult...
yea.. but u better be ready to learn.. and pay alot of attention
__________________
[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]
KINGOFNOOBS is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 07-31-2005, 06:56 PM   #29
 
crashNburn's Avatar
 
Join Date: Jun 2005
Location: NYC, NY
Posts: 48
Trader Feedback: 0
Default

Quote:
Originally Posted by KINGOFNOOBS
yea.. but u better be ready to learn.. and pay alot of attention
True
crashNburn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
coding , language

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 04:33 AM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us