- Strength to Increase Rep
- +16
- Strength to Decrease Rep
- -4
- Upvotes Received
- 349
- Posts with Upvotes
- 283
- Upvoting Members
- 140
- Downvotes Received
- 42
- Posts with Downvotes
- 34
- Downvoting Members
- 30
Programmer
2,867 Posted Topics
Re: > Here is my code: Yuck. Learn to use [noparse][code] and [/code] tags.[/noparse] | |
Re: Believe it or not, Visual Basic has a learning curve. And it's made all the more evident when the programmer is impatient or gets angry at people who try to help him/her. | |
Re: Your cursor image library might be corrupt or nonexistant; try downloading a (regular) cursor set and see if it changes anything... Another possibility is that there's something wrong with your video card drivers. Consider reinstalling/updating them. | |
Re: There was probably a power surge before the power went out, which will of course cause damage to any electrical equipment plugged into something other than a surge-protector. Your computer's power supply is probably dead, as that usually sacrifices itself for the rest of the computer. Fortunately, power supplies are … | |
Re: >Can you guys explain why Wolf's solution works? The first getline() works like it's usually used: it grabs an entire line, so in other words, uses the newline as a delimiter. Then for each line that getline() grabs, it's popped into a stringstream (so that getline can use it again), … | |
Re: This looks more like C than C++... Anyway, to be able to do something like you described, you'll need real-time I/O. This isn't supported by standard C/C++, so you'll have to look into your compiler documentation for more information regarding this (or get a third-party library to handle it). Oh, … | |
Re: [quote=bones brigade;317610]how do i find the password?[/quote] Depends on your router model and make. Usually the password is documented in the manual, so I suggest checking there first. If you for some reason don't have it, try looking here: [URL]http://www.phenoelit.de/dpl/dpl.html[/URL] Lastly, if you or someone else has already set the … | |
Re: Obviously you haven't looked very carefully at the man page. Copying directory trees (recursive mode): cp -r Copying directory trees, viewing all files copied (verbose mode): cp -rv You can string any of the cp options together, like that. [url]http://linux.about.com/od/commands/l/blcmdl1_cp.htm[/url] | |
Re: >can u post the finally source code? I guess this is what Dani meant when she said we were getting 1000% more user registrations with a floating popup window. | |
Re: [quote=WaltP;298328]I'm using IMG code and pointing it at my picture too (you can see qhat I did when you quoted me).... I guess you need to tell me what you did [I]differently [/I]than me rather than just what you did. IFAIK I did exactly the same thing.[/quote] I think it's … | |
Re: What part of the error message are you having difficulty comprehending? | |
Hitachi has now announced a 1-terabyte internal hard drive, claiming they're the first to unveil a 1 terabyte hard drive in the industry. It doesn't sound terribly impressive, given the fact that storage mediums are increasing faster than you can blink an eye. However, they have done quite a feat … | |
Re: Here is my contribution. Many of these problems occur frequently on the forums, but I thought these were worth saving and so I reproduced some of them here.[LIST] [*]Write a program that allows you to input students' scores and weights. The program should then calculate a weighted average and score … | |
User input/output is a key component in the programs you write, yet most online tutorials just provide a quick-and-dirty method of grabbing data. In other words, it works right up until the point the user does something unexpected. In this tutorial you will learn how to avoid the common mistakes … | |
Re: [quote=Virii;185460]I have the book "Wiley's Teach Yourself C++", is this book at all useful or should I invest in some of the other books that are listed above?[/quote] [quote]Any "teach yourself XXX in YYY" or "XXX for dummies" book isn't worth the paper it's printed on if you're serious about … | |
Re: Hello, I thought this might be appropriate for this thread, but if not, the mods can move it to its own seperate thread -- or delete it altogether. Starting C on a Mac http://www.apple.com/macosx/features/xcode/ Xcode - Apple's free IDE for gcc. Allows the creation of universal binaries, even on PPC … | |
Re: Could you post the code you're having trouble with? Most likely you're trying to acess memory you shouldn't be, such as using a pointer that isn't pointing to what you expect it to, but it's kind of hard to guess unless you actually show us what you're trying to do. | |
Re: >Again if anyone knows why I'm getting the compile error posted above when >using g++ in linux (ubuntu) would you please help me out? I had nothing better to do, so I decided to screw around with the code Narue posted. You're correct in that g++ gives an error when … | |
Re: You don't directly call a .c file. If you have functions defined in an external file, you create a header file containing the function prototype. This header file is included in any file that uses the function (and in the .c file that defines the function). The compiler and linker … | |
Re: Try changing view modes in the Finder window. Often files can be hidden out of view in Icon view, so try Column or List view. Another thing you may want to try is using the Terminal to list the contents of the directory. Start Terminal from /Applications/Utilities/Terminal, and then try … | |
Re: Make sure that your kernel has the necessary modules to detect and control your fan speeds. When I'm running Linux on my MacBook, my fan settings appear in the virtual filesystem /sys: [code] localhost:~ $ [COLOR="Green"]ls /sys/devices/platform/applesmc.768/fan1_*[/COLOR] /sys/devices/platform/applesmc.768/fan1_input /sys/devices/platform/applesmc.768/fan1_label /sys/devices/platform/applesmc.768/fan1_manual /sys/devices/platform/applesmc.768/fan1_max /sys/devices/platform/applesmc.768/fan1_min /sys/devices/platform/applesmc.768/fan1_output /sys/devices/platform/applesmc.768/fan1_safe [/code] From there, I can write … | |
Re: >they should make a better c++ and call it D that would be cool That was basically the whole goal of D -- to improve on C++'s strengths, and remove the bad parts, as was Java's goal, Objective-C's goal (well actually it was more based on C, but nevertheless it … | |
Re: Perhaps he meant a computer's serial number? Anyway, stating your problem better would be a start to say the least, and by the way if you're planning to write in machine code or assembly, I hope you've had some previous experience in programming, such as C/C++, Java, .NET, etc.. | |
Re: "It is better to look a fool and remain silent than to open one's mouth and remove all doubt." [QUOTE=Salem;409039]There are two secrets to success in life: 1. Don't tell them everything you know. 2.[/QUOTE] That was written on the top of the timesheet at the company I work for. … | |
So I finally bought a domain name via GoDaddy. Only problem is, I don't know how to map it to my server! I assumed that they would let me use their nameservers to map my domain name to my server's IP address. So they give me 3 pairs of nameservers … | |
Re: - [icode]void main[/icode] is bad, very bad. [URL="http://www.cprogramming.com/faq/cgi-bin/smartfaq.cgi?id=1043284376&answer=1044841143"]Find out why[/URL]. - [icode]getch()[/icode] is nonstandard and nonportable. Use [icode]getchar()[/icode] instead, and then you can get rid of the conio.h header file. - Use [URL="http://www.daniweb.com/forums/announcement118-3.html"]CODE tags[/url] when posting code. - Don't post [URL="http://www.daniweb.com/forums/announcement118-2.html"]complete solutions[/URL] to homework. ![]() | |
Re: You bumped a 2 year-old thread to say that? ^_^ | |
Re: [QUOTE]I am looking for all people who have had this problem because if we all come together, we can insist that Gateway fix it without us having to pay so much money each time.[/QUOTE] I know, it can be very frustrating and aggrevating to buy a computer that keeps breaking … | |
Re: I fail to see the point of paying someone to do assignments which will help you learn the programming language that you took the course for... Nevertheless, I won't stop you. | |
Re: [quote=rzellitti;263944]Is there a program that will help open the files that were created with the Windows Publisher Software? I often get files with the extension of .pub that I can't open in word. Any advise would be helpful. Thanks.[/quote] Nope, I don't know of any. As far as I know, … | |
Re: You're better off re-ripping your CDs to MP3s. Transcoding between lossy formats (MP3, WMA, etc.) is one of the worst possible ways to degrade your music's quality. If you need flexibility between formats, keep a backup rip of your music using a lossless format (such as FLAC, ALAC, APE, WavPac), … | |
Re: Hello, I believe you need to use the [inlinecode]-lalleg[/inlinecode] with g++ to link with the Allegro libraries. | |
Re: Incoming mail server generally uses either the POP or IMAP protocol. The addresses generally look something like pop.isp.com or imap.isp.com. Your outbound server for sending your messages is still from your ISP, but it usually has smtp. in front of it, because it uses the smtp mail protocol. You could … | |
Re: Listen to jbennet - he's telling you the right stuff. First, there's no need to remove Linux off the hard drive. The Windows installer is good at taking up the whole hard drive; that's why it's Windows after all. ;) Second, Windows often warns that it may freeze up when … | |
Re: Why should we help you do something that could possibly be illegal for you? Sorry, but we don't usually try to help people access their porn sites from their workplace or school or whatever. And if it's a website that's "legitimate", get the network admins to unblock it. | |
Re: >4302 songs, 24.76GB Makes my 6.4GB, 1129 song collection seem small. :sad: | |
Re: [quote=srinath.sec;348370]use fibonaci(int n) { if(n==1) return o; if(n==2) return 1; return fibonaci(n-1)+fibonaci(n-2); }[/quote] I think you need to read these: [url]http://www.daniweb.com/techtalkforums/announcement8-2.html[/url] [url]http://www.daniweb.com/techtalkforums/announcement8-3.html[/url] Not only that, but I know for a fact that the code won't work. | |
Re: If you want private data storage, you can get nearly 3 gigabytes of free storage by [URL="http://www.engadget.com/2005/03/01/how-to-use-your-gmail-account-as-a-personal-file-server/"]turning a Gmail account into a file server[/URL]. | |
Re: If you open the Terminal (located in Applications/Utilities) and run [inlinecode]ls /Volumes[/inlinecode], does the name of the hard drive show up in the listing? What happens if you go into the Finder, choose Go->Go to Folder... and type in "/Volumes" as the destination folder? | |
Re: >i dont know it is correct or not It's not. Why don't you test out thing on your compiler first before posting them? To concatenate a string, remember that strings are basically arrays of characters. This means that you can loop through the arrays (or strings) and copy letters into … | |
Re: Firewire can be finicky... I often have problems where nothing shows up after I plug a camcorder into my computer(s). What I usually do: 1. Turn off computer and camcorder 2. Connect computer to camcorder via Firewire 3. Turn on camcorder, make sure it's working 4. Lastly, start up the … | |
Re: The problem that you're experiencing is that getchar() only grabs a single character from the input buffer. This would be fine, except that there's still a newline left in the input buffer that resulted from hitting 'enter' after your input. fgets() is next in your loop, and all it gets … | |
Re: http://www.cyberciti.biz/faq/linux-disable-modprobe-loading-of-usb-storage-driver/ | |
$ telnet irc.daniweb.com 6667 Trying 74.53.219.225... telnet: Unable to connect to remote host: Connection refused $ telnet irc.daniweb.com 6697 Trying 74.53.219.225... telnet: Unable to connect to remote host: Connection refused Down since yesterday. Any chance this could be fired up again? On a related note, what happened to the old … | |
[URL="http://www.deviantart.com/deviation/40255643/"]Line Rider[/URL] is an extremely addictive web game. (Try playing it, and see when you can stop.) Now a lot of programmers would rather play that than work on their project. But actually, if you program right, you can actually make it fun instead of being a dreary bug-fixing experience. … | |
Re: What have you got in the /etc/apt/sources.list file? Have you run 'sudo apt-get update' before trying to install build-essential? | |
Re: [quote=blud;287444]WoW and EQ2 suck, FFXI is the way to go[/quote] Nah, all the games mentioned so far suck. I don't think [I]anything[/I] can even begin to rival [URL="http://www.puzzlepirates.com/"]Puzzle Pirates[/URL] :mrgreen:. | |
Re: Yep, the terminal comes in handy sometimes. Open it (/Applications/Utilities), and run the following command: [code]sudo chflags -R nouchg ~/Music[/code] Enter your password, and it will remove the lock flag on any file inside your Music directory. | |
Re: Hello, What you've got here is your Mac is trying to load what's called a "kernel extension". In this case, it's ACPI, which is a power management driver. Either the permissions are corrupted, or the file itself is. What I would suggest at this point is to insert the OS … | |
Re: [QUOTE=david hasselhof;516471]got another question. do i have to pay for the software by downloading one of this files?[/QUOTE] If you're referring to VersionTracker, then it depends on what software you want to download. Some will be commercial software, in which case you'll be downloading a demo. If you're downloading freeware, … |
The End.