5,331 Posted Topics
Re: I think Microsoft's philosophy is "if it ain't broke, break it anyway"... | |
Re: Convert the date+time into seconds from the "epoch". There are functions to do this in php, java, C/C++, C#, et al. Then you just subtract one from the other to determine the number of seconds between the two values. RTFM. | |
Re: Check out WinClam - a free AV. There is also a Unix/MacOSX/Linux version available (called ClamAV). I use it all the time, and have never had a problem with it not detecting malware on my systems. | |
Re: Pattern recognition. Genetic algorithms are good for what you want to do. Time for some advanced study! | |
Re: I developed risk analysis software for the options trading industry in Chicago up to 2007. C++ was what was required. | |
Re: We don't write your code for you. We will help you fix it once you post it! I've been writing professional C++ code since 1992... | |
Re: This mobo seems to an intel processor tuned device - no mention of AMD support. It seems to run a core i7 processor, so games should be good on it, especially if you get one of the recommended nVidia video processors. Has a good sound system built in. It says … | |
Re: while(fgets(line, sizeof line, stdin) { if (sscanf_counter != 2) #breakout here# } | |
Re: I also use MS Remote Desktop, about 10 or so years ago. Worked well. Haven't used it since so I don't know what MS has done with it. | |
Re: Last time I used 8086 assembler was when I wrote a TCP/IP stack for QNX in the early 90's (work for the US Navy). At this point, I really can't help you. I occasionally write a few assembly statements when modifying Linux kernel code, but that is very rare these … | |
Re: Sometimes the factory reset switch is a recessed button somewhere on the back of the unit. | |
Re: There are a lot of free system testing tools to do this. Try Googling for that! | |
Re: Just remember, Android is primarily Java (with a different back-end), so if you can code it in Java, you can use the same code for Android. | |
Re: The ffmpeg tool can handle this conversion: https://ffmpeg.org/ffmpeg-formats.html#mov_002c-mp4_002c-ismv | |
Re: A C or C++ switch statement is just a code branch that is delineated by the value specified by the statement. So, I don't really understand what your conundrum may be. Please illustrate what your problem is. | |
Re: Reverend Jim, Windows is much more susceptible to malware and virus attacks than Linux. Yes, you can harden your MS system against them, but the design of Linux makes such attacks much more rare, unless you are an idiot and leave your system open to remote access. Usually, web services … | |
Re: Select a subject that is of interest to you and then decide how your coding can improve or alter it to your desires. | |
Re: And, you want us to comment on 500+ lines of code? Sorry, but that isn't going to happen! Show us where the error is, and then we may be able to help you... | |
Re: My solution is to not run Win-whatever. I Run Linux and never had a problem!And I have run Linux for the past 12 years! | |
Re: There are two kinds of increments for integers - pre-fix and post-fix. X++ is one and ++X is the other. You figure it out! Or read your C/C++ programming manual! | |
Re: So, 200+ lines of code but no explanation of what your problem is. Sorry, but that does not work! | |
Re: My sanskrit name is also Vikrant! How amazing is that? In any case, p++ works. You allocated buffptr and assigned it to p. So, p should be the address of the structure. | |
Re: Pascal is a defunct language. Even the inventor of it redid it as Modula! If your school is still teaching Pascal, go somewhere else! | |
Re: Get rid of all the "goto" statements! That isn't C++, it is badly written C code! | |
Re: I'm going to forward this to my grandson who is an expert in this sort of stuff. | |
Re: My solution for Java programming issues is simple. Don't use Java! Fine for trivial applications, but a pit for system-level applications! Don't be lazy. Learn C++ instead! | |
Re: After having written a LOT of time conversion software over the years I can only say this. DO NOT GUESS! Study the domain and understand what is required to convert from one timezone to another. My software had to work properly in countries all over the world (China, Japan, Korea, … | |
![]() | |
Re: Install ffmpeg. It is open source (free), runs on most anything, and can convert any format to any other, including .wmv files. Typical command line would be like this: ffmpeg -i filename.wmv -target ntsc-dvd -q 0 -async 20 outputfilename.mpg The target option is going to convert it to an mpeg2 … | |
Re: In my opinion, Windows is a virus, just waiting to infect your systems! I ONLY use Linux. My wife is an Apple user (iPad and Mac workstations). Neither of us have virus issues, or lost files such as this. | |
Re: 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. | |
Re: Random number generators is a "mature" science. This may help you understand the subject matter: http://www.phy.ornl.gov/csep/CSEP/RN/RN.html | |
Re: To put it succinctly, this site is here to provide general computer as well as programming help to the community. It has a number of forums for these and other related purposes. If you have a question, such as a problem with your computer, you can post it here and … | |
Re: You need to decide what research areas excite you. FWIW, natural language processing is an important research area. You have parsing of phenomes to deal with, and then taking the results to make sense. This work is necessary to translate one language into another by computer. | |
Re: Wordpress is a PHP application. To verify that it is not "infected" you would need a known good CRC checksum for all the pages you are going to visit, and then rerun the checksums for each page to verify that the page has not been altered. This really isn't practical … | |
Re: You say you are using the cable that came with the display? Have you tried an "official" Apple cable? It is possible that your cable is defective. | |
Re: I assume you are using Windows of some sort? Linux has a tool called rsync which can periodically make backup copies of new or changed files, even across the network. | |
Re: It mostly depends upon the video card you are going to use. I have dual monitor support on my server (a Linux CentOS system with nVidea 1800GT card w/ 2 ports). My laptop has an HDMI and VGA ports, and runs an nVidia GTX card. Unfortunately, it will display the … | |
Re: This article may help you: https://en.wikipedia.org/wiki/ISO_8601 ![]() | |
Re: As diafol said - do you just want to convert PHP output to Word documents? That is easy (assuming you know php well enough). To convert abstract data to Word is an entire other kettle of fish! In any case, you need to show us what your data is and … ![]() | |
Re: Coller pretty much has it nailed. If you have a try/catch block that fails, then allocated code that was allocated before the try/catch block will no longer be valid. | |
Re: Is this where you tried to download the IDE? http://www.eclipse.org/downloads/ | |
Re: I've had similar problems when either the CPU or RAM would overheat. As a Linux user, I had access to the sensors tool and could monitor the temperature of these parts. I found that the RAM was overheating, but because I was only using 1/2 of the available slots, I … | |
Re: 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. | |
Re: Likely a power supply issue. Modern mother boards have 12v and 5v inputs, but usually one is inadequate (usually the 5v) for the load it needs to support. They don't fail immediately, but when they go, time to get a new PSU. This has happened to me in the past. … | |
![]() | Re: There is no way but the right way to compute dates - Julian and Gregorian. :-) |
Re: In any case, this is HTML code, not PHP. You can put HTML in PHP class member variables and then output them in one shot, and this error should not occur. Do remember you still need to express the HTML code properly in the PHP variable. ![]() | |
Re: Your first problem here is the factorization of any random number. The second is to see if the factors sum up to the number itself. The function is the simple part. It should take a single argument (the number) which is factored and summed in the function. From there the … | |
Re: 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. | |
Re: Get a copy of K&R (Kernighan and Ritchie) and read a lot of code. Then, find a mentor you can talk to when you are having problems. |
The End.