home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / amiga / programm / 19102 < prev    next >
Encoding:
Internet Message Format  |  1993-01-23  |  1.8 KB

  1. Path: sparky!uunet!usc!sol.ctr.columbia.edu!hamblin.math.byu.edu!yvax.byu.edu!cunyvm!psuvm!tew105
  2. Newsgroups: comp.sys.amiga.programmer
  3. Subject: Re: G++ HELP **PLEASE!!**
  4. Message-ID: <93023.113630TEW105@psuvm.psu.edu>
  5. From: <TEW105@psuvm.psu.edu>
  6. Date: Sat, 23 Jan 1993 11:36:30 EST
  7. References: <1993Jan20.140411.2941@dct.ac.uk>
  8. Organization: Penn State University
  9. Lines: 27
  10.  
  11. In article <1993Jan20.140411.2941@dct.ac.uk>, mcscs1wji@dct.ac.uk (Bil Irving)
  12. says:
  13. >
  14. >I'm having big probs with the C++ part of GNU 2.3.3.. rather like
  15. >someone else in this newsgroup.
  16. >
  17. >The C compiler works great, but if I try and write a simple "hello
  18. >world" type program (copied straight out of a C++ teaching book), then
  19. >try and compile using a line like:
  20. >
  21. >     c++ -o hello hello.cxx
  22. The problem comes from the ++ in the command.  + is the amigados line
  23. continuation character, i.e. if you have a command that is going to run off the
  24. line you can enter + at the end of the line and when you press return the
  25. command will not be executed until you press enter again, allowing you to
  26. continue the command.  So having two of them in the middle of your command
  27. really confused the os.
  28. Anyway, the solution if to use quotes around the name.  Since I got sick
  29. of typing the quotes, I found it easiest to rename c++ to be cpp, note
  30. you will have to use quotes to do this, as follows:
  31.    rename "c++" cpp
  32. Then you'll be all set.
  33. +L8R+                                +Every time I try to pick it up its like
  34. HonuS  internet: TEW105@psuvm.psu.edu|falling sands, as fast as I pick it up it
  35. +---+  bitnet:   TEW105@psuvm        |runs away through my clutching hands...
  36. Disclaimer: +-Look Ma, only 5 lines--+                            -The Cure
  37.   The big wigs at PSU wish they could come up with opinions as good as mine!
  38.