- #include <stdio.h>
- #include <string.h>
- main()
- {
- printf("hello world!n");
- int max = 5;
- int i = 0;
- char *name = "";
- puts("what is your name?");
- //gets(name);
- scanf( "%s", name );
- //int k = 0;
- if(strcmp(name, "blake")==0)
- {
- for(i = 0; i < max; i++)
- {
- printf("hello! n" );
- }
- }
- return 0;
- }

By: microhaxo | Date: Dec 28 2009 02:59 | Format: None | Expires: never | Size: 333 B | Hits: 1021
Latest pastes
1 days ago
3 days ago
4 days ago
5 days ago
6 days ago