Sponsored Content
Full Discussion: c++ class keeps crashing
Top Forums Programming c++ class keeps crashing Post 302106673 by akira300 on Sunday 11th of February 2007 07:24:14 PM
Old 02-11-2007
Quote:
Originally Posted by milhan
change the filename to rubbish.h where you define the class rubbish, and include it as # include "rubbish.h" in the main file. Otherwise i don't see anything else wrong.

that worked thnx Smilie
 

10 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 crashing

Hi, My system is crashing with following error .. i tried to boot from the network and unencapsulated the root disk from SVM .. but still not able to boot the box , can any one point me to some direction .. i do not want to build the box new as of now just want to troubleshoot if possible.. ... (3 Replies)
Discussion started by: fugitive
3 Replies

2. UNIX for Dummies Questions & Answers

car class (not school class)

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

3. Red Hat

Fedora 11 crashing help

Using Fedora 11, just about every day the system started crashing. Becomes unresponsive to keyboard/mouse, nothing appears on screen but box is still running. Still responds to ping, arp address stays alive in the firewall, other than that its unresponsive Where can I look to find out... (1 Reply)
Discussion started by: ippy98
1 Replies

4. 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

5. UNIX and Linux Applications

Firefox crashing

Firefox keeps on crashing every time I try to run it. I tried to create a new profile with no luck. When I try to open up the profile manager firefox crashes. I even deleted my profile folder and tried to start with a new profile. That did not work either. I don't know what the problem could be. I... (6 Replies)
Discussion started by: cokedude
6 Replies

6. 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

7. UNIX for Dummies Questions & Answers

Random Crashing

Over the last month or so my CentOS server has been crashing for reasons I do not know. It has been running for over a year with regular yum updates without problems. The load on the server is perfectly normal with CPU usage at 5-6% and RAM usage at less than half of 32GB of RAM (multiple smaller... (3 Replies)
Discussion started by: spinner0205
3 Replies

8. 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

9. 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

10. 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
NETBEANS(1)							 Java IDE and More						       NETBEANS(1)

NAME
NetBeans - Java IDE SYNOPSIS
netbeans [ options ] [ files ] PARAMETERS
options Command-line options. files Files to be opened in NetBeans IDE. DESCRIPTION
NetBeans is a cross-platform IDE written in Java. It supports development in Java, and support for other languages can be added. The whole IDE is built around a core framework with APIs, and features are implemented in the form of plugin modules. This clean, modular architec- ture makes NetBeans a good platform for building development tools and custom IDEs. OPTIONS
General options: --help List available command line options --jdkhome <path> Path to JDK home used to run IDE -J<jvm_option> Pass <jvm_option> to JVM --cp:p <classpath> Prepend <classpath> to classpath --cp:a <classpath> Append <classpath> to classpath Core options: --laf <LaF classname> Use given LookAndFeel class instead of the default --fontsize <size> Set the base font size of the user interface, in points --locale <language[:country[:variant]]> Use specified locale --userdir <path> Use specified directory to store user settings Module reload options: --reload /path/to/module.jar Installs or reinstalls a module JAR file. OpenFile module options: --open FILE Open FILE. --open FILE:LINE Open FILE at line LINE (starting from 1). AUTHOR
NetBeans was written by the NetBeans Community <http://www.netbeans.org/>. This manual page was written by Marek Slama <mslama@netbeans.org>, for the Debian project (but may be used by others). January 18, 2008 NETBEANS(1)
All times are GMT -4. The time now is 03:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy