CSCI 235 — Java to C

Get a file

Java to C tranformation

You’ll have to pay attention.

Compiling

Follow along for this one.

You really do need a Randy Bryant approved Makefile like this.

CFLAGS = -std=c99 -Wpedantic -Og -g

all:       blastoff

blastoff:  blastoff.c

clean:
	rm blastoff *.o *~

Watch out for the tabs!

C++ program

Although every C program can make it through the C++ compiler, C++ has a unique style of I/O.