title: Porting windows code, what to use instead of __int64 _tmain and _TCHAR*?
body: <p>I'm currently porting some windows code and trying to make it available for use in Ubuntu. The project was originally compiled in VC++ without any issues. Also I should note that this only needs to work in Ubuntu, but more platform independent ideas are certainly welcome.</p>
  
  <p>Most of the code is easy to port as it is mostly a numerical simulation project with few OS specific parts. There is no UNICODE used in the ported version and there is not going to be any need to support this.</p>
  
  <p>I'd like to know what the best practices are when trying to get this code to compile with GCC, in particular:</p>
  
  <p>What is considered to be the best replacement for: __int64, _tmain and _TCHAR* ?</p>
  
  <p>Thanks!</p>