Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. chintimz2

    I need to extract element from a string

    This function involves extracting the day, month, year from a processed string. my code: int main(void) { int date = atoi("161005"); int day = date/10000; int month = (date/100) % 100; int year = (date % 100); printf("%02d/%02d/%02d",day,month,year); return 0; } it works perfectly when...

Part and Inventory Search

Back
Top