Search:

Type: Posts; User: CommonTater

Search: Search took 0.09 seconds.

  1. Replies
    10
    Views
    4,060

    Unnecessary... a void pointer can be assigned to...

    Unnecessary... a void pointer can be assigned to anything.

    Just out of curiosity can you post the source file (pwd) you're using?



    while(fgets(buffer,sizeof buffer,f))


    buffer is a...
  2. Replies
    10
    Views
    4,060

    For starts you're using calloc incorrectly......

    For starts you're using calloc incorrectly...
    It's calloc( NumberOfElements , SizeOfEachElement );
    And there's no reason to typecast it's returned pointer.

    The difference between char...
Results 1 to 2 of 2