Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C program to sum two integers

Name: Anonymous 2011-06-09 16:55

input:
 stdin 0 -> progname :: string
 stdin 1 -> x :: string
 stdin 2 -> y :: string

output:
 stdout -> x + y :: string

programming language:
 C99

considerations:
 security paranoid programming

Name: !!kCq+A64Losi56ze 2011-06-09 17:10

stdin 0 is a *nix thing. Now stop acting like a little girl, get with the program, and use the standard stdin. Ie...

FILE *stidn;

Or better yet, use a real programming language like BASIC.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List