5,237 Posted Topics
Re: [code] int main ( ) { // your code here return 0; } [/code] There's a fragment. Do you even understand how to do this on paper? | |
Re: > It moves along the vertical axis, but never on the horizontal axis By itself, or when you scroll a page or a window or ... | |
Re: [url]http://www.catb.org/~esr/faqs/smart-questions.html#bespecific[/url] | |
Re: You would need to show us how you call the problem function as well. | |
Re: So what's with all the smoke about "infinity" then? You have n sorted integers. | |
Re: 1. Stop posting the same thing [url]http://www.daniweb.com/forums/thread179013.html[/url] 2. We only give homework help to those who show effort [url]http://www.daniweb.com/forums/announcement8-2.html[/url] Post some effort, don't just dump your assignment on us. | |
Re: Frankly, this "gimme gimme" schtick of yours is becoming annoying. [url]http://www.daniweb.com/forums/thread178000.html[/url] Same old, same old, with no sign of effort or progress. How many more links do you think people are going to be bothered to push under your nose to go unread? | |
Re: - Global variables called i, should (nay, must) be local - Poor indentation - Using goto where a while loop is needed. I'd say you need to work on the basics of programming a while longer. | |
Re: [url]http://bloodshed.net/compilers/index.html#toolkits[/url] | |
Re: So long as it isn't physically damaged, AND you make sure it's really dry (try the oven - see the link), it should be OK. [url]http://forums.techguy.org/hardware/249659-hi-computer-trash-strange.html[/url] | |
Re: Perhaps the error message is correct. Actually, almost every line of your program is wrong. It's quite a surprise that it gets that far. > int * testptr = new int[1]; OK so far. > testptr[1] = 23; Oops, you stepped off the end. You only allocated 1 int, so … | |
Re: Do you think you've implemented int sumPowers(int n); Because you're still missing a small step. You don't pull the parameter off the stack. | |
Re: [url]http://bashdb.sourceforge.net/bashdb-man.html[/url] By convention, a -- option turns off all further option processing, and treats the rest of the command line as parameters. | |
Re: [url]http://www.daniweb.com/forums/announcement125-2.html[/url] Sure, just as soon as you sound like you're not trying to score some free homework without any effort. YOU TRY, WE HELP, that's the deal. | |
Re: For wiping all the free space on a disk, this was mentioned recently. [url]http://www.killdisk.com/[/url] There are also many tools which act like a "shredder" for your desktop wastebasket. [url]http://www.filetransit.com/files.php?name=Secure_File_Delete[/url] [url]http://www.snapfiles.com/freeware/security/fwerase.html[/url] No specific recommendation, just somewhere to look | |
Re: I urgently want you to read this [url]http://www.catb.org/~esr/faqs/smart-questions.html#urgent[/url] Then this [url]http://www.catb.org/~esr/faqs/smart-questions.html#writewell[/url] And finally, this [url]http://www.catb.org/~esr/faqs/smart-questions.html#bespecific[/url] | |
Re: [url]http://www.w3.org/TR/REC-xml/[/url] You can't have an ASCII /, but there may be some other symbol which you could use higher up in the UNICODE space. | |
Re: So where's the value/motivation for us to hack away at 400K lines of code just for your benefit? | |
Re: Personally, I would solve it by NOT using a compiler from the stone age on your new machine. Analogy: Buy Ferrari, take out engine, replace with dobbin the wonder horse. Your compiler is the horse, I'm sure you can figure out the rest of the metaphor. | |
Re: > and not de-allocated till the thread completes. How do i achieve that? Make the thread responsible for calling delete. | |
Re: "as soon as possible" [url]http://idioms.thefreedictionary.com/As+Soon+As+Possible[/url] But then again, perhaps this would be better read [url]http://www.catb.org/~esr/faqs/smart-questions.html#urgent[/url] | |
Re: There are tools like partition magic (and others - [url]http://en.wikipedia.org/wiki/List_of_disk_partitioning_software[/url]) which should do the job. > and D about 20 gb. Due to (my music) collection growing now to 80 gb Even if you absorb the whole of D into C, you're only extending your collection space by 25%. How … | |
Re: > Can I just copy paste my /sys/socket.h from my Linux Box and paste it on the /sys/ of MInGW directory Nope, not at all. You also need the .lib. Since that's compiled for a different architecture and OS, chances are it wouldn't even link, and has much less chance … | |
Re: Clear the screen, then draw it again in a slightly different position. Keep doing that. | |
Re: > param[0]=result; And what of param[1], is that NULL (it should be) > printf ("error on execve: %d\n", errno); Use perror(), and it will give you a wordy description, and not just "error 14". | |
Re: I guess the lessons of the previous thread haven't sunk in yet. [url]http://www.daniweb.com/forums/thread177531.html[/url] Here's how to start [code] for(i=0;line[len]!=10;len++) [COLOR="Red"][B]{[/B][/COLOR] [COLOR="Red"][B]}[/B][/COLOR] [/code] Now press compile AND make sure it works. Now add a few (not ALL) of your lines of code for the loop body, and try to compile it … | |
Re: Start with the program which simply prints what you type in. Then you've got something to work with for the next step, say determining the case. Post when you've got code, AND are stuck. | |
Re: Case matters. Get != get | |
Re: If you had clicked on the profile, you would have read "Last Activity: 12th Jul 2006" | |
Re: Line 42: while (msgIn) You're at the end of the file when you call your size function. So it returns immediately. Make sure the file location pointer is reset back to the start of the file, and the eof() state has been cleared. | |
Re: Well at least you figured out where the "post again" button is. [url]http://www.daniweb.com/forums/thread177519.html[/url] | |
Re: [url]http://clusty.com/search?query=fingerprint+reader&sourceid=Mozilla-search[/url] | |
Re: > brset 1,x+,$01,loop;AND contents of X with $01, increment x,branch to loop if result = 0 You're counting run-lengths of odd numbers then. | |
Re: The array is inside the class. So it would be just ob1.display(); And declare your member function as taking no parameters. | |
Re: Read your book / course notes on the 'if' statement, and post an attempt. | |
Actually, it's an information leak a day [url]http://www.timesonline.co.uk/tol/news/politics/article5688347.ece[/url] So what happens, that's right, yet another privacy sapping [URL="http://www.timesonline.co.uk/tol/news/politics/article5645538.ece"]money pit[/URL] full of everything a hacker could possibly want. [url]http://www.timesonline.co.uk/tol/travel/news/article5683677.ece[/url] | |
Re: > a simply is a pointer. That's what an array name is, a constant pointer to the first element. No it isn't. Read Narue's answer. Then read this as well. [url]http://c-faq.com/aryptr/index.html[/url] | |
Re: > and if there is anyone willing to solve the whole program, Anything else you want while you're at it? World peace, large trust fund, that kinda stuff. The moment you give up, and post this kind of thread to a forum is the time you should quit. > but … ![]() | |
![]() | Re: Dunno, it's been 15+ years since I last did any 68K work. But the essence of arrays is to load the address of an array into an 'a' register, and load the subscript into a 'd' register. Then look for the various indexed addressing modes, something like move.b d1, a0(d0) … ![]() |
Re: > so I can compare them to user input from another page You encrypt the input using the same steps you did to store the encrypted password in the first place. You then compare two encrypted results. If they match, they're in!. | |
Re: Do you have any books? Say "Accelerated C++" by Koenig and Moo? | |
Re: Is this all your own work? If it is, why is it suddenly so difficult for you to add reading a .ini file? | |
Re: Research your own locality - [url]http://www.monster.com/geo/siteselection.aspx[/url] | |
Re: How exactly is it supposed to get out of that loop? And use code tags. | |
Re: 802 * 802 * 4 = 2,572,816 Your files are less than that. Most likely, your bitmaps are RLE encoded (a simple compression scheme which works well for large amounts of solid colour). | |
Re: [url]http://letmegooglethatforyou.com/?q=Setup+cannot+upgrade+due+to+third+party+kernel[/url] | |
Re: std::cout [B][COLOR="Red"]<<[/COLOR][/B] << values2 [i] << std::endl; TWO sets of << Is that even legal? |
The End.