View Single Post
  #3 (permalink)  
Old August 5th, 2005, 02:13 AM
Alan-LB Alan-LB is offline
Authorized User
 
Join Date: Mar 2005
Posts: 58
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via MSN to Alan-LB Send a message via Yahoo to Alan-LB
Default

Unless you are just considering the competition environment, you cant make a direct comparison between the speeds of the programs like that.

If you talk about the two languages in general, it would very much depend on which compilers you were going to use in the future and how they optimize the raw code.

Borland C++ 5.0 has now been superceded and the newer compilers may well produce faster code.

It may be better to make your decision on which Language to use on how widely C++ is used in comparison with Pascal. (Borland Pascal is now obsolete having given way to Delphi).

C++ with classes, templates, standard template libraries and other advanced facilities is a much more versatile language than Pascal (IMHO). (I have used both Botland Pascal since version 5.5 in 1990 and C++ since about 1993).

Certainly C++ is used far more widely than Pascal and also gives rise to many derivative languages such as Java, C# and several more.

Is the time limit on the running speed of your program or on how long it takes you to write the program and get it going? If it is the latter, then choose the language that you know the best.

Good luck

Alan




Reply With Quote