devxlogo

October 28, 1997

The Best Way to Manipulate Strings in C++

You should use the String class to avoid common problems when manipulating strings in C++. The following approach will work, but it needs a lot more code to make it

Convert a Double into an Int

There are many things you can do to convert a float to an int depending upon what results you expect. If you want to use the built-in language conversions, you

Send Output to Printer

How do I send the output of my program to the standardprinter installed in Win95 or NT? Is it possible using the

Replicating the END command in C++

Suppose I have one function that calls about five or so subfunctions. In one of the subfunctions, I have an if statement: that if a=0, go on to the rest