Different syntax with different compilers?
I starting a new job soon doing mainly VBA and VB programming. However the company wants me to start studying C++ as they use it on a Unix platform.
I downloaded the Borland compiler (I also have Visual C++) and have been looking at the tutorials on this site, which seem excellent. Anyway I am noticing a few syntac differences and wanted to know how different the syntax for Borland is to what I will be using on a Unix platform.
For example to send text to the screen in the tutorials it looks like
cout<<"HEY, you, I'm alive! Oh, and Hello World!";
where as with Borland I would use
printf("HEY, you, I'm alive! Oh, and Hello World!");
This is just a small thing but I was wondering if there are many similar differences.
As my company is using a Unix platform I presume the syntac would be more like the first example (using cout<<). I would prefer to get practice on a Unix environment but I do not have Unix installed on my PC.
Is their a better compiler to use such as DJGPP that mimicks Unix ( I did look at downloading DJGPP but it seemed very complicated).
Any advice on this? Are the differences very significant between Borland and Unix? And is there a better compiler I should use to mimick Unix?