Title says it all.
I've used the Silverfrost Ftn95 compiler quite a lot, including its Windows extension, to write Windows programs.
I've seen a few references to a Salford C++ compiler. Is there one?
Or a Salford or Silverfrost C compiler?
Welcome to our forums
Title says it all.
I've used the Silverfrost Ftn95 compiler quite a lot, including its Windows extension, to write Windows programs.
I've seen a few references to a Salford C++ compiler. Is there one?
Or a Salford or Silverfrost C compiler?
Yes. It is scc.exe and can be found in the same folder as ftn95.exe. It is accessible from a command line or from Plato. See the Plato Help menu.
To amplify Paul's answer, you may find certain difficulties accessing the CWPSCC.HLP and SCC.HLP help files if you are using Windows 7. This has certainly been discussed elsewhere in the forum, and it is because Microsoft has stopped providing the old help file reader. You can still download it, but there may be limitations on what runs under 64-bit Win 7.
Google suggests that there are various programs out there to convert HLP to CHM directly.
Eddie
Son of a gun, it was there all the time!
I started it under Plato, and put in the simple little 'Hello World' program:
#include <stdio.h>
...without the dotted lines, of course. Tried to run it, and got the Plato error: 'ERROR: SCC is Win32 only.'
This is on my Windows Vista laptop.
I'm probably doing something very basic, wrong. Any hints?
I also looked through the HELP a little, looks useful.
Is there any kind of a manual for the SCC compiler, and/or its use in Plato, other than this HELP function?
Do you have a 32 bit or a 64 bit version of Vista?
... and are you trying to build a .NET executable?
Eddie
Quoted from davidb Do you have a 32 bit or a 64 bit version of Vista?
This laptop is 64 bit. I also have a Windows 7 computer (also 64 bit)elsewhere.
Is it possible to tell either computer to run in some kind of '32-bit mode'?
Quoted from LitusSaxonicum ... and are you trying to build a .NET executable?
Eddie
Just experimenting with the languaqe. I don't really care if it produces a .net or an .exe.
Quoted from Little-Acorn
Is it possible to tell either computer to run in some kind of '32-bit mode'?
You can try running the SCC.EXE in compatibility mode for Windows XP. This will be 32 bit.
Navigate to the file using Windows explorer. Right-click and choose 'Properties' Click compatibility tab Check 'Run this file in compatibility mode for' Choose 'Windows XP (Service Pack 2)' from the list Click Apply and OK.
Then run SCC.EXE from Plato in the way you have tried before.
Thank you, David! Gave it a try. Unfortunately, I got the same error again, even after doing the Compatibility-mode command as you described.
'ERROR: SCC is Win32 only.'
I'll try it again soon.
This time I tried it again, telling the downstairs Windows 7 computer to run BOTH Plato and scc.exe, compatibly with WinXP SP2.
It worked! At least, it ran the little 'Hello world' program!
Thank you for the help - it paid off!
SCC is Win32 only so you need to select one of the Win32 configurations from the Combo box on the toolbar of Plato. These are 'Checkmate Win32', 'Debug Win32' and 'Release Win32'.
i.e. not one of the .NET options ....
E