home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / linux / 20232 < prev    next >
Encoding:
Text File  |  1992-12-13  |  1.3 KB  |  34 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!gatech!cc.gatech.edu!news
  3. From: ammo@cc.gatech.edu (Ammo Goettsch)
  4. Subject: Newbie questions -- C++, PS printer 
  5. Message-ID: <1992Dec14.003102.4687@cc.gatech.edu>
  6. Sender: news@cc.gatech.edu
  7. Reply-To: ammo@cc.gatech.edu (Ammo Goettsch)
  8. Organization: Georgia Institute of Technology
  9. Date: Mon, 14 Dec 1992 00:31:02 GMT
  10. Lines: 22
  11.  
  12. Hi, I have been hacking on Linux for just a few days, trying to get my
  13. work ported to my PC.
  14.  
  15. Here are 2 newbie questions, to be answered by the knowing in email or
  16. on the group, by preference.
  17.  
  18. 1) I have a post script printer. I have the /dev/lp1 working. I would like
  19.    to have "lpr textfile" make post script out of a straight text file and
  20.    dump it to my printer. This is like the "enscript" program we have on our
  21.    UNIX boxes. What program do I need to do this?
  22.  
  23. 2) I compiled tons of C code and some C++ code from work, by using g++. 
  24.    Everything works fine except C++ program which use cout for standard output
  25.    cannot find "cout" or operator<<(various types)" and so they don't link.
  26.    Do I need to link a special library for this? I thought this stuff should be
  27.    in libc.a? 
  28.  
  29. I am presently using an SLS distribution Linux which thinks it's 0.96 
  30. without any patches other than newer xfree86. 
  31.  
  32. Please help,
  33. Ammo Goettsch
  34.