5,331 Posted Topics

Member Avatar for Reverend Jim
Member Avatar for Josef_2
0
638
Member Avatar for akhil1

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.

Member Avatar for Zivs
0
15K
Member Avatar for priyamtheone

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.

Member Avatar for Leif_1
0
523
Member Avatar for Mr.M

Pattern recognition. Genetic algorithms are good for what you want to do. Time for some advanced study!

Member Avatar for Peeyoosh S Kammath
0
1K
Member Avatar for ckide

I developed risk analysis software for the options trading industry in Chicago up to 2007. C++ was what was required.

Member Avatar for rubberman
0
483
Member Avatar for Petar_1

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

Member Avatar for rubberman
0
326
Member Avatar for lewashby

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 …

Member Avatar for rproffitt
0
398
Member Avatar for COKEDUDE

while(fgets(line, sizeof line, stdin) { if (sscanf_counter != 2) #breakout here# }

Member Avatar for rubberman
0
266
Member Avatar for Reverend Jim

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.

Member Avatar for rubberman
0
417
Member Avatar for aya_5

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 …

Member Avatar for itnavigate
0
455
Member Avatar for pty

Sometimes the factory reset switch is a recessed button somewhere on the back of the unit.

Member Avatar for pty
2
596
Member Avatar for Ritesh_4
Member Avatar for BananaBread

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.

Member Avatar for rubberman
0
366
Member Avatar for mike_44

The ffmpeg tool can handle this conversion: https://ffmpeg.org/ffmpeg-formats.html#mov_002c-mp4_002c-ismv

Member Avatar for Portalime
0
4K
Member Avatar for Tyron_1

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.

Member Avatar for Reverend Jim
0
360
Member Avatar for Onederer_1

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 …

Member Avatar for Onederer_1
0
545
Member Avatar for Howard_2

Select a subject that is of interest to you and then decide how your coding can improve or alter it to your desires.

Member Avatar for pty
0
228
Member Avatar for divinity02

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

Member Avatar for divinity02
0
323
Member Avatar for Mag_1

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!

Member Avatar for rubberman
0
524
Member Avatar for sgw

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!

Member Avatar for sgw
0
590
Member Avatar for monem_1
Member Avatar for rubberman
0
516
Member Avatar for Vikrant_3

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.

Member Avatar for rubberman
0
147
Member Avatar for Sarah_23

Pascal is a defunct language. Even the inventor of it redid it as Modula! If your school is still teaching Pascal, go somewhere else!

Member Avatar for rubberman
0
320
Member Avatar for Prathamesh_1
Member Avatar for rubberman
0
498
Member Avatar for it@61@sec

I'm going to forward this to my grandson who is an expert in this sort of stuff.

Member Avatar for it@61@sec
0
346
Member Avatar for Shulc

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!

Member Avatar for Reverend Jim
0
242
Member Avatar for RainaAnja

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

Member Avatar for JamesCherrill
0
1K
Member Avatar for Cristofer_2
Member Avatar for NewMacUser

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 …

Member Avatar for peter_62
0
984
Member Avatar for B E

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.

Member Avatar for happygeek
0
457
Member Avatar for thomas_39

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.

Member Avatar for chuckc
2
376
Member Avatar for Thomas_36

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

Member Avatar for rubberman
0
1K
Member Avatar for amanda_9

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 …

Member Avatar for happygeek
0
172
Member Avatar for musa B

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.

Member Avatar for Reverend Jim
0
415
Member Avatar for peace_coder

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 …

Member Avatar for rubberman
0
246
Member Avatar for Dani

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.

Member Avatar for rproffitt
0
460
Member Avatar for adil.ghori

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.

Member Avatar for rproffitt
0
491
Member Avatar for Zorrro

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 …

Member Avatar for Zorrro
0
574
Member Avatar for Mugiwara
Member Avatar for diafol
0
247
Member Avatar for Haji Sameon

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 …

Member Avatar for diafol
0
864
Member Avatar for Thomas_36

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.

Member Avatar for Thomas_36
0
370
Member Avatar for Curious Gorge
Member Avatar for Subraa_1
0
9K
Member Avatar for Ritesh_4

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 …

Member Avatar for Akshay_9
0
1,000
Member Avatar for JohnMcPherson

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.

Member Avatar for JohnMcPherson
1
325
Member Avatar for mandeep_3

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

Member Avatar for rubberman
0
309
Member Avatar for bisibee88
Member Avatar for rubberman
0
5K
Member Avatar for Mohammed_44

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.

Member Avatar for diafol
0
250
Member Avatar for reeta_1

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 …

Member Avatar for rubberman
0
333
Member Avatar for jkon

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.

Member Avatar for rubberman
0
411
Member Avatar for Ákos_1

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.

Member Avatar for sathish kumar_1
0
770

The End.