R
Rex_chaos
Hi all,
I am writing a project in C++. I am going to compile all my source
to a library(.a). So I can only distribute the lib as well as the
header file to my client. However, I don't quite familiar with C++
programming. In my project, I have defined a heap of classes, the
definition of which defined in a hearder file. On the other hand, I
would like to limit all the classes in a namespace.
Can anyone please tell me how to write the header file? Please give me
an simple example.
Any reply will be highly appreciated!
I am writing a project in C++. I am going to compile all my source
to a library(.a). So I can only distribute the lib as well as the
header file to my client. However, I don't quite familiar with C++
programming. In my project, I have defined a heap of classes, the
definition of which defined in a hearder file. On the other hand, I
would like to limit all the classes in a namespace.
Can anyone please tell me how to write the header file? Please give me
an simple example.
Any reply will be highly appreciated!