Old 04-11-2007, 01:46 PM   #11 (permalink)
Marios's Mustache Wax
 
raitodn's Avatar
 
Join Date: Apr 2007
Posts: 17
raitodn is on a distinguished road
Send a message via ICQ to raitodn Send a message via MSN to raitodn
Default

agree c++ is better, c++ is Object-oriented programming. What make things a lots easier . Imo Inheritance, Encapsulation, Abstraction, Polymorphism are very important if you want to have a good arranged programm, I dont know if those things are necessary for writing a game.

well in my opinion java is better at those things then c++.
raitodn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-12-2007, 06:43 AM   #12 (permalink)
Dante’s Inferno
 
naruto1327's Avatar
 
Join Date: May 2006
Location: OLD PROFILE. NEW: NOODLEPOWA
Posts: 609
naruto1327 is on a distinguished road
Send a message via AIM to naruto1327 Send a message via MSN to naruto1327 Send a message via Yahoo to naruto1327
Default

Quote:
Originally Posted by raitodn View Post
agree c++ is better, c++ is Object-oriented programming. What make things a lots easier . Imo Inheritance, Encapsulation, Abstraction, Polymorphism are very important if you want to have a good arranged programm, I dont know if those things are necessary for writing a game.

well in my opinion java is better at those things then c++.
Object Oriented Programming is a style of programming, and C++ is not a style. However, you can use OOP with C++. The other things you've mentioned are important but not required for a program.

Example:
Code:
#include <iostream>
using namespace std;
int main()
{
int mainNum = 0;
int userInput;
cout << "Please enter an positive integer to continue, anything else to quit.\n";
while (cin >> userInput && userInput > 0)
{
mainNum += userInput;
cout << mainNum;
}
return 0;
}
naruto1327 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-12-2007, 11:45 AM   #13 (permalink)
Cloud's Hair Spray
 
landavia's Avatar
 
Join Date: Jul 2006
Posts: 61
landavia is on a distinguished road
Default

Quote:
Originally Posted by naruto1327 View Post
C is not more powerful than C++.
>>Again. I recommend C because most thing are written in C such as many programming languages and its faster than C++ and Java. And more powerful

yap nothing wrong from above statement. both of them was nothing wrong about it.
1. c is more fast.. but C dont have much power. because that reason.. C++ are built
2. C++ able to have more object than C. even soo.. using C++ or C is a not a big problem since both of them are relative
3. C++ more stronger but if you just build basic. consider use C.. if you create a big.. use C++..

how about C#.. i dunno
landavia is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-12-2007, 04:42 PM   #14 (permalink)
Marios's Mustache Wax
 
raitodn's Avatar
 
Join Date: Apr 2007
Posts: 17
raitodn is on a distinguished road
Send a message via ICQ to raitodn Send a message via MSN to raitodn
Default

@naruto:

sure but those things were really good if u work in a team, plus you can also make a small library. like prog1tools, you can use it to generate board to make board game, like chess etc.

Last edited by raitodn; 04-12-2007 at 05:37 PM.
raitodn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-12-2007, 08:48 PM   #15 (permalink)
42
 
Dennis56's Avatar
 
Join Date: Aug 2006
Location: дома
Posts: 945
Dennis56 is on a distinguished road
Send a message via AIM to Dennis56 Send a message via MSN to Dennis56 Send a message via Yahoo to Dennis56
Default

Quote:
Originally Posted by landavia View Post
>>Again. I recommend C because most thing are written in C such as many programming languages and its faster than C++ and Java. And more powerful

yap nothing wrong from above statement. both of them was nothing wrong about it.
1. c is more fast.. but C dont have much power. because that reason.. C++ are built
2. C++ able to have more object than C. even soo.. using C++ or C is a not a big problem since both of them are relative
3. C++ more stronger but if you just build basic. consider use C.. if you create a big.. use C++..

how about C#.. i dunno
No No No No No!!
C DOES have power it is the most powerful language you can create anything in C thats why operating systems are built in C. C++ was made in C so C can do anything C++ can do.
Dennis56 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-13-2007, 12:01 PM   #16 (permalink)
Marios's Mustache Wax
 
raitodn's Avatar
 
Join Date: Apr 2007
Posts: 17
raitodn is on a distinguished road
Send a message via ICQ to raitodn Send a message via MSN to raitodn
Default

dennis, you can't make an object in C. In C you can only make structure.
raitodn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-13-2007, 07:57 PM   #17 (permalink)
42
 
Dennis56's Avatar
 
Join Date: Aug 2006
Location: дома
Posts: 945
Dennis56 is on a distinguished road
Send a message via AIM to Dennis56 Send a message via MSN to Dennis56 Send a message via Yahoo to Dennis56
Default

Quote:
Originally Posted by raitodn View Post
dennis, you can't make an object in C. In C you can only make structure.
I know. Just because a language doesn't support OOP and a tiny bit other features doesn't mean it's any less powerful. C is more low-leveled than C++ therefore it is harder to code because you have to work around items. However the lower leveled it is the faster a program is.
Dennis56 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 04-14-2007, 08:30 AM   #18 (permalink)
Cloud's Hair Spray
 
landavia's Avatar
 
Join Date: Jul 2006
Posts: 61
landavia is on a distinguished road
Default

thx for correcting me..
well i do suggest to use C than C++ if the game are only simple..
but simple or not.. it will discover after a few moment your working on it.

or probably my mind is more complicated??
landavia is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2007, 09:50 AM   #19 (permalink)
Marios's Mustache Wax
 
Join Date: Jun 2007
Posts: 3
Phatguy is on a distinguished road
Default

More looks like veryone is recommending the language they use themselfe

However i read these posts about comparing C and C++, and all i can say that i would use C++ (and i am ,and its not the only language i know or atleast learn..).

I believe C and C++ are the same level, talking about low and high level languages.. Tell me one thing C can do and C++ cant? But there are lots of things C++ are improved in compared to C, as many say 'C++ a better C'.
And suggesting C++ is a good thing, because even if want to use some C style thing in your C++ application, you can use it because C++ allows it.. Same as ASM with asm tags if you want to interact with some hardware or something.
P.S i never coded in Java, but i would probably never suggest to code a game in java if it can be coded in C++.. Programs i have seen in java are much slower, and if you code a game and the speed and resources must be at top, i dont know if java is the language you are looking for..

But this is what i think, we all probably have our own opinions
Phatguy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-02-2007, 12:24 PM   #20 (permalink)
Banned
 
TwitcH's Avatar
 
Join Date: May 2006
Posts: 2,053
TwitcH is on a distinguished road
Default

Quote:
Originally Posted by Phatguy View Post
Tell me one thing C can do and C++ cant?
Tell me one thing C++ can do that C can't.
TwitcH is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT. The time now is 11:04 PM.


Powered by vBulletin® Version 3.7.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Onrpg, Copyright ©2003-2008, Spil Games