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!

Recent content by xmahle

  1. xmahle

    void pointer

    Sorry, didn't get what is this memset. In the second case, do I need to create some pointer first and then initialise it during clearing? What I do now is to loop whole of array to '\0'. But this gives something really silly when I want to know the value of the buffer content (something like...
  2. xmahle

    ASCii to character---character to ASCii

    Thanks for the link. The link and some other sites I searched, give the idea about the codes but don't cover the programming aspect (like how to change from one to other specifically for my problem). May be I could get some info on the 'Tampa Bay Interactive' but that link doesn't work. Do...
  3. xmahle

    fflush problem

    Hi, I need help on buffer cleaning. What I mean is: Once I fill the buffer with strcpy(buff,"xyz\r") and next time I need the buff to be empty with nothing inside it. How do I do that? I work on LabWindows/CVI (a GUI based C environment) and I don't think it supports all C library...
  4. xmahle

    void pointer

    Hi, I need help on buffer cleaning. What I mean is: Once I fill the buffer with strcpy(buff, "xyz\r") and next time I need the buff to be empty with nothing inside it. How do I do that? Actually, first time I need to write xyz in the buffer and next time only xy and then I need to...
  5. xmahle

    ASCii to character---character to ASCii

    What about the code for 'unvisible' characters, say 'ACK' (acknowledgment)or 'ENQ' (inquiry)? How do I get the ASCII code for these characters in C? It is not possible to write char c = '\ACK' !!! Suggest a method to get the ASCII value of such characters.

Part and Inventory Search

Back
Top