5,331 Posted Topics

Member Avatar for khakilang

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 …

Member Avatar for MidiMagic
0
356
Member Avatar for neeraj_shri

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 …

Member Avatar for JeoSaurus
0
400
Member Avatar for Coramez

Your post is not clear. Please be more specific. Are you trying to learn how to fix laptops and other computers?

Member Avatar for rubberman
-1
42
Member Avatar for _echelon

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!

Member Avatar for rubberman
0
208
Member Avatar for iConqueror

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.

Member Avatar for diafol
0
277
Member Avatar for mouaadable

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 …

Member Avatar for mouaadable
0
189
Member Avatar for pwolf

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 …

Member Avatar for jwenting
0
715
Member Avatar for Jjajangmyeon

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 …

Member Avatar for David W
0
195
Member Avatar for EarhawkPH

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!

Member Avatar for David W
0
394
Member Avatar for somyms

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.

Member Avatar for Traevel
0
173
Member Avatar for Azhagu
Member Avatar for David W
0
173
Member Avatar for tapananand

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!

Member Avatar for vijayan121
0
839
Member Avatar for Anand_1

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"?

Member Avatar for rubberman
0
127
Member Avatar for bobsdaniweb

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, …

Member Avatar for rubberman
0
130
Member Avatar for ramu bandela

Sorry, but we don't do your homework for you. Try Google or DuckDuckGo to search for such.

Member Avatar for Taywin
-2
82
Member Avatar for boxes2
Member Avatar for Schol-R-LEA
0
134
Member Avatar for Roisin
Member Avatar for rubberman
0
2K
Member Avatar for mad_1

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. …

Member Avatar for rubberman
0
88
Member Avatar for MidiMagic

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.

Member Avatar for cunnijo
0
2K
Member Avatar for amal.sultan.5855

There are C strings (char*) and C++ strings (std::string). Which are you using?

Member Avatar for Gonbe
0
206
Member Avatar for Yahia Farghaly

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"... :-)

Member Avatar for Yahia Farghaly
0
328
Member Avatar for kimlong008

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.

Member Avatar for kimlong008
0
313
Member Avatar for reuben_1

Does that file exist on your system? If not, it would seem that your game/application didn't get installed correctly.

Member Avatar for rubberman
0
370
Member Avatar for cambalinho

Also, since the function returns a reference to an object, returning 0 (null) is not valid! This function should ALWAYS return os.

Member Avatar for cambalinho
0
402
Member Avatar for cambalinho

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 …

Member Avatar for cambalinho
0
194
Member Avatar for pwolf

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... :-)

Member Avatar for pwolf
1
175
Member Avatar for neeraj_shri

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.

Member Avatar for rubberman
0
58
Member Avatar for radenli

My guess would be that the Amazon DRM (Digital Rights Management software) is not supported by Ubuntu 14.04 or your version of Flash.

Member Avatar for rubberman
0
256
Member Avatar for lewashby

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.

Member Avatar for rubberman
0
92
Member Avatar for UK-1991

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 …

Member Avatar for UK-1991
0
2K
Member Avatar for lodhasanket4

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.

Member Avatar for rubberman
0
76
Member Avatar for boxes2
Member Avatar for rubberman
0
98
Member Avatar for boxes2
Member Avatar for rubberman
0
78
Member Avatar for boxes2
Member Avatar for rubberman
0
84
Member Avatar for boxes2
Member Avatar for rubberman
0
72
Member Avatar for faridreza99

What exactly do you mean by "hdd regenerator"? Something to fix or restore a disc image?

Member Avatar for faridreza99
-1
68
Member Avatar for jnneson

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 …

Member Avatar for AleMonteiro
0
160
Member Avatar for Gunjan Rathi

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 …

Member Avatar for deceptikon
0
218
Member Avatar for daniela.valkanova

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]))

Member Avatar for Learner010
0
144
Member Avatar for Syeda_2

Do you mean CLIP or CLIPS? CLIPS stands for "C Language Integrated Production System" and is used for expert systems (rule based).

Member Avatar for rubberman
0
95
Member Avatar for mo_snow

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.

Member Avatar for rubberman
0
1K
Member Avatar for Jjajangmyeon

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!

Member Avatar for rubberman
0
342
Member Avatar for BibhutiAlmighty

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 …

Member Avatar for Moschops
0
195
Member Avatar for nancy10001

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 …

Member Avatar for ~s.o.s~
-1
385
Member Avatar for Vasthor

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 …

Member Avatar for Vasthor
0
147
Member Avatar for judy.babasa

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 …

Member Avatar for rubberman
0
149
Member Avatar for Sharmilamega

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 …

Member Avatar for rubberman
0
68
Member Avatar for steve_17

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 …

Member Avatar for rubberman
0
210
Member Avatar for davy_yg
Member Avatar for ParPau

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.

Member Avatar for Taywin
0
564

The End.