Sponsored Content
Full Discussion: Help with message class
Top Forums Programming Help with message class Post 302452651 by eel on Sunday 12th of September 2010 10:03:36 AM
Old 09-12-2010
Help with message class

May I know how to create message class in order to store input data from the command line, so that the output will come from this class?
 

5 More Discussions You Might Find Interesting

1. Programming

C++ class definition with a member of the same class

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

2. Programming

static use for class inside the same class c++

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

3. UNIX for Advanced & Expert Users

Get pointer for existing device class (struct class) in Linux kernel module

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

4. Programming

Size of Derived class, upon virtual base class inheritance

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

5. Programming

C++ : Base class member function not accessible from derived class

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
XtCheckSubclass(3X)						   XT FUNCTIONS 					       XtCheckSubclass(3X)

NAME
XtCheckSubclass - obtain and verify a widget's class SYNTAX
void XtCheckSubclass(w, widget_class, message) Widget w; WidgetClass widget_class; String message; ARGUMENTS
w Specifies the widget. widget_class Specifies the widget class. message Specifies the message that is to be used. DESCRIPTION
The XtCheckSubclass macro determines if the class of the specified widget is equal to or is a subclass of the specified widget class. The widget can be any number of subclasses down the chain and need not be an immediate subclass of the specified widget class. If the speci- fied widget is not a subclass, XtCheckSubclass constructs an error message from the supplied message, the widget's actual class, and the expected class and calls XtErrorMsg. XtCheckSubclass should be used at the entry point of exported routines to ensure that the client has passed in a valid widget class for the exported operation. XtCheckSubclass is only executed when the widget has been compiled with the compiler symbol DEBUG defined; otherwise, it is defined as the empty string and generates no code. SEE ALSO
XtClass(3X), XtSuperclass(3X), XtIsSubclass(3X), XtIsObject(3X), XtIsRectObj(3X), XtIsWidget(3X), XtIsComposite(3X), XtIsConstraint(3X), XtIsShell(3X), XtIsOverrideShell(3X), XtIsWMShell(3X), XtIsVendorShell(3X), XtIsTransientShell(3X), XtIsTopLevelShell(3X), XtIsApplication- Shell(3X), XtIsSessionShell(3X) X Version 11 Release 6 XtCheckSubclass(3X)
All times are GMT -4. The time now is 02:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy