Thread: SAS C tutorial?
View Single Post
Old 28 April 2013, 22:36   #2
Join Date: Jul 2008
Location: Sweden
Posts: 1,916
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
Leffmann is offline  
Page generated in 0.04902 seconds with 9 queries