Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ ASM binary VC++
which programming language is more familiar if we are going to work with binary.
Posted 3-Feb-13 7:28am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

All computer languages 'work with binary' or rather wouldn't work without it. If you're going to be doing bit 'twiddling', for example writing your own ieee754 floating point implementation then 'C' is the traditional language of choice but these days C++ is a better option in my opinion or of course there is always assembler.
The advantage C or C++ give you over BASIC or Python or even Pascal is that you can control precisely the layout of data in memory, down to the physical memory addresses at which data is stored. This is why C is used for system programming, like writing operating systems and hardware device drivers where there is nothing to manage memory for you or prevent your program from overwriting itself or where exact numbers of bits and bytes in precisely the right place are critical.
  Permalink  
Comments
Albert Holguin at 5-Feb-13 11:50am
   
+5

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 7,903
1 Sergey Alexandrovich Kryukov 7,142
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,820


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 3 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100