669 Posted Topics

Member Avatar for BLUEC0RE

I don't know too many of the internals of Linux (not as many as I'd like). But if you run the ls -a -l command in a directory, you see complete information on the listed files. In the file permissions part of the listing for each item, the first property …

Member Avatar for shibblez
0
566
Member Avatar for java_programmer

Empathy is another program on Ubuntu which also uses several different chat protocols. Up in the top bar of 10.04 and 10.10, there is an image of an envelope. If you click on the envelope, a context menu will pop up and there will be an entry in there that …

Member Avatar for beth22
0
364
Member Avatar for java_programmer

If Ubuntu is installed on the logical 'D:' volume; when you are running Ubuntu, you ARE accessing the D drive and it IS mounted. It's just not called 'D:' The thing to bear in mind here is that the various Linux file-systems are completely different to the NTFS/FAT based file-systems …

Member Avatar for java_programmer
0
330
Member Avatar for mixplates

As far as I understand it, [B][U]everything[/U][/B] is treated as a file in Unix and Linux. Even devices and running processes. Typically, the file-system entries for all connected hardware/devices can be found in the /dev directory (and its sub-directories). If you open up a terminal and cd to /dev and …

Member Avatar for ppt123
0
190
Member Avatar for masterjiraya

[QUOTE=;][/QUOTE] As you have Windows 7 installed on your PC, I recommend using the Windows version of unetbootin. So to get OpenSuse onto your USB drive you'll need to do the following: [LIST=1] [*] Boot into Windows and login to your desktop. [*] Download and install the windows version of …

Member Avatar for JasonHippy
0
692
Member Avatar for roshan_iiita

Have you tried installing VLC? VLC will play just about any multimedia file-type. There is a VLC browser plugin available for Linux, but I can't remember if it is included in the installation of the main VLC player package or if it is a separate package. Best bet would be …

Member Avatar for roshan_iiita
0
313
Member Avatar for raphilix

Your implementations of calcpercent and calclargest do not have their parameter lists included. You've declared them before main as taking (int, int) and (int, int, int) parameters respectively. E.g.: [code] int calcpercent (int xx,int yy); int calclargest (int pp, int rr, int qq); [/code] Yet in your actual implementation of …

Member Avatar for raphilix
0
145
Member Avatar for aaloo

[QUOTE=aaloo;1674482]none of them r impressive[/QUOTE] Even if none of the links brought up by the link in cwarn23's post are exactly what you're after, at least take a look at the tutorials and/or any source code for those websites that were kind enough to provide them. Try to understand how …

Member Avatar for adrianabrand
0
227
Member Avatar for dada2011

From what I can see, the variable 'i' shouldn't be in scope in your item_onmouseup function because it is declared as a local variable in the for loop in the main bit of AS code in your keyframe. So you should really be getting some kind of error about an …

Member Avatar for JasonHippy
0
140
Member Avatar for mariko

Hmm, very unusual. Not sure what could be causing that, never seen any bugs like that before in the software centre. Have you tried installing it from the command line instead? If you open up a terminal in Ubuntu (You can do this by pressing Ctrl+Alt+T or by going to …

Member Avatar for rithu.soumyaj
0
511
Member Avatar for delifion

The line: [code=c++] aa.getAttribute() = Id; [/code] Is where you're going wrong here.... The assignment operator assigns the left hand operand the value of the right operand. So you are trying to assign the value of id to the value of the getAttribute function....Which is nonsense. What you really want …

Member Avatar for Nasas
0
151
Member Avatar for Jen0608

[QUOTE=Jen0608;778053]Does Anyone know how to convert ordinary images to vector images in photoshop? How do you do it in the simplest way?[/QUOTE] [QUOTE=AHMD.M;838151]You can use illustrator by importing the image and use the "live trace" and this is the easy way..u can draw it also using pen tool. another way …

Member Avatar for londomedhit
0
364
Member Avatar for Andy_Parr

Hey Andy. You might want to try adding an event listener for the ENTER_FRAME event and set up a handler function to update the text box each time the event is detected. The ENTER_FRAME event is an event which is dispatched by Flash's event dispatcher each time a new frame …

Member Avatar for JasonHippy
0
176
Member Avatar for Will Gresham

Hey Will. Gerard, Caligula... and Greywolf are correct. In order to understand why your code is not working, take another look at the definition of _matrix in your code. _matrix is declared as [icode]std::vector<std::vector<float>>[/icode]. So it's a std::vector, NOT an instance of your Matrix class. So this code: [icode]_matrix.GetM(i,k)[/icode] is …

Member Avatar for JasonHippy
0
163
Member Avatar for khevz09

Well, for starters have a good think about your problem. Take another look at your desired output and really think about it for a minute. After the user has entered a number (num) between 1-10, you want the first line to count down from num to 1, so your initial …

Member Avatar for cejay2b20
0
1K
Member Avatar for ethio

try: [code] tar -xfz /home/liveuser/Downloads/pckg.tar.bz2 [/code] or: [code] cd /home/liveuser/Downloads tar -xfz pckg.tar.bz2 [/code] EDIT: If I'm not mistaken; because you are trying to extract a .bz2 archive, I think you need to use -xjf rather than -xzf. -xzf is for .tar.gz, -xjf is for .tar.bz2. Alternatively, you could just …

Member Avatar for kazimierz91
0
189
Member Avatar for amzyz

Try this: [CODE] #include <iostream> using namespace std; int main() { cout << "Hello World /n"; return 0; } [/CODE]

Member Avatar for EEBlake
0
2K
Member Avatar for rotten69

[QUOTE=jbirdsall;1594703]With both issues, I see what you've copies seems to mention and E: drive and a W: drive.[/QUOTE] E: and W: are not referring to drives at all, this is Linux NOT Windows! The lines of text with 'E:' at the start are error messages. The ones with 'W:' at …

Member Avatar for JasonHippy
0
373
Member Avatar for mac.jpr

The answer is pretty simple. 1. Input a number as an int (as you're doing) 2. Cast the number to double in your log calculation and store the result of the calculation in a double variable. e.g. [CODE] double calcVal = log((double)num)/log(2.0); [/CODE] 3. Create an int version of the …

Member Avatar for boddurakesh
0
341
Member Avatar for humble40

Piriform do a great free file recovery tool called recuva, which I highly recommend. Take a look at [url]www.recuva.com[/url]. I've used it several times to recover files when friends or relatives have accidentally deleted important files on their PC's. I carry a copy everywhere on one of my USB sticks …

Member Avatar for Jessikaa
1
368
Member Avatar for emreozpalamutcu

Compiles and runs fine, there is nothing wrong with it! This is the example code from the [URL="http://msdn.microsoft.com/en-us/library/system.net.mail.smtpclient.aspx#Y2800"]link[/URL] that Narue directed you to in your [URL="http://www.daniweb.com/software-development/cpp/threads/369343"]other thread[/URL] isn't it? Exactly what problems are you having?

Member Avatar for cent91
0
607
Member Avatar for lewashby

From what I've seen there are two main camps who are opposed to Mono. There are the Microsoft haters, many of whom simply dislike Mono because it implements C# and emulates the .NET runtime, which are both 'evil' Microsoft technologies. Others see the Mono runtime as an unnecessary, unwelcome and …

Member Avatar for aabhilash.mmcet
0
268
Member Avatar for David321

I lurk there sometimes. It's usually pretty quiet. Sometimes there are several people on there not talking to each other, heh heh. But occasionally somebody might break the silence and start a conversation!

Member Avatar for ~s.o.s~
0
168
Member Avatar for Anuradha Mandal
Re: Best

At the end of the day it is a completely subjective topic. The 'best' distro is the one that works best on your hardware and best fits your work-flow and your needs. If you are new to Linux, I recommend getting hold of some livecd's for different distros and see …

Member Avatar for jbennet
-2
133
Member Avatar for alaa sam

If it's not available in the Software Centre, or via Synaptic package manager; a stable version of Chrome is available directly from google as a .deb package. You can simply download the package and install it yourself! Here's the link: [url]https://encrypted.google.com/chrome?platform=linux&hl=en&lr=all[/url] Personally I'd check the software centre or synaptic first, …

Member Avatar for jbennet
0
168
Member Avatar for JasonHippy

Hey all. Figured this might be a good place to post this. After seeing some pics on Facebook of a recent Daniweb sponsored event; seeing all of that Daniweb swag made me wonder if Dani or one of her minions have considered setting up an online store to sell some …

Member Avatar for Kerry W
2
645
Member Avatar for Ritesh_4

You could try a free open-source javascript script called 'swfObject.js', which is a cross-platform, cross-browser compatible javascript file which can detect the type of browser being used and attempts to detect the version of flashplayer installed before generating appropriate, browser specific HTML to embed the .swf at runtime. If no …

Member Avatar for mabron
0
523
Member Avatar for mah300274

Try this: [code] sudo update-grub [/code] Or this: [code] sudo grub-mkconfig -o /boot/grub/grub.cfg [/code] That should reconfigure and update the grub2 bootloader menu.

Member Avatar for JasonHippy
0
265
Member Avatar for ztdep

AFAIK, on Linux .bin files are usually self-extracting files. Things like the linux versions of the Oracle/Sun Java runtime and Flashplayer are often distributed as .bin files, which self-extract and then run an installer/script to install the program. In order to use .bin files, you usually just need to run …

Member Avatar for JasonHippy
0
244
Member Avatar for prajesh2

I'd also recommend Gimp as a free alternative, but it's not the most intuitive editor out there. It does involve a bit of a learning curve, but it's worth taking the time to learn as it is extremely powerful once you know your way around it. If you're running Windows, …

Member Avatar for adam70
0
164
Member Avatar for RenanLazarotto

If you liked Ubuntu 10.10 with Gnome 2 and you wanted to go back to it, you could use the 'classic' mode instead of unity in 11.04. At the 11.04 login screen, you can change the WM/Session type to 'classic' and when you log in it gives you the familiar …

Member Avatar for PepperAdmi
0
273
Member Avatar for JonUnix

Assuming that the problem is a damaged or dirty DVD drive and you can't afford to replace the drive; you could try installing the .iso for the liveCD onto a USB thumb-drive if you have one. I think you need at least a 2Gb USB drive to do this. For …

Member Avatar for JasonHippy
0
169
Member Avatar for AshfaqueIW

In your posted code, because you used the constructor argument, it will allocate space for 10 int objects in the vector and initialise them all to 0. Then in your for loop, you're pushing back 10 more int values (remember push_back pushes additional objects into the end of the vector) …

Member Avatar for Zvjezdan23
0
181
Member Avatar for eoop.org

If you want to create your own distro completely from scratch, go to [URL="http://www.kernel.org"]http://www.kernel.org[/URL] and download the source code for the core Linux Kernel. You might want to take a look at [URL="http://www.linuxfromscratch.org/"]http://www.linuxfromscratch.org/[/URL] too, which will guide you through the steps required to build your own distro. It'll be a …

Member Avatar for eoop.org
0
133
Member Avatar for hqt

Declarations of for loops have three sections that are in a specific order: [CODE]for({initialiser}; {break_condition}; {increment/decrement})[/CODE] But the increment and conditional sections in all of your for loops are in the wrong place. And because you're putting things in the wrong place, your loops are not doing what you're expecting …

Member Avatar for hqt
0
628
Member Avatar for Ronene

Perhaps take a look at this: [url]http://www.codeproject.com/KB/threads/getprocessid.aspx[/url] Discusses getting the PID's of any running instances of a particular program. There is a post in the comments about closing process here: [url]http://www.codeproject.com/KB/threads/getprocessid.aspx?msg=1473071#xx1473071xx[/url] Might be what you're looking for!

Member Avatar for JasonHippy
0
230
Member Avatar for FOOLY

Wow, it's been absolutely ages since I used the Flash IDE. My memory of it is hazy to say the least. I use the Flex SDK nowadays and do everything exclusively in AS3 code. But if memory serves I think shape-tweening is only available to shape objects on the stage. …

Member Avatar for iamthwee
0
179
Member Avatar for apanimesh061

The code for the USB driver will more likely be a Kernel module, so I think you'll need to take a look at the Linux kernel source code. The source for the kernel used in Ubuntu 10.10 should be in the repos. If you want to create your own kernel …

Member Avatar for JasonHippy
0
200
Member Avatar for AshfaqueIW

Personally, I'd agree with whoever reviewed your code. If you have any accessor functions in your class which allow other modules to get/set the values of these statics, you should promote them to be static class members and declare them in the header file for your class. Otherwise if they …

Member Avatar for JasonHippy
0
232
Member Avatar for FOOLY

I think only RGB is supported in Flash (or ARGB for formats like .png), so you might need to create a copy of your CMYK image and convert it to RGB or ARGB in Photoshop and perhaps tweak it a bit to match the original if there are any massive …

Member Avatar for Oveek
0
198
Member Avatar for emir_gradacac

If you use wxWidgets with Code::Blocks there's a RAD/GUI plugin called wxSmith which gives you the ability to drag and drop wxwidgets controls onto a design view and the plugin will auto-generate some boiler-plate code for you. Very similar to using visual studio with MFC and Windows Forms applications.

Member Avatar for JasonHippy
0
463
Member Avatar for shadowscape

Looking at the code you've posted (which is C rather than C++), it seems to be using a simple sockets connection to determine whether the website is up or down. The headers included in the listing that you don't have, or don't recognise are all Linux/Unix specific headers. I'm still …

Member Avatar for JasonHippy
0
2K
Member Avatar for SandraM

I'm not sure what you're after here, your post isn't worded particularly clearly. But if I understand correctly, and from looking at your code, I think you may have got things a little mixed up here. The OnButtonStart() function is definitely a C++ function. So no real problems there (other …

Member Avatar for SandraM
0
108
Member Avatar for ayanbizz

Download the Fedora 15 Live CD .iso and burn that to disk instead. The Live CD won't have all of the extra packages that are on the DVD, but it will allow you to install the base system. Once you've installed Fedora from the Live CD, you can use yum …

Member Avatar for Stefano Mtangoo
0
158
Member Avatar for visual28

There are plenty of book recommendations in [url="http://www.daniweb.com/software-development/cpp/threads/70096"]this sticky[/url], which is listed at the very top of the C++ section here on Daniweb!

Member Avatar for JasonHippy
0
85
Member Avatar for mixplates
Member Avatar for JasonHippy
0
59
Member Avatar for sha11e

The problem is not a linking error, it's a compilation error! If you take a look at the definition of Playsound in mmsystem.h: [code] WINMMAPI BOOL WINAPI PlaySoundA( IN LPCSTR pszSound, IN HMODULE hmod, IN DWORD fdwSound); WINMMAPI BOOL WINAPI PlaySoundW( IN LPCWSTR pszSound, IN HMODULE hmod, IN DWORD fdwSound); …

Member Avatar for saeedmmmm
0
5K
Member Avatar for marcux

Mixing C and C++ is not really recommended. Typically when using C libraries in a C++ program, it is best to create or use some kind of wrapper API. Whether this is a third party wrapper or one you create yourself is entirely up to you. I'd recommend at least …

Member Avatar for GreenDay2001
0
226
Member Avatar for libathos

1. Check your distros package manager and make sure you have the [icode]libx11-dev[/icode] package installed (on debian based distros) OR [icode]libx11-devel[/icode] (on Fedora/rpm based distros). This provides the basic headers that will allow you to create client programs using Xlib. The runtime binaries should already be installed. If you need …

Member Avatar for libathos
0
197
Member Avatar for nikita.chandra

There is no 'magic eraser' in gimp. But there are several different ways to remove the background from an image. If the image background is simple and only uses a few colours you can use the 'fuzzy select tool' to achieve a similar effect (press U or select the magic …

Member Avatar for JasonHippy
0
107

The End.