C Board  

Go Back   C Board > General Programming Boards > C Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 02-09-2009, 08:13 PM   #16
and the Hat of Guessing
 
tabstop's Avatar
 
Join Date: Nov 2007
Posts: 8,740
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.
tabstop is offline   Reply With Quote
Old 02-09-2009, 08:17 PM   #17
Registered User
 
Join Date: Sep 2006
Posts: 2,512
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.
Adak is offline   Reply With Quote
Old 02-09-2009, 11:45 PM   #18
Algorithm Dissector
 
iMalc's Avatar
 
Join Date: Dec 2005
Location: New Zealand
Posts: 2,476
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
iMalc is offline   Reply With Quote
Old 02-10-2009, 11:07 PM   #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!
Malachi is offline   Reply With Quote
Reply

Tags
alphabetical, file, input

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
File Writing Problem polskash C Programming 3 02-13-2009 10:47 AM
Formatting a text file... dagorsul C Programming 12 05-02-2008 03:53 AM
Dikumud maxorator C++ Programming 1 10-01-2005 06:39 AM
Batch file programming year2038bug Tech Board 10 09-05-2005 03:30 PM
airport Log program using 3D linked List : problem reading from file gemini_shooter C Programming 3 03-04-2005 02:46 PM


All times are GMT -6. The time now is 06:43 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22