3

Hello World in C

 3 years ago
source link: http://siongui.github.io/2013/11/17/c-hello-world/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Hello World in C

November 17, 2013

hello.c | repository | view raw

#include <stdio.h>

int main(int argc, char *argv[], char *envp[]) {
  printf("hello world\n");
  return 0;
}

Makefile | repository | view raw

CC=gcc

hello: hello.c
	$(CC) -o hello hello.c

clean:
	rm hello

References:


Author: Siong-Ui Te Category: C

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK