9hello.c


 
Thread Tools Search this Thread
The Lounge What is on Your Mind? 9hello.c
# 1  
Old 03-02-2017
Code 9hello.c

Code:
/* 9hello.c */
/* http://doc.cat-v.org/plan_9/programming/c_programming_in_plan_9 */

#include <u.h>
#include <libc.h>

void main()
{
    print("hello, world\n");
    exits(0);
}

# 2  
Old 03-02-2017
Uh... What is your question?
This User Gave Thanks to Corona688 For This Post:
# 3  
Old 03-02-2017
Quote:
Originally Posted by Corona688
Uh... What is your question?
none
just showing this neat little piece of code
# 4  
Old 03-03-2017
Code:
/* why.c */

#include <stdio.h>

int main()
{
    printf("Why?\n");
    return 0;
}

This User Gave Thanks to wisecracker For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread
Login or Register to Ask a Question