I have a customer who wants me to do some programming in 'c'. It is like back to my childhood again and I am thoroughly enjoying. The job involves sockets data transfers and the best samples I can find are unfortunately on hacker sites. Their code is pretty ordinary and you get the sense that they are particularly young. Their coding style is pretty average but I suppose that if they were good coders they would have real jobs.
I didn't have a c compiler or IDE so I started with LLC. I liked it and it had a lot of nice features but the editor drove me crazy. I next downloaded NetBeans. I think that it is supposed to be a Java IDE but has a C/C++ version. However, you also need a C compiler to go with it.
It supports a number of compilers but I chose MinGW. To get it all working well you need to do things in this order:
Download and install MinGW and put the bin folder in your path statement. Download and install the latest debugger (gdb). To make the MAKE work you need to download and installed MSYS. It will have a little command file that will normalise it with MinGW.
Finally you can download NetBeans. I feel a little like going onto the dark-side given what the CEO of Sun has said about Microsoft over the years.
You can finally download
I am a mobile computer technician living on the South Coast of New South Wales. This is a blog about the day to day work of repairs, upgrades, and building computers. I am also a programmer and build websites. I have been dealing with the things for over 30 years but there is still something new every day
Friday, September 19, 2008
Tuesday, September 2, 2008
XP Antivirus 2008 - 2009 and AVG
I have been using AVG to successfully remove this virus but the last machine I de-virused caused some problems. I started as per normal, I took an image of the hard drive using Acronis. While the hard drive was slaved to my workshop machine I removed the XP Antvirus directory under program files (You can do this when you are in safe mode but you still may have to kill some processes). Before they are deleted I make note of the last five characters of the random looking files (in this case it was '1ee0p'. I then look for and remove all files on the computer ending with these characters.
I then replace the hard drive and start the machine. In regedit, I remove all entries with this suffix.
Normally, I then install AVG as my first anti virus program and run this. It seemed to load and run okay. When it asked to reboot I got a blue screen with system error 34 which is to do with a logon issue. I restored the image from acronis and started again. I removed the obvious virus and then used superantivirus and spybot. I then tried AVG again. Again after the reboot windows would not come up. Luckily this time I could get in via safe mode and uninstalled AVG. the computer rebooted as normal and I used some other antivirals to finish up the computer.
I then replace the hard drive and start the machine. In regedit, I remove all entries with this suffix.
Normally, I then install AVG as my first anti virus program and run this. It seemed to load and run okay. When it asked to reboot I got a blue screen with system error 34 which is to do with a logon issue. I restored the image from acronis and started again. I removed the obvious virus and then used superantivirus and spybot. I then tried AVG again. Again after the reboot windows would not come up. Luckily this time I could get in via safe mode and uninstalled AVG. the computer rebooted as normal and I used some other antivirals to finish up the computer.
Subscribe to:
Posts (Atom)