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. rshtykh

    string conversion

    Thank you a lot!
  2. rshtykh

    string conversion

    By the way, I use it in main() like this: uchar *test = "Test"; int size = sizeof(test); uchar *outp = calloc(size, sizeof(uchar)); if(outp!=NULL){ readAndConvert(&test, &outp, 4, 0); printf("%s\n", outp); // free(outp); } and can't free memory by doing free(outp)...
  3. rshtykh

    string conversion

    I want to convert from one string to another and return it as a pointer *out_s? or as a string "res" will be ok as well. But my code doesn't work... For example, copying res[n] = (char *)&out; doesn't work. What is wrong with my code?(I am new to C, so please bear with me) int...

Part and Inventory Search

Back
Top