5,331 Posted Topics
Re: If you want a DOS 3.1 compatible OS, there is FreeDOS - reverse engineered (legally) and open source. Works fine; however, there are no (to my knowledge) any legal open source clones of Windows NT or later. Wine under Linux is as close as it gets, but with a gazillion … | |
Re: That is the source code. You need the GNU C/C++ compiler suite at the least (plus probably cmake as well) which are packages you need to install from the Ubuntu aptitude repository. In any case, installing the binaries from standard repositories (the link that pritaeas provide tells how to do … | |
Re: Your post is not clear. Please be more specific. Are you trying to learn how to fix laptops and other computers? | |
Re: Good luck with that! This is not code for newbies. And if you use the specified configuration, my guess is that your system will be pwnd... Have fun! | |
Re: If the `if($id != "")`, try !== instead of != - this is one of the subtle issues that trip up a lot of PHP programmers. See the PHP online documentation about this. ![]() | |
Re: It depends upon the drive. Some manufacturers' drives run hotter than others. On my system, my 2TB WD green drives run about 10C cooler than my 320GB Seagate system drive. They are all healthy, at least according to the SMART interface data that I monitor. That said, I have had … | |
Re: Eclipse is a nice, integrated, IDE (Integrated Development Environment) that has plugins to support most current programming languages - the editor is built in. VIM is a text editor based upon VI, but with additional functionality. Myself, for development, I prefer a good editor (nedit is my preference) - others … | |
Re: This is why we often use "smart pointers" to contain heap allocated objects. When the smart pointer goes out of scope, the contained object will be deleted automatically. There are caveats here, such as when something else takes a reference to the object managed by the "smart" pointer. I had … | |
Re: Also, try to stop being so "clever" and redefining standard functions like printf, scanf, break. All that does is make your code impossible to read. Obscurity instead of legibility. Not a good tradeoff! | |
Re: Neural network programming isn't trivial. What other programming experience and training (theory) do you have already? Myself, I had to take a course from MIT to get reasonably up to speed on the subject, and I already had about 15 years of professional software engineering experience. | |
Re: Please show example of what you are having problems with. | |
Re: Try `printf("%lu %lu\n", msizeof(x), sizeof(x));` Note that sizeof(x) returns a size_t value, which is a long integer, hence the error/warning. Also, do note that it is Sunday morning here in the west. Don't expect answers immediately - most of us are probably still in bed! | |
Re: Why do you need ultrasurf - "enables its users to bypass Internet censorship and firewalls using an HTTP proxy server, and employs encryption protocols for privacy"? | |
Re: Sorry, but without looking at the unit I really can't say what you need to do. Those cases are usually connected together with some plastic bits, which when broken allow the case to come lose. I don't think you can get a new case (front and back covers) for it, … | |
Re: Sorry, but we don't do your homework for you. Try Google or DuckDuckGo to search for such. | |
Re: It looks like you need to read the 8086 manual. Sorry, but we don't do your homework for you. | |
Re: You say you know the basics of Java and are learning Python. Personally, I would doubt that (knowing the basics != being competent). As for using the Google compute engine, you need to read up on the Google documentation for that to determine what is required to effectively use it. … | |
Re: You probably can't boot from it on the HP since the CPU and BIOS IDs will have changed, and the HP uses different drivers than the Dell so XP won't like it, but as a second disc, you can access/use it for data storage and installing new software. | |
Re: There are C strings (char*) and C++ strings (std::string). Which are you using? | |
Re: Have you tried single-stepping through the code in your debugger? If you don't know how to use a debugger, it is time to learn! We could analyze your code for you, but it is "better to teach one how to fish, than just give them a fish"... :-) | |
Re: Install Eclipse with the CDA (C/C++) plugins (probably there by default now). Configure it to use your MinGW GNU compiler. That should work just fine. Eclipse is an IDE for Java, C, C++, and many other languages which will work on Windows, Unix, Linux, and other systems. | |
Re: Does that file exist on your system? If not, it would seem that your game/application didn't get installed correctly. | |
Re: Also, since the function returns a reference to an object, returning 0 (null) is not valid! This function should ALWAYS return os. | |
Re: Wh == Watt Hours Watts == volts * amps Ah == Amp Hours Watt Hours == Amp Hours * volts So, 1200mAh == 1.2Ah which * 3.7V == 4.44Wh 950mAh == .95Ah which * 3.7V == 3.51Wh This is just about what the specs say. They are just rounding down … | |
Re: Linus Torvalds uses one, but keeps it at 1 mph, otherwise it interfers with his typing and train of thought. Myself, if I want to take a walk, I take a walk... :-) | |
Re: In Windows, compiled code is stored in *.obj files. In Linux/Unix it is stored in *.o files (same thing, just different extensions). Those files contain the code machine language that the compiler generated and can be linked with other code and libraries to create an executable program. | |
Re: My guess would be that the Amazon DRM (Digital Rights Management software) is not supported by Ubuntu 14.04 or your version of Flash. | |
Re: Hard to say since pastebin says this file is not available. It may be an SELinux issue, which you can disable in order to update the system, but that is just surmise without more information. | |
Re: Too much irrelevant code. The timeout code was clear. Please just post the timein code. It should be very much the same as timeout, just with in-time instead of out-time. Also, PHP is an object-oriented language, very similar to C++. DO NOT mix PHP and HTML/JS. Build up your HTML … | |
Re: This is not a software development issue. It is language/system specific. Please provide the OS and languages you are using, and then please move it to the appropriate forum. | |
Re: It looks like you need to read the 8086 manual. Sorry, but we don't do your homework for you. | |
Re: It looks like you need to read the 8086 manual. Sorry, but we don't do your homework for you. | |
Re: It looks like you need to read the 8086 manual. Sorry, but we don't do your homework for you. | |
Re: It looks like you need to read the 8086 manual. Sorry, but we don't do your homework for you. | |
Re: What exactly do you mean by "hdd regenerator"? Something to fix or restore a disc image? | |
Re: I started my professional programming career in the 1980's. I was a sales rep at a computer store in the Silicon Valley, and one of my customers was looking for a commercial accounting program for his wholesale bakery business. He looked at everything we had or could get, and nothing … | |
Re: I wish there were a way to comment without up/down voting, so I commented on tinstaafl's post about std::sort with an up vote (I didn't feel it deserved a down vote). Anyway, I had to do this in some production real-time code in the past. What I did was to … | |
Re: Well, this is wrong: else if (signedNum[0] == (str[0] || str[1]) && signedNum[1] == isdigit(signedNum[1])) You should use else if (signedNum[0] == (str[0] || str[1]) && isdigit(signedNum[1])) | |
Re: Do you mean CLIP or CLIPS? CLIPS stands for "C Language Integrated Production System" and is used for expert systems (rule based). | |
Re: Well, in main(), you never set the value of t. You declare it, so it has the default Time value (midnight of whenever). You need to set t's hour, minute, and second values from the input values. | |
Re: Basically, string::find() is akin to the C function `char* strstr(const char* haystack, const char *needle);` There is some argument whether it should return a char* vs a const char* value. The Linux manpage shows it returning a char* - caveate user! | |
Re: Some Linux distributions don't use /dev/dsp, such as Red Hat distributions. I am trying to figure out the equivalent but no luck so far, at least pushing an mp3 to the ones I thought might work. The common audio interfaces for Linux are ALSA and PulseAudio. They are generally accessed … | |
Re: 1. Java is C++ with training wheels. 2. Java doesn't support multiple inheritance, other than via interface types, which in my opinion are really useless. Every concrete class that inherents an interface class has to separately implement each function in the interface! Gah! 3. C++ doesn't leak memory. Only badly … | |
Re: Using Julian date+time values for such is preferred. That way, you can use simple value comparisons to see if one date+time is before/after another, and the conversions to standard date+time using local timezone settings is well documented. There are good documents in Wikipedia for that, and may be a number … | |
Re: PHP is a C++ like object-oriented programming language with HTML capabilities that make it suitable for web-based software. It runs on the web server (Apache, et al), so it can be more secure, yet when it emits html, javascript, etc, those parts run on the client (browser). I actually used … | |
Re: Sure. Just write a class or function to do it. There is also RNG code in PHP that will do that for you as well, such as found in http://php.net/manual/en/function.gmp-random.php And by the way, it took me about 10 seconds to look that and other RNG code up in the … | |
Re: WiFi access points can run at 2.4 or 5 GHz. It may be that your PC doesn't support the frequency of the AP, such as 5GHz as mentioned, which the Galaxy phone does. If you go to the wireless network settings of the Galaxy, it may tell you what frequency … | |
Re: Try ClamWIN. It should work just fine. It is free, and open source. | |
Re: If you know the images are identical to the original except for the markings (btw, you missed the horizontal line under the bird feeder in the second image), then a subtractive algorithm would be appropriate - subtract the pixels in the original from the marked up copies. |
The End.