Thread: SAS C tutorial?
View Single Post
Old 28 April 2013, 23:36   #2

Join Date: Jul 2008
Location: Sweden
Posts: 2,029
Quick tutorial:

Download and install the most up to date SAS/C:

Open your SAS/C drawer and the C drawer and run scsetup. Enter f.ex ram:hw to create a new empty project.

Open up your ram:hw drawer and click on edit and type in Hello World:
#include <stdio.h>

int main()
  puts("Hello, world!");
  return 0;
Rename the file to f.ex hello.c and save it, then click the build icon and your finished program will appear in the project drawer.

If you want to work from the command line instead then you can compile your program with:
sc hello.c LINK

Last edited by Leffmann; 21 December 2016 at 21:35.
Leffmann is offline  
Page generated in 0.07096 seconds with 9 queries