Created
November 5, 2010 21:09
-
-
Save sayz/664875 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
int main() | |
{ | |
int i; | |
char tarih[11] = "26.01.2010 "; | |
char bosstr[10] = ""; | |
for(i = 6; i < strlen(tarih); i++){ | |
bosstr[i-6] = tarih[i]; | |
} | |
printf("%s\n", bosstr); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@emin
atoi(bosstr) + 3 = 2013
olur...