home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / c / 11759 < prev    next >
Encoding:
Text File  |  1992-07-30  |  1.3 KB  |  39 lines

  1. Path: sparky!uunet!utcsri!bonnie.concordia.ca!IRO.UMontreal.CA!CC.UMontreal.CA!mikhail
  2. From: mikhail@ERE.UMontreal.CA (Mikhail Ossama)
  3. Newsgroups: comp.lang.c
  4. Subject: HELP
  5. Message-ID: <1992Jul30.154323.12491@cc.umontreal.ca>
  6. Date: 30 Jul 92 15:43:23 GMT
  7. Sender: news@cc.umontreal.ca (Administration de Cnews)
  8. Organization: Universite de Montreal
  9. Lines: 28
  10.  
  11. Bonjour
  12. SVP le programme suivant ne marche pas ..
  13. je sais que vous etes occuper mais SVP essayer de m'aider ..
  14. Merci.
  15. ---------------------------------------------------------------
  16. #include <stdio.h>
  17. #include <stdlib.h>
  18.  
  19. main(int argc, char *argv[])
  20. {
  21. if (argc!=4)
  22.  { 
  23.   printf( " Usage : ./link prog.f -o prog.exe \n ");
  24.   exit(0); 
  25.  }
  26. system(f77 argv[1] -o argv[3] -L/usagers/garcia/gqopt/lib -lgq5 -lthomas -p);
  27. }
  28. -----------------------------------------------------------------
  29.  
  30. Il donne ca :
  31. -----------------------------------------------------------------
  32. accom: Error: link.c, line 11: f77 undefined
  33.        system(f77 argv[1] -o argv[3] -L/usagers/garcia/gqopt/lib -lgq5 -lthomas-p);
  34.        --------------^
  35. accom: Error: link.c, line 11: syntax error
  36.        system(f77 argv[1] -o argv[3] -L/usagers/garcia/gqopt/lib -lgq5 -lthomas-p);
  37.        --------------^
  38. ------------------------------------------------------------------
  39.