General :: Find The Scope / Definitions Of A Class / Methods?

Feb 13, 2010

In Windows environment when I used Borlan for C/C++ compilation, I was used to find the the scope/definitions of the methods/classes by pressing

Code:
ctrl + F1

when the cursor was hovering on that method/class. How can I find the scopes/definitions in the GNU/Linux?

Code:
//atoi.cc
#include <iostream>
main(int argc, char* argv[]) {
float var_float = atof(argv[0]);

[Code]....

View 5 Replies


ADVERTISEMENT

Red Hat / Fedora :: Find Signal Handlers Definitions In Kernel?

Apr 9, 2011

I am currently working on "Creation of Postmortem data logger in Linux on Intel architecture. Its nothing but core utility creation. how the signal handlers for various signals(SIGSEGV,SIGABRT,SIGFPE etc) which produce core dump upon crashing an application internally implemented in Linux kernel. I need to re-write these signal handlers with my own user specific needs and rebuild the kernel. It makes my kernel producing the core file (upon crashing an application) with user specific needs like showing registers,stackdump and backtrace etc.

View 1 Replies View Related

OpenSUSE :: Can't Seem To Find In Repositories Is Software For Dictionary Definitions / Thesaurus

Feb 19, 2010

What I can't seem to find in the repositories is software for Dictionary Definitions and a Thesaurus - in another distro there is what is called "Online Dictionary" (which includes synonyms) and another distro there is what is called "WordNet";So, I would like to know the name(s) to look for in the repositories for software for a Dictionary / Thesaurus, where it is two different software packages or just one.I did see the "webpin" finds "WordNet", but installation of that fails.

View 7 Replies View Related

General :: SuSe 11.3 - Could Not Find Main Class (OData)

Apr 20, 2011

I have installed suse linux 11.3. I have jdk 1.6.20.0 and oracle 10g 10.2.0. When I tried to connect to a database through thin driver ,it is giving me the following error.

Exception in thread "main" java.lang.NoClassDefFoundError: odata
Caused by: java.lang.ClassNotFoundException: odata
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)

Could not find the main class: odata. Program will exit.

View 3 Replies View Related

Debian Programming :: Emacs And ECB Missing Python Methods In Methods Window

May 12, 2014

I work with python and I use emacs as my IDE tool. I have been running Debian Squeeze (6.0.9) for some time now with emacs 23.2.1 and ecb 2.32. I am able to access my python methods in the ecb-methods window with no problems. However I recently upgraded my desktop to Debian Wheezy (7.5) running emacs 23.4.1 and ecb 2.40 but I have lost access to the methods in the ecb-methods window. The window is just empty while the others (directories, sources and history) are all populated. I have a second laptop which I decided to upgrade to Debian Jessie, however Jessie recommends emacs 23.4.1 which is running with ecb 2.40 also. The result is the same as on Wheezy.

I have used the ecb menus and googled for a solution or even just a mention that such a problem exists but have come up with nothing. Either I have a unique situation here or am doing something really dumb.

I would like to upgrade to Wheezy or Jessie but I need access to methods in the ecb methods window. How to keep my upgrade and see the methods in the methods window of the ecb system ....

View 0 Replies View Related

Software :: Memory Usage General Definitions On Top ?

Oct 27, 2009

I was playing with top to understand ram memory usage of every thread but i am in trouble with some basic questions:

- what difference is between 'thread' and 'process'?

- what does 'virtual image size' means, and Resident size, Shared Mem size, Code size, Data+Stack size, Swapped size? I thought that the only important field is 'Memory usage', but it is represented as a percent value...

I have googled a bit, but nothing really helped me. before opening top i thought that memory is divided in several pages by every process/thread (?) and that this occupied memory would be counted as 'used memory', and nothing else.

View 8 Replies View Related

Debian Programming :: Java Can't Find Main Class

May 18, 2010

This is a bit of revision for the OU course M257

Code: Select all import java.util.*;
public class FindDupes {
public static void main(String[] args) {
   Set<String> orig = new HashSet<String>();
   Set<String> dupe = new HashSet<String>();
   for(String a: args)
   if(!orig.add(a))
      dupe.add(a);

   orig.removeAll(dupe);
   System.out.println("words " + orig);
   System.out.println("dudes " + dupe);
}
}

for some reason it will compile but not run on debian lenny complains it can't find the main class but it compiles and runs without problem on Fedora 12.

View 6 Replies View Related

OpenSUSE Install :: Cannot Compile Vdrift-2009-06-15 - Warning: The Options Class Is Deprecated; Use The Variables Class Instead

Mar 12, 2010

I have a problem with compiling vdrift-2009-06-15 using scons. As the source that i obtained only supports scons i cannot use make. the error that i get when i try to compile it in GNOME Terminal is: scons: Reading SConscript files ... scons: warning: The Options class is deprecated; use the Variables class instead.
File "/home/mohit/Download/vdrift-2009-06-15/SConstruct", line 9, in <module>

scons: warning: The BoolOption() function is deprecated; use the BoolVariable() function instead.
File "/home/mohit/Download/vdrift-2009-06-15/SConstruct", line 13, in <module>
Checking for C++ header file asio.hpp... (cached) yes
Checking for C++ header file boost/bind.hpp... (cached) yes
Checking for C++ header file GL/gl.h... (cached) yes
Checking for C++ header file GL/glu.h... (cached) yes
Checking for C++ header file SDL/SDL.h... (cached) yes
[Code]........

View 4 Replies View Related

Programming :: Using Grep And Regular Expression To Find Class References In C++ File?

May 28, 2010

I'm trying to math all class references in a C++ file using grep with regular expression. I'm trying to know if a specific include is usuless or not, so I have to know if there is a refence in cpp. I wrote this RE that searches for a reference from class ABCZ, but unfortunately it isn't working as I espected:

grep -E '^[^(/*)(//)].*[^a-zA-Z]ABCZ[]*[*(<:;,{& ]'
^[^(/*)(//)] don't math comments in the begging of the line ( // or /* )
.* followed by any character

[code]....

Well, I can get patterns like this:

class Test: public ABCZ{
class Test: public ABCZ {
class Test : public ABCZ<T>

[code]....

View 4 Replies View Related

Server :: Design An Inexpensive Large Scale DNS Server But Fail To Find Any Metrics Or Methods To Base Scalabilty?

Nov 28, 2010

I'm trying to design an inexpensive large scale DNS server but fail to find any metrics or methods to base scalabilty.Can anyone offer information on building a stable dedicated DNS server? That might be able to scale well.

View 8 Replies View Related

General :: ERROR: Iostream.h: No Such File Or Directory / Cin Was Not Declared In This Scope?

Jun 8, 2010

I create a simple code for add two number:

Code:
#include<iostream.h>
#include<stdio.h>
main()
{
int num1, num2, sum;
code....

I search the answer to my problem in various forums but I can't solve the problem.I think that is due to I need some package or that I don't install the necessary libraries.

View 2 Replies View Related

General :: Re-build Network - Blow Away All Network Hardware Definitions

Feb 1, 2010

I just recently rebuilt my RHEL 5.3 system using MONDO onto differnt hardware. The tool worked GREAT on my 32 bit system. The only problem I am having now is that since this system was built as a clone of another system on different hardware, it copied over the network definitions as well. Not good!!! So although my system is up, I can't get it on the network because it still wants to use the original NIC's that were on the other system. How can I blow away all network hardware definitions and tell the system to go out and re-discover so that I can configure them with the nessasary network information.

View 5 Replies View Related

Ubuntu Multimedia :: "Could Not Find The Main Class: Org.thestaticvoid.iriverter.ConverterUI"

Jun 5, 2010

ireverter will not launch due to a java problem: "Could not find the main class: org.thestaticvoid.iriverter.ConverterUI"

In the past a solution was to add: "export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/jni" before the java line in the script. This does not correct my problem.

View 1 Replies View Related

General :: Sufficient Hardware And Methods To Stream Media In LAN?

Jul 22, 2010

Recently, my fraternity decided to use our LAN to stream media to our various bars, lounges and ballroom. Some of our playback devices, including an iPhone and a laptop, broke during a party, which is why we decided to have portable devices replaced with sturdy, interchangable and fixed hardware.

As this is going to cost some money and effort, we had better make a fully thought-through plan, which I am in charge of. Still, having never organized a project of any measurable magnitude, I would rather have this plan commented on here.

So far, I am planning to buy one central PC (2GHz, 512 MB RAM) acting as a server, and four identical PCs (1GHz, 256 MB RAM) acting as clients. The former would a) provide local files, stored an an external encrypted hard drive, and b) act as a NFS and SMB client to private systems in the same LAN to incorporate (and forward) data stored on those (as to provide one central point to change the configuration for their use). Futhermore, it would host /etc, /usr and /home of the individual clients to provide that at all times, the same software and drivers are used on all of them. The clients then would mount /etc, /usr and /home from the server, alongside with the both the directories on its external HDD and the ones it had itself mounted from other PCs. Each of them would have to be able to play back music, video files and terrestrial TV from a USB stick, with at most two of them doing so at a time.

Is this a realistic scenario? I so, would you have any recommendations for changes and could you point out pitfalls? The whole lot would have to be rather secure, as usually, there are lots of people coming and going, and we don't want our private data corrupted. If not, where did I go wrong? How would you yourself build a system like that?

And last, what software would you use? Is there a window manager which would be able to act solely as a means to display the three icons needed for TV, video, and music, and make it impossible to tamper with the system? And what programs would you use for playback to ensure maximum performance?

P.S.: Not that I'd suspect so, but is there a german lawyer present? Provided the individual files we play are in our legal posession, this is a legal scenario, isn't it? There would only be friends and other frats present at any public display.

View 3 Replies View Related

General :: Manpages - Tricks / Sites / Methods To Use The Man Command In A More Convenient Way?

Nov 20, 2010

Are there any tricks/sites/methods to use the linux man command in a more convenient way? I love commands in terminal but for some strange reason I preferred to type man in firefox then in the terminal. The output is so long and I have to scroll forever to find what I need. Also the lack of example is a headache.

View 4 Replies View Related

General :: Finding Difficult To Understand The Methods Of Xml Modules In Python?

Apr 15, 2011

python can get anylink or any tutorials which is having few basic eg. and could help as a guide too. bcaz whatever now i have like "byte of python" which i feel difficult bcaz it lack in having eg. for modules of xml.so please help me by providing any better options

View 1 Replies View Related

General :: Advanced Uses Of Kickstart - Write A Report With A Full And Detailed Analysis Of The Two Methods

Apr 30, 2010

Does anyone know or have a book on the advanced uses of kickstart and its deployment methods? I have a challenge and its to: Write a report with a full and detailed analysis of the two methods,(remote installation methods of linux and windows) their differences, and a comparison of features and performance.

I am also going to have two servers (one Windows one Linux)thay deploy a virtual network of VMs with different scopes and policies. What can i really do to go beyond the scopes and policies?

View 1 Replies View Related

Programming :: Definitions For C Library Functions ?

Apr 24, 2010

Where are the definitions for C library functions located? It was just recently that I realized that header files don't actually define any functions, they merely include their prototypes.

For instance, stdio.h includes the following line:

Code:

This just means that the definition of printf() is located in another file. What file? Is there some kind of default shared object file that is automatically included during compilation?

View 2 Replies View Related

Ubuntu :: Incorrect Folder Path Definitions

Feb 5, 2011

I have somehow managed to wreck the definitions /paths for my Home and Desktop. If I click on Places I now have a "Home Folder" displayed as "Open Your personal Folder", a "Desktop" displayed as "Open the contents of your Desktop in a folder" and a second "Home Folder" displays as "Open '/home/ian'"....and they all point to the same folder which is my personal user file "ian". This is kind of OK except that every file I have now gets displayed on my screen because "Desktop" has a view of these files. Is there any easy way to reset my file directory ? or do I have to backup my files and reinstall Ubuntu.

View 2 Replies View Related

Red Hat / Fedora :: How To Update Clamav Virus Definitions

Jun 14, 2009

I have installed clamav antivirus,and while scanning it shows the following warning

LibClamAV Warning: **************************************************
LibClamAV Warning: *** The virus database is older than 7 days! ***
LibClamAV Warning: *** Please update it as soon as possible. ***
LibClamAV Warning: **************************************************

And so i have tried to update the virus database as root,using this command

# freshclam
bash: freshclam: command not found

but i cant,can you pls say me how to update the virus database...

View 10 Replies View Related

Programming :: Embed Variable Definitions Within Constants So They Can Be Interpreted?

Jun 30, 2011

Say I have arrays of constants code...

Is it possible to induce bash to interpret the ${tbl[1]} part to its actual value (1-6) when I reference those particular entries in the arrays?
Using this instruction to do so code...

View 9 Replies View Related

General :: Class Getting Humility Lesson

Mar 2, 2011

I'm in Linux class getting a humility lesson as I type this.

View 2 Replies View Related

General :: Compile C++ Class In System?

May 25, 2010

I am new in c++ progreming .
i have written lot of classes and main class of c++ in one file and compile successfully but now i have written all classes in different and main class in different file like this.code...

now how to compile and run these classes

View 1 Replies View Related

General :: Sys/class/net/ethx/type - What Is It?

May 3, 2011

To get info of all etherhet adapters I am using C as well as info from various files in /sys/class/net/ethx directory.

There is a file name 'type' and has a number in it. Is it physical medium type of ethernet adapter? If yes, then how do I get string representation of that number? If no, then How do I determine physical medium type of ethernet adapter. For example 802.3, 802.5 etc.

View 1 Replies View Related

Networking :: Keep Some Port Out Of The Scope Of A VPN Connection ?

Oct 31, 2010

I have a server (192.168.1.9) in my network that is running a http server on port 5000. This server port have been opened (on my router 192.168.1.1) to be available from my public IP (on port 80).

I have recently installed openvpn to connect to a vpn, but I'd like to keep my http server available from my public IP (no need to have it available to the VPN network).

I'm completely lost and I don't know where to start ...

Here are some details about the route configuration :

Code:

View 7 Replies View Related

Programming :: (BASH) Keep Variable In Scope?

Jul 15, 2011

i've just started to learn about functions in Bash scripting. I'm able to set the functions and execute the commands correctly. However, if my_var is set in the first function and then later in the script in the script the 2nd function is called, it doesn't seem to remember my_var and quits (at least i suspect this is the problem).

Here's my code (it requires yad available via webupd8. org). My specific problem seems to lay in line #27 where if we view the changelog and then exit that window, it returns to the "main" function but any subsequent commands cause a crash. Is this because of the get command on line #29? It's presumably now out of scope after calling menu on line #25?

View 8 Replies View Related

General :: Smtp Class In Chrooted Directory

Jul 29, 2010

I am unable to send emails throught smtp class with auth server. Whenever i send the email even throught mybb smtp class in forum i see blank page and apache logs shows: Code: [Thu Jul 29 16:41:49 2010] [notice] child pid 23716 exit signal Segmentation fault (11) any idea what i have to add for proper work of this?

View 1 Replies View Related

General :: /sys/class/net/ Is This Is The Correct Place For Eth Info

Apr 12, 2011

Using a python script, I am gathering various info about all the ethernet adapters installed. For this I am parsing all the directories(each directory represent a ethernet adapter) inside"/sys/class/net/" directory.Is this is the correct place and de-facto standard for listing ethernet adapters?I am concerned about modern distros as well as a bit older ones for the presence of this directory.

View 1 Replies View Related

Ubuntu :: Error: Stderr Was Not Declared In Scope?

Aug 26, 2010

i have this error when i tried to compil a program :

[Code]...

View 9 Replies View Related

Software :: Error: Was Not Declared In This Scope Compilation?

May 27, 2010

im getting the following compilation error when trying to compile a file under /proc using 5.5 RHEL

[code]
* procfs1.c - create a "file" in /proc
*
*/
#include <linux/module.h> /* Specifically, a module */
#include <linux/kernel.h> /* We're doing kernel work */
#include <linux/proc_fs.h> /* Necessary because we use the proc fs */
#define procfs_name "helloworld"
code....

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved