title: C++ for 8051 microcontroller?
body: <p>Could someone please tell me if it's possible to burn an 8051 microcontroller with a C++ program?
  I've tried searching about it online but can't seem to find out for sure if it's possible or not. 
  Keil uses C, but the program I need to write is very string-intensive and C is quite string-unfriendly as compared to C# which is what I'm used to using. At the moment, I'm trying my hand at writing the code in C but it's getting really messy, so I'd be extremely relieved if I could write it in C++ instead. </p>
  
  <p>I would need a C++ compiler that creates a Hex output file that can then be burnt onto the microcontroller. Anyone heard of something I could use?
  And also, C uses a header file  that lets you refer to ports, but when I tried to find out if this header file is used in C++ as well I couldn't find any information on it. </p>
  
  <p>Addition:
  The microcontroller I'm using is an Atmel AT89C51 with 4K Bytes of Reprogrammable Flash Memory, and 128 x 8-bit Internal RAM. 
  This is actually for a Robot for a project at university and the coding does not actually require OOP. It just has a lot of look up tables that are in 2D string array format. 
  The only reason I wanted to consider C++ was because of how messy manipulating strings seemed to be getting (due to MY lack of expertise in C).  </p>
  
  <p>And does anyone know about the header file? C uses #include reg51.h but I tried to find out if this works for C++ and couldn't find anything on it.</p>