TIP: Click on subject to list as thread! ANSI
echo: nthelp
to: Geo
from: Gregg N
date: 2004-10-18 11:58:44
subject: Re: Organizing source code

From: "Gregg N" 

"Geo"  wrote in message news:41739793{at}w3.nls.net...
> "Gregg N"  wrote in message
> news:4172be48{at}w3.nls.net...
>
> > If you are asking about organizing completely independent projects, I
> > just stick all project directories under a single
"projects" directory.
>
> That's pretty much what I did, I was just wondering if you located it
close
> to the .h files or anything special like that so that searching source
files
> would be easy.

Which .h files? I thought these were independent projects. Is one of them a
lib? Again, it depends on the tools. Libraries might have an explicit
installation step that is separate from the build process, so the headers
and .lib might get installed somewhere other than where the lib was built.

> Next question, say you are in need of a c++ function that will search for
a
> string within a string (yeah I know c++ doesn't really do strings),

C++ does strings. There is a standard string class, as well as a bunch of
standard algorithms that can operate on strings (e.g., sort). What is
missing is a standard regex facility, although boost (www.boost.org)
supplies much additional stuff some of which has been proposed being added
to future versions of the standard.

> how do
> you go about locating something like that? You have MSDN lib loaded on
your
> machine or is there a web resource for finding these?

Are you asking how do I find documentation for such a class? From
experience, I know what is generally available as part of the standard
library. When I need to look something up, I usually use the documentation
that comes with whatever tool I am using. For Visual C++, I use either MSDN
(locally), dinkumware

http://www.dinkumware.com/refxcpp.html

or SGI

http://www.sgi.com/tech/stl/

There is also GNU documentation, but I have not used this:

http://gcc.gnu.org/onlinedocs/libstdc++/libstdc++-html-USERS-3.4/index.html

Obviously, a third-party library (e.g., ACE) will have its own documentation:

http://www.dre.vanderbilt.edu/Doxygen/Stable/ace/index.html

The last two have documentation generated by doxygen.

Gregg

--- BBBS/NT v4.01 Flag-5
* Origin: Barktopia BBS Site http://HarborWebs.com:8081 (1:379/45)
SEEN-BY: 633/267 270 5030/786
@PATH: 379/45 1 396/45 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.