On Jan 17, 2011, at 5:52 PM, Tom Browder wrote:

> I there a tutorial or good example of using bu_vls for temporary
> strings?  Or is okay if I roll my own string?

In addition to what Cliff said, which was spot-on, most of the string functions 
are well-documented (search for vls) in the bu.h header.  Dear god, please 
don't roll your own.  If you must, hide a C++ implementation behind C API and 
use std::string.  In practice, though, vls is usually more than capable and it 
works reasonably well with libc's string functions.

Cheers!
Sean


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to