11-18-2004
Dear bhargav,
Thank you for your kindness.
It's true that I found the solution.
I declared a virtual destructor.
Unfortunately, I didn't implement it.
As a result, I got the error.
Thanks again for your help.
Sincerely,
Kun
8 More Discussions You Might Find Interesting
1. Programming
I have some crypting functions in object-file - for example,func.o
Main file,from where crypting functions called, named as main.cpp .
"gcc main.cpp -o main func.o" print "undefined reference to ... "
But if I rename main.cpp to main.c and execute
"gcc main.c -o main func.o" - ok. If anybody,... (3 Replies)
Discussion started by: Gigachel
3 Replies
2. UNIX for Advanced & Expert Users
I am using ftp services at my unix box and accessing it from windows.
when i am giving the url in the browser,
ftp://neeraj:neeraj@10.1.3.116/cat01/Ne.txt
it is giving me
ISA Server: extended error message :
200 Type set to I.
200 PORT command successful.
550 /cat01/Ne.txt: No such... (0 Replies)
Discussion started by: NeerajYadav
0 Replies
3. Shell Programming and Scripting
I have a home directory namely /pto/ppa/ridbmw/etl/
Now i have various directorys below the home directory. For eg
from the home directory if i say cd /roddata it changes to that directory. I think its kind of link (I don't know if it's hard or soft). Now i need to create a new directory and... (4 Replies)
Discussion started by: dsravan
4 Replies
4. OS X (Apple)
Hi,
I am using Mac X 10.5. It's supporting BSD. I am getting strange problem.
• Launch the terminal.
• Create a directory. Use cd <directory>
• Now create another directory test with command “mkdir test”.
• Create a soft link with command “ln -s text.txt test”
• Go to the test directory... (1 Reply)
Discussion started by: Saurabh78
1 Replies
5. BSD
Hi,
I am using Mac X 10.5. It's supporting BSD. I am getting strange problem.
• Launch the terminal.
• Create a directory. Use cd <directory>
• Now create another directory test with command “mkdir test”.
• Create a soft link with command “ln -s text.txt test”
• Go to the test directory... (1 Reply)
Discussion started by: Saurabh78
1 Replies
6. Shell Programming and Scripting
I want to find graphic files on an external disk then create soft links to those files in a folder on my machine. I have a problem with file names: if there are two graphic files in different directories but with the same file name, a link is created only for the first file i.e the 2nd file is... (4 Replies)
Discussion started by: stumpyuk
4 Replies
7. Solaris
Ultra E150 Solaris 2.5.1 Oracle server. was working fine, then started losing network connection. I can see in messages file that it was complaining about another device using its ip address. Though not any longer, though I wonder if that was a red herring. My IT guys have now re-reserved its ip... (29 Replies)
Discussion started by: AlSmith1964
29 Replies
8. Linux
Hello,
I have one issue with linking folders.
I have two domains (domain1 and domain2) on one server (centOS). In domain1, I have one folder containing many images which I want to share for domain2. So i have created link for image directory using below command.
ln -s... (1 Reply)
Discussion started by: amitshah.in
1 Replies
LEARN ABOUT DEBIAN
ost_commandoptionparse
ost::CommandOptionParse(3) Library Functions Manual ost::CommandOptionParse(3)
NAME
ost::CommandOptionParse -
This is the CommandOptionParse interface class.
SYNOPSIS
#include <cmdoptns.h>
Public Member Functions
virtual ~CommandOptionParse ()=0
Virtual destructor needed so that the object may be correctly deleted.
virtual bool argsHaveError ()=0
Get the value of the error flag set if the parser encountered errors.
virtual const char * printErrors ()=0
Return a string of text describing the list of errors encountered.
virtual const char * printUsage ()=0
Return a string that contains the usage description of this list of paramaters.
virtual void registerError (const char *errMsg)=0
Register an error with this parser.
virtual void performTask ()=0
The method should be invoked by the main code once it has determined that the application should be started.
Detailed Description
This is the CommandOptionParse interface class.
To implement this object you can call makeCommandOptionParse(); This will instantiate a dynamically allocated version of this class and
parse the command line for the list of command options that are passed in.
Author:
Gianni Mariani gianni@mariani.ws
Examples:
cmdlineopt.cpp.
Constructor & Destructor Documentation
virtual ost::CommandOptionParse::~CommandOptionParse () [pure virtual]
Virtual destructor needed so that the object may be correctly deleted.
Member Function Documentation
virtual bool ost::CommandOptionParse::argsHaveError () [pure virtual]
Get the value of the error flag set if the parser encountered errors.
Examples:
cmdlineopt.cpp.
virtual void ost::CommandOptionParse::performTask () [pure virtual]
The method should be invoked by the main code once it has determined that the application should be started.
Examples:
cmdlineopt.cpp.
virtual const char* ost::CommandOptionParse::printErrors () [pure virtual]
Return a string of text describing the list of errors encountered.
Examples:
cmdlineopt.cpp.
virtual const char* ost::CommandOptionParse::printUsage () [pure virtual]
Return a string that contains the usage description of this list of paramaters.
Examples:
cmdlineopt.cpp.
virtual void ost::CommandOptionParse::registerError (const char *errMsg) [pure virtual]
Register an error with this parser. This string will be appended to the errors already buffered in this object.
Examples:
cmdlineopt.cpp.
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
GNU CommonC++ Sat Jun 23 2012 ost::CommandOptionParse(3)