08-25-2008
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hi all:
my solaris FIND does not support
find myFolder -type d -empty
how can i find the empty folders?
thanks! (7 Replies)
Discussion started by: lasse
7 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
I am checking for a empty input file to do some further action , but I am getting exit status 0 in both the cases , for empty and non empty file both.
The value of $? is coming 0 in if part also and else part too.
#!/bin/ksh
if ]; then
echo "data"
# exit 0
echo "$?"
else... (4 Replies)
Discussion started by: mavesum
4 Replies
3. UNIX for Dummies Questions & Answers
im just trying to have some fun and kill some time writing a c++ program that has a person type in a car make and model then gives them a year and a price. or something like that. i always have problems getting it goin but once the ball is rolling im usually pretty good. anyone wanna help me out? ... (1 Reply)
Discussion started by: rickym2626
1 Replies
4. Programming
Hi, i have a question about C++. Is it possible to declare a class with a member ot the same class? For example, a linked list or i want to convert this C code to C++ class (Elemento)
typedef struct elemento
{
char name;
char value;
List<struct elemento> ltElementos;
... (7 Replies)
Discussion started by: pogdorica
7 Replies
5. UNIX for Advanced & Expert Users
Hi All
Can anybody tell me what is the purpose of inv in the below command.
ftp -inv $RFTPSERVER /temp/te.txt << EOF
and << its stands for what..
Thanks (1 Reply)
Discussion started by: raju4u
1 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I have read from the book that , <> causes the file to be used as both input as well as output. Can anyone give me the scenario where <> will be useful?
Thanks (10 Replies)
Discussion started by: pandeesh
10 Replies
7. Programming
Hi,
I believe the next code is wrong:
class Egg {
Egg e;
int i;
Egg(int ii=0) : i(ii) {}
};
because you would end up with an endless definition (memory allocation) of Egg objects, thus int i.
Ok, so God Eckel proposes for a singleton:
class Egg {
static Egg e;
int... (5 Replies)
Discussion started by: xavipoes
5 Replies
8. UNIX for Advanced & Expert Users
Hi all!
I am trying to register a device in an existing device class, but I am
having trouble getting the pointer to an existing class.
I can create a class in a module, get the pointer to it and then use
it to register the device with:
*cl = class_create(THIS_MODULE, className);... (0 Replies)
Discussion started by: hdaniel@ualg.pt
0 Replies
9. Programming
I have the two class definition as follows.
class A { public: int a; };
class B : virtual public A{ };
The size of class A is shown as 4, and size of class B is shown as 16. Why is this effect ?. (2 Replies)
Discussion started by: techmonk
2 Replies
10. Programming
Hello All,
I am a learner in C++. I was testing my inheritance knowledge with following piece of code.
#include <iostream>
using namespace std;
class base
{
public :
void display()
{
cout << "In base display()" << endl;
}
void display(int k)
{... (2 Replies)
Discussion started by: anand.shah
2 Replies
LEARN ABOUT DEBIAN
extutils::xspp::node::class
ExtUtils::XSpp::Node::Class(3pm) User Contributed Perl Documentation ExtUtils::XSpp::Node::Class(3pm)
NAME
ExtUtils::XSpp::Node::Class - A class (inherits from Package).
DESCRIPTION
An ExtUtils::XSpp::Node::Package sub-class representing a class declaration such as
%name{PerlClassName} class MyClass : public BaseClass
{
...
}
The Perl-level class name and the C++ class name attributes are inherited from the ExtUtils::XSpp::Node::Package class.
METHODS
new
Creates a new "ExtUtils::XSpp::Node::Class" object.
Optional named parameters: "methods" can be a reference to an array of methods (ExtUtils::XSpp::Node::Method) of the class, and
"base_classes", a reference to an array of base classes ("ExtUtils::XSpp::Node::Class" objects). "catch" may be a list of exception names
that all methods in the class handle.
add_methods
Adds new methods to the class. By default, their scope is "public". Takes arbitrary number of arguments which are processed in order.
If an argument is an ExtUtils::XSpp::Node::Access, the current method scope is changed accordingly for all following methods.
If an argument is an ExtUtils::XSpp::Node::Method it is added to the list of methods of the class. The method's class name is set to the
current class and its scope is set to the current method scope.
ACCESSORS
methods
Returns the internal reference to the array of methods in this class. Each of the methods is an "ExtUtils::XSpp::Node::Method"
base_classes
Returns the internal reference to the array of base classes of this class.
If the base classes have been defined in the same file, these are the complete class objects including method definitions, otherwise only
the C++ and Perl name of the class are available as attributes.
perl v5.14.2 2011-12-20 ExtUtils::XSpp::Node::Class(3pm)