projects
- intro (due 20140903)
- "Hello, World!" (due 20140903)
- notes (on-going)
- squares (due 20140924)
- Day of Week (due 20141001)
- PipeMath (due 20141008)
projects
#include <stdio.h> #include <stdlib.h> int main() { char *initials, i = 0; name = (char *) malloc (sizeof(char) * 4); fprintf(stdout, "Enter a 3 character set of initials and hit ENTER: "); *(initials+i) = fgetc(stdin); i = i + 1; *(initials+i) = fgetc(stdin); i = i + 1; *(initials+i) = fgetc(stdin); i = i + 1; *(initials+i) = fgetc(stdin); fprintf(stdout, "You entered %s\n", initials); return(0); }