Posts
 
Reputation
Joined
Last Seen
Ranked #22
Strength to Increase Rep
+16
Strength to Decrease Rep
-4
88% Quality Score
Upvotes Received
349
Posts with Upvotes
283
Upvoting Members
140
Downvotes Received
42
Posts with Downvotes
34
Downvoting Members
30
217 Commented Posts
~977.34K People Reached
About Me

Programmer

Favorite Tags

2,867 Posted Topics

Member Avatar for Duki

> Here is my code: Yuck. Learn to use [noparse][code] and [/code] tags.[/noparse]

Member Avatar for Dani
1
5K
Member Avatar for webinvest

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.

Member Avatar for Getahun_2
1
22K
Member Avatar for xaznfr33kx

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.

Member Avatar for Yehuda_1
0
5K
Member Avatar for luhart

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 …

Member Avatar for rubberman
0
815
Member Avatar for Peetah

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

Member Avatar for Adam_37
0
15K
Member Avatar for programmingnoob

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

Member Avatar for rproffitt
0
3K
Member Avatar for Daemon9

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

Member Avatar for Reverend Jim
-1
4K
Member Avatar for Shane_Warne

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]

Member Avatar for davidchengnoc
2
3K
Member Avatar for Megaz221

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

Member Avatar for Muhammad_100
3
14K
Member Avatar for needs_help

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

Member Avatar for Ciara_1
0
883
Member Avatar for playst205
Member Avatar for John A

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 …

Member Avatar for mindmergepk
0
494
Member Avatar for ~s.o.s~

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 …

Member Avatar for gyno
22
7K
Member Avatar for John A

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 …

Member Avatar for Khawaja Ghulam
11
7K
Member Avatar for Dave Sinkula

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

Member Avatar for shahidali6
11
10K
Member Avatar for ~s.o.s~

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 …

Member Avatar for mack1
29
5K
Member Avatar for danijohn

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.

Member Avatar for alifriend7
0
599
Member Avatar for Narue

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

Member Avatar for Smn
18
13K
Member Avatar for pushkar honey

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 …

Member Avatar for dhanushdee24393
0
9K
Member Avatar for Tas

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 …

Member Avatar for sanbafunv
0
1K
Member Avatar for tnvkrishna

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 …

Member Avatar for Assembly Guy
0
794
Member Avatar for seankleyn

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

Member Avatar for keyboard_me
1
2K
Member Avatar for PcPro12

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

Member Avatar for T_CAD_MAN
0
434
Member Avatar for debasisdas

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

Member Avatar for James_28
8
17K
Member Avatar for John A

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 …

Member Avatar for gireeeesh
0
1K
Member Avatar for hey_shishir

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

Member Avatar for akshit.arora.14224
0
4K
Member Avatar for djbsabkcb
Member Avatar for cairan22

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

Member Avatar for William_9
-1
924
Member Avatar for jessicaphillips

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.

Member Avatar for Schol-R-LEA
1
657
Member Avatar for morchouse

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

Member Avatar for tylers4
-10
2K
Member Avatar for Advice

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

Member Avatar for MidiMagic
-2
487
Member Avatar for Sturm

Hello, I believe you need to use the [inlinecode]-lalleg[/inlinecode] with g++ to link with the Allegro libraries.

Member Avatar for kristiangd
0
1K
Member Avatar for lol_hacker101

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 …

Member Avatar for CimmerianX
0
218
Member Avatar for tech291083

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 …

Member Avatar for 64waves
0
568
Member Avatar for jo2995

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.

Member Avatar for happygeek
0
2K
Member Avatar for >shadow<

>4302 songs, 24.76GB Makes my 6.4GB, 1129 song collection seem small. :sad:

Member Avatar for stultuske
0
453
Member Avatar for andrisetia

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

Member Avatar for deceptikon
0
262
Member Avatar for Da Programmer

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

Member Avatar for <M/>
0
245
Member Avatar for megalinx

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?

Member Avatar for coltech88
0
2K
Member Avatar for IwalkAlone

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

Member Avatar for ahmedhamdy
0
2K
Member Avatar for Corndog

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 …

Member Avatar for JAI1978
0
3K
Member Avatar for Dark_Knight

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 …

Member Avatar for jigar23
0
2K
Member Avatar for M.S.Vinod
Member Avatar for rubberman
0
174
Member Avatar for John A

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

Member Avatar for Mike Askew
0
194
Member Avatar for John A

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

Member Avatar for sapure
0
389
Member Avatar for rajeshwari2413

What have you got in the /etc/apt/sources.list file? Have you run 'sudo apt-get update' before trying to install build-essential?

Member Avatar for tclyae
0
516
Member Avatar for idRATHERgoHUNT

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

Member Avatar for remixedcat
-2
2K
Member Avatar for TechTJ

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.

Member Avatar for jmay1234
-2
1K
Member Avatar for jollyton12

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 …

Member Avatar for dioioib
-1
665
Member Avatar for audiotechnob

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

Member Avatar for dioioib
-3
2K

The End.