Thread: Arranging a file into alphabetical order.

  1. #16
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    FTN95? As in Fortran 95? Really?

    Well, I'm not familiar with it, but ... uh ... well, that seems bizarre. The example compiles fine with gcc, and converting from void* to char* really shouldn't be an error, so right now I'm giving a thumbs down to this FTN95 thing.

  2. #17
    Registered User
    Join Date
    Sep 2006
    Posts
    8,868
    What that error message is saying is that qsort on your compiler, needs a const char pointer, instead of a const void pointer. Which is *really* non-standard.

    Can you d/l and use a newer, free compiler? I've not heard of "FTN95 silverfrost", but based on this, I'm *not* impressed.

  3. #18
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    6,318
    I would expect any C compiler to have a problem with the first line:
    Code:
    #<stdio.h>
    the word 'include' should be in there.

    "an error" is never the right thing to say on a forum. Always post exact error or crash messages.
    My homepage
    Advice: Take only as directed - If symptoms persist, please see your debugger

    Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"

  4. #19
    Registered User
    Join Date
    Feb 2009
    Posts
    10
    Thanks guys,
    appreciate all the trouble u went through to sort it out, i'll be sure to read up a bit more before I come here again to pester y'all.

    Night!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. File Writing Problem
    By polskash in forum C Programming
    Replies: 3
    Last Post: 02-13-2009, 10:47 AM
  2. Formatting a text file...
    By dagorsul in forum C Programming
    Replies: 12
    Last Post: 05-02-2008, 03:53 AM
  3. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  4. Batch file programming
    By year2038bug in forum Tech Board
    Replies: 10
    Last Post: 09-05-2005, 03:30 PM
  5. Replies: 3
    Last Post: 03-04-2005, 02:46 PM

Tags for this Thread