doxygen/examples/include.cpp
albert-github df9a47bd20 Generating doxygen documentation on Windows (with MikTex)
The current version of MikTex gives the error message:

Appendix Z.
(../html/examples/include/latex/refman_doc.tex ("C:\Program Files\MiKTeX 2.9\te
x\latex\alertmessage\example.tex"

! LaTeX Error: Can be used only in preamble.

This is due to a \page command with the name 'example', renaming the page solves this issue.
2018-04-11 13:51:33 +02:00

22 lines
442 B
C++

/*! A test class. */
class Include_Test
{
public:
/// a member function
void example();
};
/*! \page pag_example
* \dontinclude include_test.cpp
* Our main function starts like this:
* \skip main
* \until {
* First we create an object \c t of the Include_Test class.
* \skipline Include_Test
* Then we call the example member function
* \line example
* After that our little test routine ends.
* \line }
*/