Index of /examples/c/tutorials

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory   -  
[DIR]ex15/ 2021-06-04 12:43 -  
[DIR]ex14/ 2020-09-15 01:19 -  
[DIR]ex13/ 2020-09-15 00:49 -  
[DIR]ex12/ 2020-09-15 00:14 -  
[DIR]ex11/ 2020-09-14 23:44 -  
[DIR]ex10/ 2020-09-14 23:38 -  
[DIR]ex09/ 2020-09-10 01:29 -  
[DIR]ex08/ 2020-09-10 01:12 -  
[DIR]ex07/ 2020-09-10 00:43 -  
[DIR]ex06/ 2020-09-10 00:06 -  
[DIR]ex05/ 2020-09-09 23:25 -  
[DIR]ex04/ 2020-09-07 23:28 -  
[DIR]ex03/ 2020-09-07 22:48 -  
[DIR]ex02/ 2020-09-07 21:05 -  
[DIR]ex01/ 2020-09-06 23:56 -  

RCS sample C code

This directory contains solutions to the exercises in the Introduction to C Programming tutorial (for PowerPoint slides, see http://www.bu.edu/tech/support/research/training-consulting/live-tutorials/).

Copy the Files

On the SCC, you can copy all of these files to your home directory by executing the command:
    scc1% cp -r /project/scv/examples/c/tutorials ~/.
    scc1% cd ~/tutorials

Program Compilation:

cd into subdirectory (e.g., ex03), and type 'make' if a Makefile is present; otherwise, type gcc [sourcename.c] (e.g., gcc Celcius2.c).

Program Execution:

To execute the program, type the name of the executable at an SCC prompt (e.g., a.out, dotprod, etc.)

Contact Information

Research Computing Services: help@scc.bu.edu

Operating System Requirements

The examples presented in this directory were written for Linux OS, but should work on any OS where a C compiler is available. The way the program is compiled and executed depends on the OS and software used.