5,331 Posted Topics

Member Avatar for Tierra

The cost per gallon is an integer, so decimals won't work for any integer value where you need to input a fractional value. Use doubles for those as well.

Member Avatar for rubberman
0
435
Member Avatar for anumash

A pointer to member function still has to be invoked with an object of the appropriate type. You might be able to declare the pointer like this: `void (A.*ptr)(void); A.ptr = a.show;` but I'm not 100% certain of that. In any case, this would be, IMHO, really crappy code. It …

Member Avatar for anumash
0
257
Member Avatar for Amaina

PHP is an object-oriented langauge. Use it that way! See my tutorial post about that. It will make your life much simpler, with a little forethought and setup.

Member Avatar for rpv_sen
0
915
Member Avatar for Toheed Rana
Member Avatar for can-mohan

Other comments. The signature of fun() is this: `int16_t fun(char* iaddr);` However, you never return anything from the function, which is what the int rc is intended for. Also, you should initialize rc to a sane value when you declare it. Next, the iaddr argument should be a `const char*` …

Member Avatar for can-mohan
0
1K
Member Avatar for semenmalich

I assume you have tried Powerpoint. What about Libre Office (the latest version)? It handles MS Office cruft much better than Open Office does. Anyway, the pertinent question is why did this happen? Do you have a disc that is starting to fail? Have you run disc analysis and recovery …

Member Avatar for gualuska
-1
286
Member Avatar for nicksuave

The fact that it can shut down properly about 1x out of 5 (20% of the time) tells me that this is probably not a driver problem, but some process or other service that is out of control. Look at the services running and see if there are any that …

Member Avatar for nicksuave
0
428
Member Avatar for gyno

(Somewhat sarcastically), have you tried installing Linux on the system? :-) Sorry, but I couldn't help myself! I think Win7 was the last decent Windows distribution.

Member Avatar for rubberman
0
243
Member Avatar for shuv4u

Safe mode disables some services (optional ones mostly) that may be causing problems when running in normal mode. FWIW, you do NOT want to always run in safe mode. Have you looked in add/remove programs in the control panel? Also, what version of Windows are you running, and have you …

Member Avatar for CimmerianX
0
279
Member Avatar for Reverend Jim

You may be right Jim. If you were running Linux, I could help you PDQ. I think there are Windows tools and management applications that can tell you what applications are using what devices, but I don't remember offhand. Sorry! :-(

Member Avatar for Reverend Jim
0
513
Member Avatar for mholten

Ignorance is bliss... We were doing continuous integration back in the 1990's where CVS was our source repository. Code that was released into production would automatically be checked out by our make files when system tests were run. Errors in a module would cause it to be pushed back into …

Member Avatar for rubberman
0
117
Member Avatar for naz1234

1. send_string() is not a standard C function unless this is a Windows system, in which case I don't know about it. 2. Obviously you are trying to control a PIC and UART(s). Most of your code are either defined elsewhere, are macros, or who knows. IE, there is not …

Member Avatar for rubberman
0
197
Member Avatar for saurabh.mehta.33234

Using the Gregorian calendar for date computations is just so stupid! Any rational date class will use Julian dates (a floating point representation of date + time) which can be used easily in date arithmetic and provide accurate answers, even accounting for leap years, and if done right, leap seconds. …

Member Avatar for Taywin
0
384
Member Avatar for lewashby

I don't think this is a repository problem, but a DNS problem since the system cannot resolve ftp.us.debian.org. What happens when you try to ping that, or use nslookup to find it?

Member Avatar for Rakwl
0
295
Member Avatar for jonnyboyrich

Normally, a blown power supply does == fried motherboard. Once voltage drops below certain specs, current goes up to compensate, and that generally fries stuff. Whether or not your hard drives got fried also is questionable. Pull them out, place in some sort of drive dock or enclosure, and try …

Member Avatar for tranny
-1
5K
Member Avatar for happygeek

Adobe has been working on patching Flash Player to eliminate these issues. In fact, I just got an update for that on my Linux system this morning. Yes, there are vulnerabilities in any software - that is the nature of the beast - but responsible companies will attempt to deal …

Member Avatar for Slavi
1
497
Member Avatar for mreza

Are you sure it isn't using the same product key that your old Windows OS used? Have you looked in the registry?

Member Avatar for mreza
0
100
Member Avatar for ZER09

I'm not 100% positive, but I think that the active (always on) cooling will only be activated if the device is plugged into mains power - not using the battery.

Member Avatar for ZER09
0
163
Member Avatar for nspireing
Member Avatar for Cooper_1
0
501
Member Avatar for Syed Zeeshan Ahmed
Member Avatar for David W
0
261
Member Avatar for furalise
Member Avatar for RobertButler
Member Avatar for ThomasBens
0
871
Member Avatar for iPoor

Probably not. Apple is in full control of this stuff. Getting them to allow a retrograde installation is very unlikely... :-( That said, there are a lot of security upgrades in the new versions of firmware.

Member Avatar for iPoor
0
225
Member Avatar for highschool

To become a creative programmer you first need to get basic programming skills, and then learn how to "think outside of the box". As Thomas Edison once said, invention is 10% inspiration and 90% perspiration. I had an idea years ago on how one could extend classes, both structures and …

Member Avatar for Mr.M
0
207
Member Avatar for ddanbe

Lots of good answers here! In this particular example, const is not required, but may, as indicated by others, allow the compiler to utilize some optimizations which may (or may not) help performance.

Member Avatar for ipswitch
0
441
Member Avatar for Eng-Mohammed

We don't do your homework for you. Make an effort to solve this simple problem and post your code here. Try working it out on paper first.

Member Avatar for David W
-1
124
Member Avatar for karthick_2
Member Avatar for lewashby

You need to use sane/xsane to scan directly to a file in Linux. That is separate from the CUPS printer driver. I assume that the HPLIP program uses CUPS for actual printer output. I use xsane to scan with my Epson scanner.

Member Avatar for rubberman
0
205
Member Avatar for Rene_2

Huh? Mayan math is not my forte. You might want to contact someone at the National Anthropoligal Museum in Mexico City about this.

Member Avatar for rubberman
0
187
Member Avatar for Charles_12

Have you considered that the blockage may originate at the site? Daycare centers have to be careful about who has access to their video feeds. Contact them to find out. If you have a legitimate reason to access the feed, they should be able to allow it (maybe).

Member Avatar for rubberman
0
356
Member Avatar for hwoarang69

Are you sure you are adding the .jar file to a directory where Eclipse can find it? Have you tried using the precise location in the Eclipse configuration for the ODCB file?

Member Avatar for ~s.o.s~
0
662
Member Avatar for can-mohan

If the argument to Fun ()is a reference and not a copy, then that should also work.

Member Avatar for can-mohan
0
2K
Member Avatar for Nikkitha

We don't do your homework for you. Read the terms of service for these forums. Make an effort and post your code here along with any errors or problems you are having.

Member Avatar for David W
0
154
Member Avatar for Rahul47

One suggestion would be to use the SQL command line and do a query that outputs the data in CSV format. Then you can easily load that into Excel.

Member Avatar for rubberman
0
320
Member Avatar for Hazel_1
Member Avatar for belalhamdy

Re-read the protocol? Study some implementations? Do some research? This is non-trivial stuff, and I honestly doubt that many of us could, without study, answer your questions correctly. I have implemented triple-des algorithms, but in the deep, dark past (like 20+ years ago). I can't remember all of the details... …

Member Avatar for Zurab
1
757
Member Avatar for Bhavna_1
Re: CGM

Show the actual errors that the linker is generating please.

Member Avatar for rubberman
-1
50
Member Avatar for lewashby

Based upon your question, I assume you have a 5.25" disc you want to use? Any box with a 5.25" external bay will include slide to attach to your disc that will let it "slide into" the bay as you wish. The size of tower you get will limit the …

Member Avatar for rubberman
0
180
Member Avatar for lml108

It depends. Some seem to indicate the percentage of the CPU that the process is using. Others will indicate what percentage of cache hits don't find the data needed in the cache and so require reloading the data from memory (ram). You might want to read the man page for …

Member Avatar for rubberman
0
286
Member Avatar for Aeonix

A VPN is a network connection to a remote network. It will only route traffic that is pointed to endpoints in that remote network. IE, most stuff will not be so routed. IE, if 192.168.1.101 is an endpoint on the remote network that has a web server, then the browser …

Member Avatar for Aeonix
0
165
Member Avatar for daniibeth

Can you get into the BIOS? If not, then the computer likely has a physical defect and needs professional care, or replacement. However, since you say you can boot into Ubuntu from a USB drive, then the system is still alive. Have you tried replacing the hard drive? Can you …

Member Avatar for daniibeth
0
325
Member Avatar for singhneeraj421

So you have 100 users. What is your internet connection speed? If 100 users are hitting the internet pretty constantly, divide that speed by 100 and you will get what your personal throughput would be. IE, 6mbps / 100 == 60kbps. Timeouts and retries increase exponentially as well. You need …

Member Avatar for Hark
0
477
Member Avatar for jLamp

I have sent them (NetFort) a request for information as to what platforms they support for hosting servers - Windows-only, or Linux as well since that information is not obviously available on their web site. It is quite pricey - $30USD / year / user. So if you have 500 …

Member Avatar for Darragh_1
0
646
Member Avatar for Catarino

Glad you figured it out. This is very basic Java/C++/C# coding. The type of variable that is passed to an overloaded function (which f1() is) will determine which instance of the function is invoked. Since you passed a double (x1), it invoked `public static double f1( double m1 )` and …

Member Avatar for rubberman
0
164
Member Avatar for lml108

Assuming perf top is single threaded, then it has to go through the process table linearly, and it may have then found that ComputeDotProduct_ref had reduced its CPU load in the interim, hence listing it again. These tools aren't "exact science", but are for general monitoring purposes. IE, the results …

Member Avatar for rubberman
0
182
Member Avatar for Mecbethben

You can use VLC (one of the best open-source media players available) on your Mac. Here is a link to what you need to get it to play commercial (encrypted) BD discs: http://vlc-bluray.whoknowsmy.name/ Do bear in mind that you may need to update the keys file from time to time …

Member Avatar for OwenTaylor
0
351
Member Avatar for Aishwarya786
Member Avatar for Kamal_9
0
158
Member Avatar for kumanutiw

Note the terms of service for Daniweb. We don't do your homework for you. Make an effort, post your code, and then we may decide to help. Otherwise, don't ask us to help you cheat!

Member Avatar for bernardo.mclobo
0
146
Member Avatar for Sgo_1

Adobe cruft is not Linux-oriented, though you might be able to use their Creative Cloud versions on Linux via an appropriate Web browser. I haven't tried that, but it may be possible. I worked for Adobe for awhile, but I ran everyting on Windows 7. Never tried it on Linux.

Member Avatar for rubberman
0
329
Member Avatar for clife

You might want to drop iptables and use pcap to capture network traffic in "promiscuous" mode, and then wireshark to filter and analyze it. That has worked well for me in the past. FWIW, to convert KBytes to Bytes, multiply by 1024. Also, this line "The actual value is : …

Member Avatar for clife
0
332

The End.