thanks: 

  void order_char(char *);
   
  int main()
  {        void order_char(char *arr);  }
   
  void order_char(char *arr)
   
  [EMAIL PROTECTED] ~/CSSp08]$ vi cs206-4.cpp
  [EMAIL PROTECTED] ~/CSSp08]$ gcc cs206-4.cpp
  [EMAIL PROTECTED] ~/CSSp08]$ ./a.out
  Enter three characters:
  


Thomas Hruska <[EMAIL PROTECTED]> wrote:                             Robert 
Ryan wrote:
 >    
 >   #include<stdio.h>
 >    
 >   void order_char(char *);
 >    
 >   int main()
 >   {
 >   }
 >    
 >   void order_char(char *arr)
 >   {
 > }
 
 AND the function you call in main() has to be order_char() as well.  All 
 three names have to be _identical_.  The compiler isn't magical and 
 can't read your mind.
 
 -- 
 Thomas Hruska
 CubicleSoft President
 Ph: 517-803-4197
 
 *NEW* MyTaskFocus 1.1
 Get on task.  Stay on task.
 
 http://www.CubicleSoft.com/MyTaskFocus/
 
 
     
                                       

       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.

[Non-text portions of this message have been removed]

Reply via email to