79 Archived Topics
Remove Filter This is a simple example of how to delete a line from a text file. In order to do that you have to completely rewrite the file, leaving out the line(s) you want to delete. First open the input file, then open an output file (doesn't matter what filename you … | |
I just finished installing Fedora 11 on my 64-bit Vista computer (dual boot) and see that it does not include gcc or g++. I looked on gnu.org, found something that described the gcc compiler package (briefly) but no links to where to download the binaries. Anyone have links to it? | |
Are you going to pre-order Windows 7? I have and got the Pro edition because it contains XP compatibility mode. | |
Has anyone tried to write [URL="http://support.microsoft.com/kb/307398"]this tutorial [/URL]using VC++ 2008 Express? The article claims to be written with VC++ 2005. But I thought 2005 and 2008 used compatible versions of CLR language. I'm getting all kinds of compiler errors -- for example [icode]String* str;[/icode] instead of using [icode]String^ str;[/icode] and … | |
Any way to turn off that annoying music when a new message arrives :@ I have already unchecked the items in [b]Play A Sound[/b] when new message arrives, but the music still persists. | |
When I click a link IE8 always opens a new window instead of creating a new tab. I have clicked Tools --> Internet Options --> Tabs --> "Open Link In Other Programs In" --> "A new tab in current window". How can I set it so that a new tab … | |
I read somewhere that someone would pay for me putting their links in my signature (not necessarily ME but anyone). Is that just a scam to get people to post their links ? | |
I'm using FF version 3.0.2 on 64-bit Vista. Every once in awhile it will just simply crash. I can restart and it will take me back to where it was when it crashed. Anyone know why it does that? | |
Anyone know why my sound keeds getting set to mute? It gets set to mute every once in awhile, I don't know why. Also, on related question, I have a set of Bose ear phones, the kind you stick in each ear (see thumbnail). The problem is that sound comes … | |
If anyone can answer [URL="http://www.programmingforums.org/thread16958.html"]my question on PFO [/URL]I'd apprecaite an answer. I don't want to repeat it here because it is somewhat lengthy. | |
Has anyone been able to compile the lib files using Microsoft Visual C++ 2008 Express compiler? I downloaded and installed MySQL 5.0 Server yesterday, then downloaded MySQL++ source. Attempted to compile and got a bunch of link errors. I used dumpbin.exe to get a list of all the symbols in … | |
For those of you who have been working for some time I'd like to find out what practical uses you have seen for recursion. I'm not talking about college courses or what you see in tutorials, but what programmers use it for in real-world programs such as system, applications, etc. … | |
Just a quick note that I just finished installing a wireless keyboard and mouse, and everything works great right out of the box :) :) All I had to do was turn off my computer, unplug my old monster of keybaord + mouse, plug in a Logitech gadget (some technical … | |
Anyone tried (or does now) watch TV on a PC ? I have Dish Network (satallite TV) for my TV but was wondering how to channel it to my PC. | |
I've downloaded and compiled wxWindows using VC++ 2008 Express. Also am able to compile/link the Calculator example program (haven't tried the others yet). Now I want to begin writing my own program. So I searched google for tutorials to help get starte. None of them contain main(), and neither does … | |
In IE6 there was a menu File --> Open. That doesn't exist in IE7, or I can't find it. So I resort to using Windows Explorer and double-click on the *.htm file I want to load. Anyone know how to do it like IE6 ? Or a better way (in … | |
What to do with all those no-longer-needed programming books I no longer need and are just collecting dust ? Some of the books are 15+ years old while others are less than a year old. I could donate them to my local library. Maybe I could sell them on ebay? … | |
Trying to delete d:\windows\gzip32.exe (my vista installation) but can't, nor can I rename it. If I copy it I can't delete the copies either no matter where I put them. I now have three other copies that I can't delete. Anyone know a solution to this: Things I have tried … | |
Its pretty rare for me to post questions here but I came across this one about qsort I can't answer. If I try to sort an array of character strings such as [icode]char array[255][20][/icode] qsort works ok as expected. But if I declare the array like this qsort fails: [icode]char*array[255][/icode] … | |
using Vista Home Premium. When I click a link such as [URL="http://www.daniweb.com/techtalkforums/thread77212.html"]this one[/URL] by cutepinkbunnies I see the video but no audio. Anyone know how to correct that ? | |
Not sure what causes it but sometimes the computer refuses to shut down. The only way out is to physically press the Off button. I have XP Pro with SP2, Norton Antivirus and Norton Firewall, AMDI 64-bit processor with about 1Gig RAM, 30 Gig hard drive (master) and a 235Gig … | |
Has anyone successfully installed Acrobat Reader? It downloads ok, uncompresses, then gives the error message "The Temp folder is on a drive that is full or is inaccessible. ...". I used command prompt to display the values of all environment variables and the TEMP is in d:\users\<full path here>. Anyone … | |
This came up on another thread, rather that "pollute" that thread with a side issue, I'll start a new thread. The issue is; Is it better to just to individually declare the members of std to be used in a program, or is the global declaration "using namespace std" being … | |
I am running 64-bit Fedora core 5 and attempted to download core 6. The download (FireFox browser) took about 8 hours and when done the file could not be saved :mad: I know it is not for lack of disk space -- fedora is installed on a 320 gig hard … | |
I have read several (numerous really) threads but none of them help me. My computer has two huge hard drives. I have Windows XP on the master drive and I want to install fedora 5 on the slave. During the fedora installation there is a window that says grub will … | |
This is a simple example of how to use recursion to get a list of all the directories (folders) and file names within them. It also illustrates simple use if std::list, std::vector, std::string, std::cin and std::cout. It was compiled and tested with both VC++ 6.0 and Dev-C++ compilers on XP … | |
Is there a c++ std:: function that will trim trailing spaces from std::string? I know how to do it myself, but I was wondering if anyone knows of something in <altorithms> or elsewhere? Thanks | |
_tempnam() always returns a filename in the "c:\\temp" directory, regardless of the parameters. This example was extracted from MSDN. I need to generate a unique filename in a directory other than c:\temp -- any ideas how to do that other than writing my own function? maybe a c++ solution? Note … | |
I just got a VC .NET 2003 compiler and want to learn C# programming. What books would you recommend? I've been reading the book reviews on amazon.com and there appears to be a lot of good books -- or so the readers claim. I'm not at all interested in "C# … |
The End.