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!

Alright its christmas break, im gonna start out in c or c++, but which one?

This is a discussion on Alright its christmas break, im gonna start out in c or c++, but which one? within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Well its christmas break now and ive got 2 weeks to so a whole lot of nothin. Ive learned a ...

Reply
 
LinkBack Thread Tools
Old 12-17-2006, 06:55 PM   #1
 
Join Date: Aug 2006
Posts: 1,633
Trader Feedback: 0
Default Alright its christmas break, im gonna start out in c or c++, but which one?

Well its christmas break now and ive got 2 weeks to so a whole lot of nothin. Ive learned a good bit of lua, and im going to continue with it, but Id like to at least get a start in a more capable language AKA C/C++. And now im having some troubles deciding which. From what ive gathered so far it seems there is more support for C but C++ has more capabilities and i know someone who knows C++ and Lua who could maybe help me out getting into C++. Anyways, Id like some of your opinions. If you say ZOMG C SUCKS C++ FTW or ZOMG C++ SUCKS C FTW please back it up and explain things. I really want to make the right decision. Thanks!
TacticalPenguin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-17-2006, 07:00 PM   #2

<font color=black>Develo per
 
SuperBatXS's Avatar
 
Join Date: May 2006
Location: Behind you.
Posts: 1,813
Trader Feedback: 0
Default

Lol, i thought you didn't want me to go to C???? Lol......I asked you if i should go to C, but you said stay on Lua. But i might do the same by going to C and staying in Lua. I recommend going to C, not C++ cause C++ is more advanced (i learned a but C this summer but i stuck to lua).
__________________
Calypso - Enjoy the excellent 2D space shooter:
http://dl.qj.net/Calypso-v1-PSP-Home...6542/catid/195

"Quoting yourself in your signature means you love to masterbate while looking at the mirror." -me (oh, wait...)
SuperBatXS is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-17-2006, 07:02 PM   #3
 
Urza's Avatar
 
Join Date: Aug 2005
Posts: 4,540
Trader Feedback: 0
Default

Once you learn C it will be much easier for you to move into C++ at a later date.
Urza is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-17-2006, 07:06 PM   #4
 
Join Date: Aug 2006
Posts: 1,633
Trader Feedback: 0
Default

Super-Thats because you havent really made a lot in lua yet, nothin against you though, the way you were talkin about it it seemed like youd drop lua of the earth.

Urza - Ok, ill take that into consideration.
TacticalPenguin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-17-2006, 07:07 PM   #5

<font color=black>Develo per
 
SuperBatXS's Avatar
 
Join Date: May 2006
Location: Behind you.
Posts: 1,813
Trader Feedback: 0
Default

Quote:
Originally Posted by TacticalPenguin
Super-Thats because you havent really made a lot in lua yet, nothin against you though, the way you were talkin about it it seemed like youd drop lua of the earth.

Urza - Ok, ill take that into consideration.
Thanks for the hope i guess.....???
__________________
Calypso - Enjoy the excellent 2D space shooter:
http://dl.qj.net/Calypso-v1-PSP-Home...6542/catid/195

"Quoting yourself in your signature means you love to masterbate while looking at the mirror." -me (oh, wait...)
SuperBatXS is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-17-2006, 07:16 PM   #6
 
Moosecakes's Avatar
 
Join Date: Sep 2006
Location: Oregon
Posts: 367
Trader Feedback: 0
Default

C++ is a more advanced version of C so it's a bit more complicated. I took C++ for a semester my freshman year in HS. It was soooo ****ing boring you have no idea. I got tired of it beause of how simple the stuff he had us coding. Wheel of fortune etc etc, It was dumb. But I'm starting to learn more now that I came into PSP coding. I would start with C and then C++ so you know both.
Moosecakes is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-17-2006, 09:10 PM   #7
 
Join Date: Aug 2006
Posts: 1,633
Trader Feedback: 0
Default

Alright, thanks.
-= Double Post =-
Alright it seems so far ill be going with C, i also got 2 people recomending it in IMs. Anybody got something to give me some last thoughts?

Last edited by TacticalPenguin; 12-17-2006 at 09:10 PM.. Reason: Automerged Doublepost
TacticalPenguin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-17-2006, 09:10 PM   #8

lol
 
Anti-QuickJay's Avatar
 
Join Date: Aug 2006
Real First Name: Robert
Location: Whittier, CA
Just Played: Madden 10
Posts: 5,791
Trader Feedback: 0
Default

I suggest C, Thats what im doing and it seems to be easier to learn and makes it a better transition to C++
Anti-QuickJay is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-17-2006, 09:18 PM   #9

...in a dream...
 
SG57's Avatar
 
Join Date: Jul 2005
Posts: 4,957
Trader Feedback: 0
Default

'Be Thou for the People... what a load that is...'

I hope you realize anything you gain from this thread is nothing but opinions and stereotypes. Some find it easier than others when using C as a language, while others get fed up with compiler errors on a missing ';' at the end of each line. Everyone has different thresholds, and honestly, if you stick it out to the end and learn as you go, youll find your self in a secure state of C syntax knowledge youll find later-life C programming tobe but a mere recap of the 'good old days' (or so i believe...)

But in all honesty, although its an opinion, unless you have a very good reason why to use C over LUA, than its not worth it PSP-dev'ing wise. Being PSPless, ive now realized the power LUA has, and how sooooooooo many dont even tap into its full potential... Some like Shine and yoursam (iffy) are ones I find to have done this to an extent. Now what with LUA having GU functionality, there isnt any real reason to switch languages just for the sake of a feature in a game/app. Rotation is now easily achievable via textured quad, as is '3D' to put it lightly...

~ concludes massive opinion
__________________
SG57 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-17-2006, 09:23 PM   #10

SHOOP DA WHOOP
 
mannymix03's Avatar
 
Join Date: Aug 2005
Location: Wii forums
Posts: 7,404
Trader Feedback: 0
Default

uhm, unless you work really really hard you aren't going to learn C or C++ in a 2 week span, yeah you will learn alot, but to REALLY program, it takes a little longer then that. I'm not discouraging you, i'm just saying have realistic expectations and dont give up because you didn't reach them. I crammed a whole C++ class into one semester and i still know very little of the language, also i did some studying up on it on the side to advance faster, still i am a small dev at best
__________________
Required ReadingPiracy Policy |Positive Posting

mannymix03 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-17-2006, 09:25 PM   #11
 
Join Date: Aug 2006
Posts: 1,633
Trader Feedback: 0
Default

I never said Im ditching lua, in fact since i know as much lua as i do i probably will use lua over c for QUITE a while. I started at and learned the basics of the GU stuff, i learned how to use most of the system commands, i know how to do everything major in lua i know of except meta tables. I just want to get started on C or C++ for when i HAVE reached lua's limit and need to move on, and since ive got 2 weeks to do nothin, why not now? And I realize im just getting opinions, but im also seeing which language is more common and supported.
-= Double Post =-
Mannymix; Yes, I realize that, i know i wont get anywhere NEAR where i am in lua, but I just want to get started so when i have more time i can continue, and when i need to use C to do something i dont have to stop dead and start at a new language.

Last edited by TacticalPenguin; 12-17-2006 at 09:25 PM.. Reason: Automerged Doublepost
TacticalPenguin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-17-2006, 09:26 PM   #12

SHOOP DA WHOOP
 
mannymix03's Avatar
 
Join Date: Aug 2005
Location: Wii forums
Posts: 7,404
Trader Feedback: 0
Default

Quote:
Originally Posted by TacticalPenguin
I never said Im ditching lua, in fact since i know as much lua as i do i probably will use lua over c for QUITE a while. I started at and learned the basics of the GU stuff, i learned how to use most of the system commands, i know how to do everything major in lua i know of except meta tables. I just want to get started on C or C++ for when i HAVE reached lua's limit and need to move on, and since ive got 2 weeks to do nothin, why not now? And I realize im just getting opinions, but im also seeing which language is more common and supported.
In what i have seen, i tend to sway more to C++ then C, people say that if you learn C then C++ is easier, well it is a little bit, but i think its still about the same as just starting at C++

IMHO go with C++
__________________
Required ReadingPiracy Policy |Positive Posting

mannymix03 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-17-2006, 11:50 PM   #13
 
Join Date: Sep 2006
Location: Cape Town, South Africa
Posts: 717
Trader Feedback: 0
Default

Aren't metatables the closest thing Lua has to classes? In my opinion, start with C, C++ is object-orientated and it might be a bit confusing to learn both object-orientation and C/C++'s low-levelledness at the same time. Start with C then move to C++, IMO.
coolguy5678 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-17-2006, 11:57 PM   #14
PUAAAAAA!!!
 
Crushader's Avatar
 
Join Date: Jun 2006
Location: Unknown
Posts: 1,265
Trader Feedback: 0
Default

I would say C++
__________________
[CENTER]
[IMG]http://img.photobucket.com/albums/v334/Crushader/Adidas-Bulls-001-Trans.png[/IMG]
[/center]
Crushader is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-18-2006, 01:26 AM   #15

Developer
 
yaustar's Avatar
 
Join Date: Jun 2006
Location: UK
Posts: 2,317
Trader Feedback: 0
Default

Honestly? It doesn't matter. They are both syntactally the same. Just choose one and learn it. The early stages of both languages are pretty much the same. The only real difference is that C++ makes it easier to develop object orientated code and uses the Standard Template Library over the C Standard Library.
yaustar is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-18-2006, 01:56 AM   #16

Developer
 
jsharrad's Avatar
 
Join Date: Oct 2005
Real First Name: Justin
Location: Dubuque
Just Played: ..
Posts: 414
Trader Feedback: 0
Default

Just learn both and chose for yourself which one you prefer to use
__________________
PSP Demo Videos (updated 11/29/08)
MinerPSP Coder
jsharrad is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-18-2006, 06:21 AM   #17

Your Fate is Grim...
 
Grimfate126's Avatar
 
Join Date: Oct 2005
Posts: 2,269
Trader Feedback: 0
Default

i went from lua to C for 2 days, then went to C++. OOP is much easier than structs. once you learn more about classes, its even easier than lua arrays.


anyway, theyre both good. good luck.
__________________
--------------------------------------------------------------------------------------
Grimfate126 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 12-18-2006, 06:28 AM   #18
 
Join Date: Aug 2006
Posts: 1,633
Trader Feedback: 0
Default

Alright, thanks! I just got done with the hello world tut, but ps2dev is still down so i cant get psptoolchain to compile it with....
TacticalPenguin is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
alright , break , christmas , gonna , start

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:23 AM.



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