Skip to content

Instantly share code, notes, and snippets.

@sayz
Created November 5, 2010 21:09
Show Gist options
  • Save sayz/664875 to your computer and use it in GitHub Desktop.
Save sayz/664875 to your computer and use it in GitHub Desktop.
#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;
}
@sayz
Copy link
Author

sayz commented Nov 5, 2010

@emin atoi(bosstr) + 3 = 2013 olur...

@emineker
Copy link

emineker commented Nov 5, 2010

önemli olan öbür taraf sefa :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment