Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C++ASMbinaryVC++
which programming language is more familiar if we are going to work with binary.
Posted 3-Feb-13 6: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
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 422
1 sanket saxena 355
2 Abhinav S 258
3 OriginalGriff 250
4 CPallini 205
0 Sergey Alexandrovich Kryukov 8,704
1 OriginalGriff 5,000
2 Peter Leow 3,839
3 Maciej Los 3,535
4 Er. Puneet Goel 3,107


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