Help with Fortran and C++ please

I'm a beginner in programming, but I need to manage a program which is written in fortran and c++ (two different sections). I'm working (until now) with g95 for the fortran section and with Intel C++ for the C++ part. Unfortunately, at least now I need to work in windows.

Following the instructions of the manuals I tried to compile both parts of the program and I couldn't.

Compiling with g95, I started writing the command: g95 -c program.f, but it lead to lots of errors. I realised that that the program was using some instructions for c++, and I changed the command to: g95 -cpp program.f

: [color=Blue]Please take a look here:: : [link=http://software.intel.com/en-us/articles/cdiag10114/]http://sof: tware.intel.com/en-us/articles/cdiag10114/[/link]: : I am not sure if it helps - I never used Intel C++ Compiler. Also : why would they emulate VC++ compiler?!.. no idea.: : P.S. My guess is (from that article) if you pass /Qvc8 parameter to : ICL - it will no longer look for VC++ compiler, like so:: : [code]: icl /Qvc8 program.cpp[/code]: : [/color]

Thank you!

Apparently none of the commands are working. However, I tried to execute the vcvars32.bat from visual c++ and when I tried again the icl program.cpp it lead to other errors, which are of this form: