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 strongm 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: isprabu
  • Order by date
  1. isprabu

    C++ Clear Screen Code- Please Help

    fputs() is similar to puts(). It writes the string (arg1) to the stream denoted by the file id (arg2).
  2. isprabu

    C++ Clear Screen Code- Please Help

    You can try something like this: void clrscr() { putchar(27); fputs("[H",stdout); putchar(27); fputs("[J",stdout); }
  3. isprabu

    Pause Code - Please Help!

    What do you want to 'pause'? In a console application you can use getc(). In windows application it is fully up to your code. You can set some global flag and based on that stop(pause) all the activities that your code is doing(in all threds).
  4. isprabu

    Need Function -- Lost in Detail -- Please Help

    Please try something like this: value (char *prefix, int data) { int Result; char temp[10]; char * p; sprintf(temp, &quot;%04X&quot;, data); if(data < 0) p = &temp[4]; else p = temp; strcpy (buf2, prefix); sprintf(buf2 + strlen(buf2), &quot;%s\3&quot;, p); Result = sendData (buf2...
  5. isprabu

    Need Function for Conversion to send buffer

    Why don't you try something like this: value (char *prefix, int data) { int Result; char temp[10]; char * p; sprintf(temp, &quot;%04X&quot;, data); if(data < 0) p = &temp[4]; else p = temp; strcpy (buf2, prefix); sprintf(buf2 + strlen(buf2), &quot;%s\3&quot;, p); Result = sendData...

Part and Inventory Search

Back
Top