5,331 Posted Topics
Re: Go to Google's Android development web site, download/install the android emulator, learn Java (Android's Dalvik is java with a different compiler/virtual-machine), and get some Java programming books. There are tonnes on Amazon. | |
Re: You are not providing nearly enough information to help you. Saying "I have a problem - please fix it." is not productive. Tell us what your were doing when it stopped working, and what you did just before it stopped working, IN DETAIL. | |
Re: Some compilers will bitch at you if you try to assign a string literal to a `char*` (often depending upon how you set the strictness level of type-checking for the compiler). You SHOULD use a `const char*` instead in such cases. The first case is a clear violation of intentional … | |
Re: To output in hex: `std::cout << std::hex << (int)someChar;` | |
Re: Leave off the trailing '/'. IE: ls -l python* Assuming that the directory is not a soft-link, then you will see the contents of the directory (or directories). | |
Re: Sometimes, drivers miss a hardware event/interrupt and get into some space where they cannot continue to operate normally. At that point, it is time for the 3-finger salute, as you found out. As far as I'm concerned, drivers should be able to recover from this, but that is not a … | |
Re: Replying to your own post with what is effectively the same message is not helpful and won't get responses from the rest of us any more quickly. Assuming that the system is plugged into main power (not battery), then I think you have a hardware problem and need to take/send … | |
Re: Since this is C++, why are you building your own sort routine? Either use C's qsort (with an appropriate comparison function), and then simply walk the array and output the names, or for a purely C++ approach, you can use a map with the key being the lastname,firstname and the … | |
Re: Ivzirnalsradeys, you keep asking us to do your homework for you. If we do that, then what do you learn? Make a proper effort to solve the problems, show what you have done, describe the errors you are getting, and THEN we may decide to help you sort this stuff … | |
Re: What Hiroshe said. Also, file name extensions are conventions - they really don't mean anything. You can rename any file with a .zip extension, but that doesn't mean that it is a compressed zip file. | |
Re: Your last exampe, 1 3 5 7 2 1 4 3 is incorrect. It should be 4 odd, 2 even, 1 odd, 1 even, 1 odd. And to answer niranga's question, the answer should be 1 odd, 1 even, 1 odd, 1 even, 1 odd, 1 even, 1 odd... :-) | |
Re: Rar files, or file sets, are NOT zip files, though they may (or may not) be compressed. There is a free (shareware) Windows tool for that called WinRAR. Works great. There are also rar extractors for Linux (open source). | |
![]() | Re: Are the logs from a Linux system? What kind of data do they contain (you just need to provide a general description of what they are)? Are they consistently formatted (at least by type)? |
Re: Most systems use a "coin cell" battery similar to the batteries in garage-door openers and automobile security keyfobs. You need to get the battery out and see what the type is, such as CR-2032 (3V). If you go to the Acer web site, you should be able to get that … | |
Re: A bit of advice. If things suddenly change behavior and you didn't (you think) do anything to alter that behavior, then reinstallation and reconfiguration are likely not to help (as you have seen). This is when you need to start looking for other possible explanations, such as software updates (Microsoft … | |
Re: As usual, Mike2K gives great advice. My only comment is about the performance issue, though there WILL be some impact. There are several things you can do to improve the performance of a VirtualBox virtual machine. Some of these are as follows (experiment to find out what works best on … | |
Re: Linux GUI's have a number of tools for assisting disabled persons (visually impaired, etc). There are definitely which will read back text as audio that you can use. I don't know offhand what they are, but as Hiroshe said, Google is your friend! :-) | |
Re: I agree with jwenting, at a fun-damental level! :-) However, with practicality speaking, I have to say it depends upon what your needs are. I have both an Android and a Windows phone, and my wife will give up her iPhone when I pry it from her cold, dead hands! … | |
Re: As I recall, these are the names of the various releases of Eclipse. Get the latest stable release and you should be ok. I think they are in alphabetical order, so Luna should be the latest. | |
Re: Contact Microsoft to see if you can get a replacement. It will cost you, but probably less than a new CD/DVD and license. | |
Re: Sorry. We don't do your homework for you. Create a program to solve this problem (it is a trivial one) and when you have issues with it, then post your code here for help. | |
Re: steamcmd seems to want to write state data to /home/gmod and I assume that you are running steamcmd from your account. So, you probably need to be sure that you have the appropriate rwx permissions on /home/gmod. Also, since you are downloading/installing gmod at the same time, it is likely … | |
Re: How old is this system? Assuming these issues have appeared fairly recently, I can only assume that the system is starting to suffer hardware failure. | |
Re: It would seem that way to me. Software engineering encompasses a lot of computer science principles, but not necessarily the other way around. It's like the difference between a mathemetician and an electrical engineer. The engineer needs a good grounding in math, but the mathemetician may know nothing about electrical … | |
| |
Re: PHP is a server-side language - it typically runs in the web (Apache, IIS, etc) or application (Tomcat, JBoss, etc) server. It can emit HTML, JavaScript, CSS blocks etc that are processed by the client. It is an object-oriented language with a lot of functional similarity to C++ (with enough … | |
Re: Reading the gcc man page is also a good idea. It's really long, but all the options are covered pretty well. | |
Re: There is a lot of noise about systemd's faults all over the net. I've been in a discussion on the LinkedIn Linux Experts group about this very topic. Honestly, in many regards it is a hacked design for such a system-critical component (no formal methodology, modeling, verification, etc.) and many … | |
Re: A Linux IDE for Windows? Do you mean an IDE that can run on Windows and Linux? Develop Linux apps on Windows? What? As far as I'm concerned, the best common IDE for Windows and Linux is Eclipse. If you want a Linux-like environment for Windows, install Cygwin (you can … | |
Re: It looks like a unit test method that can be called by unit tests. If it cannot find the interface for database scripting, it will throw an exception, otherwise it will do something (not yet defined). In any case, the code is not what I'd call "professional quality" in that … | |
Re: Please do NOT ask us to do your homework for you. You have to work at solving the assignment first - a good, honest effort. After that, we may decide to help you with your errors, provided we don't think you are trying to con us into giving you the … | |
Re: As for the validation of February dates, this is a simple leap year calculation (easily found in Wikipedia): boolean isleap(year) { boolean leapyear = false; if (year is not divisible by 4) then (it is a common year) else if (year is not divisible by 100) then (it is a … | |
Re: As Nathan said, there is no standard way. The normal way we do this is to read one character at a time, and for each character we output one asterisk, flushing the output stream so it appears on the terminal/window immediately. It would be a loop with only about 3 … | |
Re: The thing about xml is that each tag doesn't have to be on a separate line - an entire file can be one line. You have to parse it directly. You can either do this yourself, or use a library such as xerxes. I have done it both ways. Generally, … | |
Re: So, besides you are not coding the requirements regarding abbreviations, what problems are you having? | |
Re: You need to push all of your site data into a tarball, install the required software in the new hosting site, move the tarball to the new site, extract the data, and start testing. | |
Re: Yes and no. Apple systems used to have additional hardware such that it is difficult to install their software on non-Apple gear. Here is a link to help you do this: http://www.redmondpie.com/how-to-install-os-x-mountain-lion-hackintosh-on-a-pc-tutorial/ Do note the salient point 3: Requirements: 1. Access to a Mac to download OS X Mountain Lion … | |
Re: Done any Google searches on this yet? Probably not. A simple Google search on the terms "Windows TASM" brings up a plethora of tutorials, FAQs, download sites, instructions, etc. including instructional videos. Try it! | |
Re: Bad code. Your Line objects are on the stack. Even though you call the destructor, until something else overwrites that memory, the length value will still be in memory, and unchanged. Try setting length to -1 in the destructor, and then see what is printed. Also, read up on the … | |
Re: What libraries or other tools you use to play the video depends entirely upon the encoding that the video uses. Downloading it is trivial, but playing it is not. As I implied, there are many video encodings to deal with, some of which are proprietary (mpeg2, etc), and others that … | |
Re: Does your computer have a static IP address, or is it getting a dynamic (DHCP) address from the network? If dynamic (such as a laptop would use), then you need to be sure that the DHCP server is properly allocating an address for your system. If not, then it is … | |
Re: http://en.wikipedia.org/wiki/Simultaneous_equations Please do your own homework... :-( | |
Re: I assume you are using a dual-boot capability from your post. What video hardware does your system have? You need the appropriate drivers. By default, Ubuntu will not install proprietary video drivers, but there is a System (possibly in Preferences) entry that will provide the ability to install the appropriate … | |
Re: If you need real security to deal with banking and such, then create/use a bootable liveDVD Linux OS (see Unetbootin). It won't allow any persistent viruses to be stored on the device (the device will be read-only, but temporary data will be stored to RAM disc, which evaporates when you … | |
Re: There is the recording, and there is the mixing/cutting. Recording is easy. Mixing/cutting is harder. There are a number of great tools available. Unfortunately, most of the Windows ones are commercial applications. Linux has a number of great free/open-source (professional quality) tools for that, such as cinelerra, kdenlive, etc. Here … | |
Re: Sorry, but we don't do your homework for you. Show your code, and be more clear about what the intention may be. Your last comment was better, but you need to be more complete. | |
Re: Did you install Windows first? You need to do that since it thinks that it owns the system. Then you install Linux and it will adjust the boot loader accordingly. A problem can occur if you install a Linux OS using grub and then one with grub2, in which case … | |
Re: Homework? There are many resources on the Internet to help you do this. Post your code here, and then we can possibly help you deal with problems that you may encounter. Also, your post is not clear. Do you want to compute the standard deviation of an array of numerical … | |
Re: The latest PHP versions (5.5.x and later - I used 5.5.4) also have a web server embedded in the CLI, so you can use it and access your code via a web browser. Works really well for testing code (or teaching yourself PHP) without needing to install and configure Apache … |
The End.