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 bkrike 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: *

  • Users: JohnQK
  • Content: Threads
  • Order by date
  1. JohnQK

    parse the login name

    I have login name like domain\username, I tried to use strtok to parse it. However, strtok can not recognize "\". For example, char ustring[] = "domain\username"; sLogin = strtok(ustring, "\\" ); sDomain = sLogin; while( sLogin != NULL ) { sUser = sLogin; sLogin = strtok( NULL, "\\" )...

Part and Inventory Search

Back
Top