Solved

Simple.  Just want info for C

Posted on 1998-09-09
4
197 Views
Last Modified: 2010-04-15
I have previously only had dealings in pascal, and am anxious to learn a powerful language that will allow for modem-game creation.  I figure, my main 3 choices are pascal, c, or c++ (which i still am not aware of the diff. between c and c++)

If someone could tell me:

Why is c more powerful than pascal?  Will it be an appropriate language for a modem-game to be created in? (nothing graphics intensive)  And if so, what compilers are the 'standard' or what should i be looking for in a good compiler?
0
Comment
Question by:hansell
4 Comments
 
LVL 2

Expert Comment

by:duneram
ID: 1252588
what a loaded question you picked.  everyone will have their favorites.  If you choose pascal use Delphi (thats borland's implementation of pascal (they own the language)).

powerful:  thats a question that depends on context.  What is your definition of powerful?
is it performance?  is it based on relaxed rules?  

in general c is much more lax than pascal....  does that make it more powerful?  it might, but it depends on what you mean when you say powerful...


0
 

Author Comment

by:hansell
ID: 1252589
I geuss what i'm going after is that it seams to me that no major developing companies ever release major programs written in Pascal. (I haven't really researched this, but have come across programs that have been written in C, that are very impressive)  And games like the ever popular Quake, was written in a C variant.  This just made my mind think that something obviously has to be better about it?  

I guess i'm really looking for the best language to write a simple 2d game that will me modem capable.  I suppose pascal and c could both easily carry the load, but i geuss i'm also looking for the language that will best serve me in the future.  Seems to me that C has quite a big future ahead of it?  Yes?  No?
0
 

Accepted Solution

by:
MicroSeyed earned 50 total points
ID: 1252590
In Actually C++ Coming as Encapsulate C, and Wiht More Library  Files and Functions Thate Before Not Been  Installed Besides Of That Now There Developer For c++ Coming From Borlandc To Make Develope For Program Under Windows/HTML/Or Other System (System 7 / Unix .. Or Whatever ) Besides Of That C++ Is More Power  Than Other Language Because It Can Integraged With Them.

But If You  Want My Suggestion GoTo  Visual Basic 5 You Will Get any thing You Need In Your Program and With Easyest Way ...


Thanks

0
 
LVL 16

Expert Comment

by:imladris
ID: 1252591
C (or C++) are frequently the language of choice for performance intensive applications because C supports "low-level" manipulation of hardware. For instance C supports bitwise operations directly in the language. It also directly supports pointers to memory areas. The increment operator also frequently saves CPU cycles. In addition, many C compilers support in line assembly language. These things can add up to a substantial difference if used properly. And this was part of C's original mandate. C was created as a demonstration that an operating system (a very performance sensitive program!) could be written in a high-level language (as opposed to assembler in which it had always been done before).
Pascal, on the other hand, was created to be a teaching language; to encourage proper coding technique by, at least in part, not providing the opportunity to do things the "wrong" way.

0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
Summary: This tutorial covers some basics of pointer, pointer arithmetic and function pointer. What is a pointer: A pointer is a variable which holds an address. This address might be address of another variable/address of devices/address of fu…
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand how to create, access, and change arrays in the C programming language.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now