Silverfrost Forums

Welcome to our forums

SCC compiler questions

3 Mar 2010 4:23 #6069

Dear experts,

I have few questions about the C/C++ compiler SCC. The first one when I tried a simple C++ program (shown below) using either Plato IDE or command line, I always got an error.

C:\TEMP\ONLYC\ONLYC.CPP(3) : error 199 - 'using' found where a type specifier was expected *** Compilation failed

Any ideas? I also found I need to use capital case 'IOSTREAM.H'. The lower case does not work. I did not see this documented in SCC.hlp.

My goal is to do mix languages (Fortran/C/C++). I actually encountered a few errors when I tried to compile a real C++ code, but I don't know how to understand these errors since it seems SCC.hlp does not explain each of compile errors (plus I am not familiar with C++).

Thanks, Ming


#include <IOSTREAM.H>

using namespace std;

int main() { cout << 'Hello World!' << endl; return 0; }

3 Mar 2010 5:32 #6070

'using' and namespaces are not supported by SCC. These were not part of the C++ standard when SCC was written.

File names are not case sensitive in a Windows environment.

Please login to reply.