home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / cplus / 12738 < prev    next >
Encoding:
Text File  |  1992-08-21  |  2.2 KB  |  48 lines

  1. Newsgroups: comp.lang.c++
  2. From: jes@grendel.demon.co.uk (Jim Segrave)
  3. Path: sparky!uunet!pipex!demon!grendel.demon.co.uk!jes
  4. Distribution: world
  5. Subject: Re: (SUMMARY - no replies!) INDENT for C++ ?
  6. References: <1992Aug20.141202.5265@bradford.ac.uk>
  7. X-Mailer: cppnews $Revision: 1.14 $
  8. Organization: None
  9. Lines: 34
  10. Date: Fri, 21 Aug 1992 21:24:13 +0000
  11. Message-ID: <714458593snx@grendel.demon.co.uk>
  12. Sender: usenet@gate.demon.co.uk
  13.  
  14.  
  15. In article <1992Aug20.141202.5265@bradford.ac.uk> T.D.G.Sandford@bradford.ac.uk (TDG SANDFORD) writes:
  16.  
  17. > In article <1992Aug11.145758.15266@bradford.ac.uk> I wrote:
  18. > >Is there a version of the (Unix) indent program which will work on C++
  19. > >programs. The versions I've used all work only on std. C, and get upset
  20. > >by certain C++ syntax (especially // comments)
  21. > >
  22. > >I am particularly interested in MSDOS versions, but Unix source would
  23. > >probably do (eg GNU).
  24. > >
  25. > >Reply by e-mail if possible, I will post a summary in about a week's time.
  26. > >--
  27. > I got no replies, so I guess the answer to my original question was no :-(
  28. > ---
  29. > Thomas Sandford | t.d.g.sandford@bradford.ac.uk
  30. I have (somewhere buried on some old backup discs) something called
  31. indentpp - I beleive it was a rework of gnu indent, allegedly for C++
  32. and C. I looked at porting it to Turbo C at the time, but since I
  33. haven't actually been doing much C++ programming, I stuck with the C ony
  34. version of indent which I already had modified to include some personal
  35. quirks of my own. I didn't respond to your post since I assumed that
  36. there's probably a more recent version someone would tell you about. I
  37. beleive it came from comp.sources. If you are really stuck, mail me and
  38. I will try to dig it out. I can't say what it was like, since I never
  39. built it - I suspect the only documentation is in the source itself.
  40. From some recent work I've been doing with other Unix based utilities, I
  41. would recommend using djgcc (the DOS port of gcc) if at all possible,
  42. since porting to this is usually a matter of hours compared to several
  43. days to shoehorn these prgrams under a 16 bit compiler. Of course, you
  44. have to use a [34]86, but they are getting cheap these days. 
  45. --
  46. Jim Segrave (Segrave Software Services)     jes@grendel.demon.co.uk
  47.  
  48.