Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Evaluating SourcePro C++

4.2 Modifying Files for Database Connection

The examples use include files with hard-coded values for database name, database server, database user name and database user password. You must change these values to reflect your own organizational settings.

The file <buildspace>\examples\<module>\12d\tutdefs.h contains configuration variables used by the examples. Modify this file with values for your own database connection.

Modify this file as follows:

For example, your configuration file might look like this:


These values are compiled into the tutorials when you build them. If you need to change the values at a later time, you must clean the example object files with an nmake clean, then rebuild the tutorials. (See
Section 4.3.)



Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and SourcePro, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.