Sponsored Content
Full Discussion: Inheritance
Top Forums Programming Inheritance Post 302639033 by MadhuM on Friday 11th of May 2012 06:04:43 AM
Old 05-11-2012
I read the rules to post the question

This is not a home work question. I faced it in one of the discussion at my organization level...
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

perl - variable inheritance

Hey Everyone, Does anyone know how - or if it's even possible - for a child perl script to inherit the variables of a parent perl script? In a shell script, you would use "export" for example. I am running Perl 5.8. Basically, let's say "perl1.pl" calls "perl2.pl" and I want "perl2.pl" to... (2 Replies)
Discussion started by: gsatch
2 Replies

2. Shell Programming and Scripting

Makefile: Parent - Child Inheritance and export

Hi, I have a number of Makefiles, including a couple of files that I include in Makefiles, a few scripts that are executed through Makefiles, and I have problems with environment variables that are not inherited to the scripts properly. Simplified scenario: rootdir/Makefile: all: ... (1 Reply)
Discussion started by: Shompis
1 Replies

3. UNIX for Dummies Questions & Answers

Question on variable inheritance & code statements

1) I have the below code in concattxnrecords.sh shell script and it is calling the genericVars.sh shell script which is mentioned as below has some code inside it which would intialize some variables in it, now my question is will this shell script would inherit those variable definitions or not... (3 Replies)
Discussion started by: Ariean
3 Replies

4. AIX

WLM inheritance

Is none of you using WLM? A search gives no matches.... Anyway, I have set up a class with inheritance = yes. In the rules characteristics I have chosen a shell script as an application. This script is caught by the class, but not the child processes, which have the PID of the script as the... (6 Replies)
Discussion started by: firefox111
6 Replies

5. Programming

C++ Inheritance problem??????

Hi friends, I hope u people are ok and doing fine. I have this small problem with the derived class. I have created te base class and there is a small problem with the definition of the derived class which the compiler is pointing out, could you please help me. Here is my code #ifndef... (2 Replies)
Discussion started by: gabam
2 Replies

6. Shell Programming and Scripting

Inheritance in Perl

package Inventory_item; sub new { my($class) = shift; bless { "PART_NUM" => undef, "QTY_ON_HAND" => undef }, $class; } package main; $item = Inventory_item->new(); Can any one please help me in brief explaining the line... (5 Replies)
Discussion started by: parthmittal2007
5 Replies

7. Programming

Difference in multiple inheritance and multilevel inheritance: same method name ambiguity problem

Hi, In multi-level inheritance: class A { public: void fun() { cout << "A" << endl; } }; class B : public A { public: void fun() { cout << "A" << endl; } }; class C : public B { }; int main() { C c; c.fun(); // Ans: A } (1 Reply)
Discussion started by: royalibrahim
1 Replies

8. Red Hat

Ulimit Inheritance

Hi , If i start mysqld or httpd as root user which inturn starts them as "mysql" or "apache" user, will the ulimit of "root" user or ulimit of "mysql/apache" user be set for the mysql/apache processes. My understanding is that the ulimit of the user who initiates the process(root in this... (2 Replies)
Discussion started by: Hari_Ganesh
2 Replies

9. Programming

What is wrong with below python inheritance code?

I am using python 3.4. Below is the exception I am getting- Traceback (most recent call last): File "./oop.py", line 20, in <module> y = DerivedClass("Manu") File "./oop.py", line 15, in __init__ super().__init__(self,value) TypeError: __init__() takes 2 positional arguments but... (2 Replies)
Discussion started by: Tanu
2 Replies
vga_setmodeX(3) 						Svgalib User Manual						   vga_setmodeX(3)

NAME
vga_setmodeX - try to set Mode X-like memory organization SYNOPSIS
#include <vga.h> void vga_setmodeX(void); DESCRIPTION
Try to enable Mode X-like memory organization for 256 color modes using up to 256K of memory like 320x200x256 and 640x400x256. Modes like 320x240x256 etc. are Mode X-like by default. vga_modeinfo(3) lists which modes have Mode X memory layout. A mode X like memory layout means that memory is organized in four pages (set_page(3)) and that the top most pixel 0,1,2,3 are the first pixel in pages 0,1,2,3. Pixels 4,5,6,7 are than the second pixels in pages 0,1,2,3. The other, packed pixel, mode will have pixel 0,1,2,3 as pixel 0,1,2,3 in page 0 and so on. It will only use the next pages if the size of the first 64K page is exceeded. Most SVGA 256 color modes work this way. This is not guaranteed to work. Probably a new mode should be defined for planar 320x200x256. SEE ALSO
svgalib(7), vgagl(7), libvga.config(5), vgatest(6), vga_getmodeinfo(3), vga_setmode(3), vga_setpage(3), AUTHOR
This manual page was edited by Michael Weller <eowmob@exp-math.uni-essen.de>. The exact source of the referenced function as well as of the original documentation is unknown. It is very likely that both are at least to some extent are due to Harm Hanemaayer <H.Hanemaayer@inter.nl.net>. Occasionally this might be wrong. I hereby asked to be excused by the original author and will happily accept any additions or corrections to this first version of the svgalib manual. Svgalib (>;= 1.2.11) 27 July 1997 vga_setmodeX(3)
All times are GMT -4. The time now is 10:57 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy