rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Is this where you tried to download the IDE? http://www.eclipse.org/downloads/

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

On my 8 core CentOS server, it takes over an hour to compile a complete kernel - that just uses one core. If I add the "-j number-of-jobs" option to make such as "make -j 4" it will use 4 cores and takes about 15 minutes to build. I usually only use 4 jobs since building the kernel is a background process and I have enough power left over to continue with other work.

rproffitt commented: Nice to read as it's a reminder how to enable more cores for the make/compile. +12
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Does it also beep when you try to boot up? Most vendors will have online support pages that can help diagnose this combination of things.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

This Microsoft article explains what each is (they are Outlook mail repositories): https://support.office.com/en-us/article/Introduction-to-Outlook-Data-Files-pst-and-ost-6d4197ec-1304-4b81-a17d-66d4eef30b78

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You can run java code in your pl/sql modules. In fact, Oracle has Java built into the server for just such purposes. RTFM (Oracle's manual) to learn how to access and use java engine. The last time I did this it was 12 years ago, so don't expect me to remember details.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

In the colorPicker.cpp file you have specified the class colorPicker to be derived from itself. EitherRmove the ':ColorPicker' from the class declaration, or change the caps 'C' to lowercase 'c'. IE::class ColorPicker::colorpicker. That said, DON'T DO THAT! It will just come back and bite you on the rear.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

There are a lot errors with your code. First off you have two sets of class vaiables in Circle with the same name:. You can't do that. You compiler should complain I would think. This will cause issues with your constructor. Either us a default constructor (no arguments) and add a setter method. Additionally you can have another constructor like this: Circle( double radius, double diameter, double circumference )'
Ignore PI in constructor. It is a global constant. Also, area is a computable value. You only need to compute it the first time when needed. Think about this, retry to write your code, and then post here again. I could give you the corrections directly, but what will you learn then?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

This is a type of load-balancing or system optimization. It is normal behavior and is built into the kernel. In any case, using top to do what you are interested in is not optimal. Check out sar - read the man page for that.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

It is also possible that backup versions of the file stay on said PC, depending upon how the OS and/or Word are configured.

rproffitt commented: Excellent. (Mr. Burns) +12
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Calling main(int c) is just plain wrong. Acceptable forms are main(void), main(), and main(int c, char[]). If you are trying to ask the system to evaluate the char[] argument using an int c that is not smaller than the size of the array, then you will get a SEGFAULT.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Please, just show the functions/methods you are having issues with and the errors you are getting. Asking us to analyize 300+ lines of code is just not reasonable!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I only see test11.fla in your variable list, not as a function. Why do you think you should be able to access "myGlobal" from a variable that has no definition?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Have fun with Win10, at least until it decides to mess you up big time! I prefer an operating system (Linux) that allows me full control. Windows? Not so much...

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Hit the factory reset button (or whatever is appropriate for your phone), and re-initialize everything. Do be aware that you will lose all data on the phone.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

PHP no longer supports MySQL APIs. It has been using MySQLi APIs for years. Most all calls need the resource identifier returned when you open the database. Anyway, as others have said, show your code. Until you do we can't help you any further.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

P.S. MySQL - easy to use. PHP - easy to use incorrectly, but not simple if you want to do it correctly. Consider it C++ for web servers, and program it accordingly.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Yeah. We don't do your work for you. You can hire some of us for a lot of $$ to do it if you want, or you can make an effort, post your code and errors here, and we may decide to help you.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

First, create all of your database tables BEFORE you start populating them! What about foreign keys/links between the tables? Also, in your "HotelPrice" table there is no real way to tell to which hotel you are referring. This is just sloppy.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

PHP is a fully object oriented language - C++ for web servers. Stop intermingling your PHP and HTML or other client-side code. IE, write the HTML or JavaScript code for the button and put that in a PHP class method and/or variable. Then, just output it to the client. You will need to use some HTTP to process the return data. Most of the time I look at "commercial" PHP code and then go throw up in the bathroom!

FWIW, I spent a couple of years at Nokia writing production PHP code, including a cell phone emulator. I also had to debug and fix the output HTTP code for the 5.4.1 version of PHP that was the latest/greatest at the time. Serious bugs there. Oh, and I had to do all of that inside of 2 months!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Sorry about the stroke. That is tough! Rproffitt's advice is good. I hope you recover fully.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

NEVER use MS Access for a production database. SQL Server is good, as are most other high-end DBMS servers such as Oracle, Informix, Postgres, MySQL, etc. Access databases are good for pre-production testing of your other code, but when you are ready, use a real database.

rproffitt commented: Words for the wise. Tears for the foolish. +12
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You should be able to write a low-level C/C++ tool to do this that you can call from a script. You will probably need to configure your routers to keep the broadcasts inside your LAN or specific sub-nets, otherwise the world will see your casts. Some of our engineers back about 15 years ago misconfigured some TIB software to use broadcasts and it shut down our entire corporate network (too many too fast). The powers that be were not happy! I had to clean up their mess!

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

The traditional (and mathematically rigorous) method to determine primes is using the Sieve of Aristostenes. Your method will work for small primes, but breaks down quickly, or becomes computationally overwhelmed by the number of itererations required. This Wikipedia article explaines it pretty well: https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

In any case, DO NOT use '\n' for new lines in C++. They generally will not flush the output buffer. Use the 'endl' operator instead, as in: cout << "This is a complete line." << endl;

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

The scanner manufacturer may have some open source code to use to write your own scanning apps. They may be in something like C++ using an API like Qt, but you should be able to adapt that to VB. It is the interfaces to the scanner that are critical here, buttons not-withstanding. Those are what you need in order to control the scanner.

rproffitt commented: API and examples by the scanner maker is critical, unless Linux and SANE. By extension Windows is insane. +12
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Also, what about dropbox? Not sure what their basic storage amounts are for the free version, but you can pay I think for more storage.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

If your system supports access-control lists (ACLs - Linux does) then you can restrict what people can do with which files. I'm not sure if Windoze supports ACLs or not. Anyone here know?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

AWS doesn't charge you for uploading stuff, but they do for downloading stuff from the cloud. I would assume that Google and Azure are similar.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

The best (cheapest) policy is to trust your users, making sure they all agree to terms of use for these devices. But you can verify what they do with them via software. There are a lot of software tools out there you can install on your systems that will monitor what is uploaded/downloaded to/from the system from external sources, including the internet.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

You might want to replace the power supply. I have had nVidia GPUs fail on me in the past, but only after about 10 years. I had an 8800GT that I got in 2007 and it failed last year. It didn't cause the sort of issues you have, but then I have a much heftier power supply.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

If the USB ports have not been disabled at the OS level, then it is difficult (impossible) to do what you want. The simple thing is to disable the USB driver. Unfortunately, a lot of stuff on current systems, such as WiFi and Bluetooth, run off of the USB hubs, as do most keyboards and mice.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

After 3 years of use, the CMOS battery is probably failing. Not sure about this system, but they used to be those quarter-sized LiOn batteries that cost a buck or two. They are usually soldered into their carrier, so you may need to get out the soldering iron, or take it to a computer repair shop for replacement.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Also, FWIW, the dual interface in OracleSQL is basically the internal structural tables where stuff like date/time settings (and other stuff) are stored. If you are talking about MS SQLServer, that is basically Sybase massively altered by Microsoft. You would need to read their documentation to determine how to do what you want.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Also, simplify your code. You can also use a map for this - it will automatically sort the key (word) associated with the meaning. It is a lot faster, and less susceptible to errors like this. Here is a tutorial about the use of Java maps: https://docs.oracle.com/javase/tutorial/collections/interfaces/map.html

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Please read the terms of use for this site. We won't do your homework for you - period. Make an honest effort to solve the problem your teachers have assigned you, then post your code and errors/results here, and then we can help you.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

These sound like school/class questions. All of them can be answered by reading the appropriate books and/or internet articles. We are not here to do your homework for you. :-(

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

"I need help with this school project" doesn't help a lot. No explanation. No showing of work done at this point. Sorry, but my mind reading ability just fizzled out...

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Actually, you can run OSX in a VirtualBox VM on Linux. Not sure about Windows. How well that would work I'm not sure as I haven't tried it, but VBox does have an Apple OSX startup option. You can at least try it.

rproffitt commented: If it works on VirtualBox I find it works on all host OSes. +12
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

To be a little kinder than rproffitt (with whom I agree 100% in this sort of case), we DO NOT do your homework for you! Make an effort. Show your code, and the errors you may be getting.

Also, FWIW, I charge $200 USD per hour for consulting services.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

And another reason why I don't use Windows on my computers - Linux only.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

@Ella_3 and crymari2 - I have found after 30+ years of software development and engineering that code obfuscation is only useful for code obfuscation contests. Don't waste your time. It will just make debugging much more difficult without the original source.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

I stopped using strtok() years ago (like 25+) because it modifies the original string, adding null characters for each token found. I find other methods work better, and in some cases faster, to parse strings.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Also, make sure the directory and associated files are readable. If they aren't readable, then you can have this problem. I have had similar issues in the past. Make sure the directory also has full rwx permissions.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Just telling us that you have a connectivity problem without showing the errors you are getting and other related information is not useful. Want help? Provide more data. We are not mind readers.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

So, what is your question?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Two things. First, visit the cplusplus.com web site and study their tutorials. Second, purchase and study the Ellis and Stroustrup C++ reference manual.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Why does this matter to you? How accurately you can sync your clock? Anything within one second is not discernable to humans.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Try if (handler.Disconnected()) - not sure if that will work. You posted this in the 'C' and not the 'C#' thread.

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

Please be more specific by what you mean about "it doesn't turn on". No lights? No disc drive? No BIOS boot diagnostics?

rubberman 1,355 Nearly a Posting Virtuoso Featured Poster

@marcza - this assumes he is trying to boot Windows. He doesn't say.