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 badarinath

  1. badarinath

    convert int to char?

    hai friend, i have an idea that is sprintf(buff,"%d",i); for int var sprintf(buff,"%ld",l) for long var or itoa(); for int ltoa() for long in "stdlib.h" bye..
  2. badarinath

    i'm getting a segmentation fault wh

    hai, after allocate the space if you are test like this array=(int *)malloc(size); if(array == NULL) { printf("memory is not allocated..."); exit(1); } i think this type of checking is usefull.

Part and Inventory Search

Back
Top