Programming :: What Is Called The Old Style Of The GUI Interfaces

Nov 27, 2010

I'm wondering about this kind of GUI Interfaces like Slackware setup program

What is called ? Also, Can it be used with Python?

View 6 Replies


ADVERTISEMENT

Programming :: Destructor Called On Objects In Deque Without It Being Called Explicitly

Jul 13, 2011

I feel there's a bit of a misunderstanding going on between C++ and me...My problem is that I have a deque of pointers to a class, and create objects then add them to the deque in a for loop. However, the destructor is called on the object as soon as the loop quits.

Code:

This prints:

Code:

Now, if I change the deque from deque<Test*> to deque<Test> then it works fine - I get:

Code:

However, I can't do this with my actual code, because I am creating a deque of pointers to an abstract class, so it won't let me instantiate the class. (This is all so that I can take advantage of polymorphism, and call functions on a set of similar objects without worrying what type of object I'm dealing with).

So, I suppose my question is: what is the correct way to create that deque of pointers to the abstract class? I don't seem to be barking up the right tree currently.

View 4 Replies View Related

General :: Write A Script To Convert All DOS Style Backslashes To UNIX Style Slashes?

May 20, 2011

How do I write a script to convert all DOS style backslashes to UNIX style slashes in a list of files /

View 3 Replies View Related

Debian Multimedia :: Notification In Bar Style Instead Of Box Style?

Nov 14, 2015

which kind of package enables the notification bar ("(A) Connection Established I'm running Code: Select allLinux 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u5 (2015-10-09) x86_64 GNU/Linux on two machines with i3 window manager but one have notifications in a box, the other one in a bar on the top of the screen. I would like two enable the "bar style" on the second machine as well.

View 4 Replies View Related

Programming :: What's Best Practice For C-Style Stings?

Apr 22, 2011

I have searched the net for The Best Practice of C-Style Stings, but the examples i have found aren't sufficient.Can someone please show me The Best Practice for C-Style Stings, or direct me to something i can read that shows in details the best practice.

View 12 Replies View Related

Programming :: Bash - How To Control Output Style?

Aug 24, 2009

For example,I have three paragraphs,as following:

I want to output it as following:

View 2 Replies View Related

Programming :: Function Successfully Called But It Did Not Run Device Properly?

Jan 6, 2010

I have our own C written program code which is communicating with a third party C++ written program code to run a moving device. We have successfully communicated with the third party code with wrapper functions. (Thanks to member in LQ that helped me solved this.)Now, we tried to run some functions to move the device. I think it is better for me to attach the related code first. pro.c (The source code we used to run the device)

Code:
#include<stdio.h>
#include "wrapper.h"

[code]....

View 7 Replies View Related

Programming :: Terminate Called After Throwing An Instance Of 'std::bad_alloc'

Jul 13, 2010

I have written a code in which i have used vectors:

vector< vector<double> > arr;
arr.resize(x,vector<double>(x,0));

x is a variable which is taken from a very beg text file > 64MB

first line of my code is
cout<<"
Wait Running...";

my code takes text file as an input, takes its data and generates an output text file....

Code is running fine for small data tried till x= 10

but while trying to run with large data ie x = 5000000 approx it is giving error
Even the first line of the code is not displayed. NOTE: variable is declared global but its size is defined in main.

The error that i am getting after approx 2-3 minutes is:

terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Wait Running...Aborted (core dumped)

View 6 Replies View Related

Programming :: What Is The Terminology Called Of A Binary Using A File That Is Not Part Of It's Self

Feb 14, 2011

What is the Terminology called of a Binary using a file that is not part of it's self? An example would be when a browser uses a HTML file for it's interface. The binaries code has to know how to find it and so on. I imagine that the applications binary uses a system call and that another application takes over.

View 1 Replies View Related

Programming :: Wrote Code For An Application Called Nagios?

Sep 3, 2010

I suspect this will be beyond my abilities but thought I'd give it a try. A few months ago I wrote code for an application called nagios which would send me tweets when a system within my network ran into a problem (code below):

Code:
define command {
command_name notify-host-twitter

[code]....

View 7 Replies View Related

Programming :: Using Command-line Options With A Program That's Called Using Env

Oct 11, 2010

I thought about this a while ago when reading through a Python tutorial and I googled some and couldn't find an answer. Now I want to know it for Ruby, also, and it's more important now because I want to invoke Ruby with -w.

How can you use:

Code:

with a -w option to ruby, like:

Code:

This doesn't work and I can't find an explanation of how to do it.

Code:

View 1 Replies View Related

Programming :: Preferred Method For Obtaining Harvard Style Referencing In LaTeX Document?

Mar 30, 2011

What is the preferred method for obtaining Harvard style referencing in a LaTeX document?

View 1 Replies View Related

Programming :: Loading Environment Into Bash Script Called By Cron?

Mar 18, 2010

Script programming question for the experts. I have written a bash script that works fine if I execute from the shell interactively. However, once I schedule it to be executed via cron, it just wouldn't work. I believe this has to do with cron running in a different environment than the one I am in when I putty in.

The bash shell script does refer to environment variables in the .cshrc file. I guess these aren't available to the cron? How can I load them into the script if I want them to be available to the cron locally within the script?

View 1 Replies View Related

Ubuntu Networking :: ADVISEADDR: Error In Specifying Interfaces: No Existing Ip Interfaces Found

Jan 7, 2010

I have a weird issue that I have not seen on any forum. My jaunty on DELL studio laptop seems connected to net, but I can not access any network service (ssh, firefox etc.). But when I connect a cable the cable lights blink as it should be and in wireless connection my wifi light blinks.

It was working 2 days ago without problem, and I have not done big changes recently.I removed and reinstalled network-manager and network-manager-gnome. Nothing changed. I see a message in each restart as follows (when Openafs is starting). I can reproduce it with "/etc/init.d/openafs-client restart"

Code:

ADVISEADDR:error in specifying interfaces: no existing ip interfaces found

#lspci

Code:

04:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100
08:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5784M Gigabit Ethernet PCIe (rev 10)
#lshw -c network

[code].....

View 5 Replies View Related

Programming :: Print Out Network Interfaces

Feb 3, 2010

how do i combine these two lines to output all network interfaces on my machine?

View 1 Replies View Related

Programming :: Using C++ To List Wireless Interfaces?

Dec 23, 2009

I am trying to write a program to list wireless interfaces and changing mac address the interface that will run primarily on ubuntu 8.04 and hopefully other linux distros.I am able to list out the wireless interfaces and change MAC address using popen with linux commands in ubuntu 8.04Is there a way to use C++ to do the above instead of using popen with linux commands so that the program can be used for other linux distros?I have been googling on this but no luck so far.

View 2 Replies View Related

Fedora Networking :: Enable 3 Interfaces \ When Start One Interface The Another Interfaces Goes Down?

Jan 25, 2010

I have 3 Interfaces for a different LAN's and when I start one interface the another interfaces goes down.How can it's possible?I configure my ethernets as:

Code:
/sbin/ifconfig eth0 172.16.3.108 netmask 255.255.0.0 broadcast 172.0.255.255
/sbin/ifconfig eth1 172.16.3.109 netmask 255.255.0.0 broadcast 172.0.255.255
/sbin/ifconfig eth2 172.16.3.1110 netmask 255.255.0.0 broadcast 172.0.255.255

View 12 Replies View Related

Programming :: Detecting Wireless Network Interfaces?

Dec 9, 2010

My C++ program must be able to detect EVERY Wireless Network Interfaces under Linux operating system and display the interface names on the screen.How can my application achieve this?Is there any sample codes?Is there any third party libraries can do this?Notes: The detected wireless network interfaces should also include the virtual interfaces, like the one created by Aircrack-NG's Airmon-NG script.

View 1 Replies View Related

Ubuntu Networking :: Adding Interfaces To /etc/network/interfaces?

Apr 16, 2010

If I try to add a new interface (eth1) to /etc/network/interfaces, I get

Code:
* Reconfiguring network interfaces... SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device

[Code]...

How do I add 2 interfaces and get anyone of them to work, as available ?

View 5 Replies View Related

Programming :: What Are The Series Of Files That Are Called When A User Make Copy Operation From Usb Mass Storage To Hard Disk

Mar 20, 2010

what are the series of files that are called when a user make copy operation from usb mass storage to hard disk?i have reached the code of the usb mass storage in linux kernel 2.6.33 and i want the exact code the make the copy how can i do that?

View 2 Replies View Related

Programming :: Function Handler Is Called One Time Only Instead 2 Times If The 2 Timers Expires At A Time

Mar 2, 2011

I am using Debian linux. I have 100 timers running. If a timer expired which will generate a signal and it was mapped to a same function handler. All the timers are mapped to one function handler. The problem is if the timer expires one at a time, the function handler called at a time. But if the 2 timers expires at a time, the function handler is called one time only instead 2 times. Is it possible to invoke the function handler as many times based on timer expirary happens simultaneoulsy?

View 14 Replies View Related

Programming :: Function In Kernel Space Called Form User Space

Jul 7, 2009

I wanna write a file in kernel space but from my searching I can to know that instead of writeing file in kernel space ,I can write data to user space by copy_to_user space.

But link is missing ...I dont know how will my user space will access kernel space means my function in kernel space which will do copy_to_user /....How my user space function will call my kernel level function ..

Can any one of you provide me with some example file which are doing this .I know every char driver is using it ...but i could not trace back how user level function is accessing it ...i m confused between user space and kernel space.

View 2 Replies View Related

Ubuntu :: Get A Mac OS X Style Dock?

Apr 24, 2010

I'm looking for a way to get a Mac OS X style dock on Xubuntu, I tried cairo and it was ok but I just got a black border around the dock which was annoying. And I tried looking up how to fix it and most places recommend turning on compositing which I had already had on in xfce. I'm not necessarily looking for animated stuff, just an icon based dock like that.

View 9 Replies View Related

Debian :: Backports.org 'SID' Style Breakage?

Mar 31, 2010

For the 2nd time in a year. I really need v3.xx because 2.4 breaks formatting when opening v3 files. Why did i go back to 2.4 ? 3.1 was slower with calc. Now I'm stuck with 2.4 because of the ongoing stupidity in backports.org.

# aptitude install openoffice.org -t lenny-backports
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Reading task descriptions... Done
The following packages are BROKEN:

[Code]...

View 2 Replies View Related

Fedora :: F14 And White End Style In GTK Apps?

Nov 3, 2010

I'm upgraded F13 to F14 and now all the GTK+ apps have this "white end" style in the menu. My question is, is that the new GTK+ style or is something wrong? [URL] I'm using KDE in F14 with QtCurve style for GTK+ apps.

View 14 Replies View Related

Fedora :: Change The 15 Login Box Style?

Jun 11, 2011

i'm running F15 with the Gnome 3 shell and also changed the shell's style to a theme called 'Zukitwo', it can be found here..

[code]....

follow the instructions in the 'Install' document closely, i found after installing a different package manager called 'Yum Extender' which made things simpler for me, i installed the 'Gnome tweak tool', 'gnome-shell-extensions-user-theme'' and 'gnome-shell-extension-common'', but i also had to install the latest 'Murrine GTK2 engine' for the 'Zukitwo' theme to be recognised in the 'Gnome tweak tool', the location i chose to copy the Zukitwo folders to was.. /home/your username/.theme I'd like to now change just the style of the Fedora 15 login window(as in username/password popup box), but without changing my background wallpaper that being used, i have found a 'login' box style from a website below which i'd like to use.

[URL]

is changing just this part of the 'login' box style possible without altering the exsisting background, and how might this be done?

View 14 Replies View Related

OpenSUSE :: Inconsistent Style In Help Center

May 16, 2010

I am trying to read the info for Groff using KDE Help Center. The paragraphs take turns in using monospace and sans-serif. There is no apparent logic behind this variability. Additionally, several lists are misplaced (not indented).

View 9 Replies View Related

Ubuntu :: KDE-style App Launcher For XFCE?

Aug 14, 2010

I was wondering if anyone knew if there is an KDE-style app launcher for XFCE, preferably in the repos. I'm using KDE on my main system, and would love to have the same ALT+Space launcher on my laptop. Only without having to install (and run) all of the KDE libraries.

Closest I came was a couple of Mac-OS style docks.

View 7 Replies View Related

Ubuntu :: KDE Apps In Gnome Look Different From What Qt Style Looks Like

Nov 28, 2010

I use a few KDE apps in gnome, and I like them to look as in KDE with elegant qt style buttons and controls,however they look like whatever but what qt applications look like.

View 2 Replies View Related

Ubuntu :: Is There 'Outlook' Style Calendar?

Dec 11, 2010

The only reason I keep a dual-boot on my computer is because I need the calendar in Outlook. Is there a outlook-style calendar I can use in Ubuntu 10.04? Here is the catch, it MUST be able to sync with my Google calendar. Because I use an android phone that syncs with Google. I would love to totally leave windoze behind me.Maybe I can use Wine to install the entire 2007 MS office suite into Linux?

View 9 Replies View Related







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