Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 random integers...help me please!
Index -> Programming, C++ -> C++ Help
Goto page Previous  1, 2, 3
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
md




PostPosted: Thu Jun 09, 2005 10:31 am   Post subject: (No subject)

betaflye wrote:

Lots of people learn machine code, machine code is worth learning, it should be meantioned it isn't portable among processors or even operating systems. Dev C++ is written in Delphi, afaik.

Machine code IS portable among operating systems on a specific processor if you don't call and OS specific functions (or if you only use posix calls, but that's gonna change with longhorn Sad)

As for learning machine language, no it is not worth learning unless you're writing an assembler. Assembly language on the other hand is worth learning, however you'd be hard pressed to actually write anything as complicated as Notepad in it. There is a reason that there are higher level languages, because without them things become extremely time consuming to write, and impossible to debug.

For example
c++:

    c = a + b;

vs.
2 instructions to load a and b into registers, 1 to add them, and one to copy the result back into memory in MIPS Assembler (sorry, don't remember the exact syntax... I'll try and look it up and post the code). Personally I much prefer the C++ to the Assembly, it's easy to understand and it's compact.
Sponsor
Sponsor
Sponsor
sponsor
wtd




PostPosted: Thu Jun 09, 2005 12:58 pm   Post subject: (No subject)

Cornflake wrote:
Personally I much prefer the C++ to the Assembly, it's easy to understand and it's compact.


Heh. C++ is higher-level than assembly is not exactly a ringing endorsement of C++. Wink
rizzix




PostPosted: Thu Jun 09, 2005 2:19 pm   Post subject: (No subject)

betaflye wrote:
Dev C++ is written in Delphi, afaik.
Yes, and it is so damn buggy.

This is the same reason people hate BASIC, specially Visual Basic and its derivitives.
Display posts from previous:   
   Index -> Programming, C++ -> C++ Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 3 of 3  [ 33 Posts ]
Goto page Previous  1, 2, 3
Jump to:   


Style:  
Search: