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 SkipVought 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. gander

    gets()

    Thankyou Everyone!!
  2. gander

    SUGGEST BOOKS FOR A NEWBIE

    Hi Lubu I began with C for dummies and found it very good It comes in 2 volumes I haven't got vol 2 yet but I like te style in which it is writtn makes learning easier cheers!
  3. gander

    Thanks Lim, need a little more info PLEASE

    Thanks fo your help Lim I picked up some good tips I was as you suspected trying to create an array holding 20 names *name[21] I am just learning about pointers and was 'trying' to use pointers to manipulate the input and output also I tried to crate an array names[21][30] and set a pointer...
  4. gander

    pointers + pointers to pointers

    having problems with output using pointers void main() { int people, i,j; char *name[21], **n_ptr=name; printf(&quot;\nEnter the number of people > &quot;); scanf(&quot;%d&quot;,&amp;people); for(i=0;i<people;i++) strcpy(*n_ptr,NULL); is this required...
  5. gander

    gets()

    HI just a quickie whats wrong with the gets function here viod main() { int i,j, persons = 10; char name[11], *c_ptr; c_ptr = name; for(i=0;i<persons;i++) { printf(&quot;\nEnter name for person %d&quot;,i+1); gets(c_ptr); } // it wont let me input a...

Part and Inventory Search

Back
Top