5,237 Posted Topics
Re: Urgent lessons on recursion [url]http://www.daniweb.com/forums/thread202765.html[/url] | |
Re: [url]http://forums.devshed.com/c-programming-42/how-to-create-a-static-map-that-is-only-loaded-623059.html[/url] ![]() | |
Re: > How do I fix this ? If you wrote the game, and have the source code, then use a debugger. If you didn't write it, but can get the source code, and you know how to program, then you might be able to use a debugger and fix the … | |
Re: Really? No? Are you sure? You've been on a course for 3 years, and you still have no clue? Except for writing like a 5 year old with wax crayons. The typical MO for all the "plzsuggestaproject" types is that they're looking for something to download off the internet with … | |
Re: We did all this less than a month ago. [url]http://www.daniweb.com/forums/thread198087.html[/url] | |
[url]http://www.telegraph.co.uk/news/worldnews/asia/japan/5757194/Workers-have-daily-smile-scans.html[/url] " a bid to boost their customer services" More like reduce them. Anyone with a forced smile basically starts to look like a psycho - yeah, that'll bring the customers in. Or a punter with some bad news story being met with the company-standard gormless grin as opposed to … | |
Re: > size = ftell(updf); You do this BEFORE checking the file was opened successfully. Besides, you just opened the file for reading, so the answer is trivially going to be zero. > if(sizeof(updf) This isn't going to tell you anything useful about the file. > while(fread(idx, 1, size, updf)) Use … | |
Re: [url]http://www.memtest86.com/[/url] - click on free download Run it at least overnight [url]http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/chkdsk.mspx?mfr=true[/url] For as long as it takes. If you haven't done so, now is a good time to do a backup of all the important stuff. Flash files are popular virus/malware vectors, so visit [url]http://www.daniweb.com/forums/forum64.html[/url] if none of the … | |
Re: Is your next question going to be "How do I do x in shell" where x is some perl statement involving the USE of $dgs ? There must be a reason for opening the port, which means there's going to be more things to do with that variable once you've … | |
Re: [url]http://www.daniweb.com/forums/thread202048.html[/url] Keep going. | |
Re: You missed this [url]http://www.daniweb.com/forums/announcement8-3.html[/url] Along with half a dozen other clues about code tags. So now we have to wait until that gets fixed. | |
Re: Question ripped from here [url]http://answers.yahoo.com/question/index?qid=20090312152917AAED8nE[/url] Just so you can spam your sig-links. | |
Re: > For example, i want to know how does wxWidgets create there windows, buttons, etc. It's open source, go read the code. | |
Re: > #include "/home/yourdir/myInclude/header.sh" Don't do this. Absolute paths to header files are a disaster waiting to happen. If you reorganise your workspace, or give the code to someone else, then you have to edit ALL the code just to make it compile again. Instead, do [ICODE]gcc -I/home/yourdir prog.c[/ICODE] where /home/yourdir … | |
Re: [url]http://www.daniweb.com/forums/thread118972.html[/url] See this? Last edited by Narue : 14th Apr 2008 at 16:11. Reason: Added code tags, please do it yourself next time. Fix your post! [url]http://www.daniweb.com/forums/announcement8-3.html[/url] ![]() | |
Re: At the tip, you've got [code] up_and_down(1) up_and_down(2) up_and_down(3) up_and_down(4) [/code] There is no subtraction, just a nested set of values stored as local parameter 'n'. As you return from each recursive call, you get back the previous value of n. | |
Re: - read into temporary memory - if successful, allocate a node, copy the data and append to the list. | |
Re: > is it possible to make a game with d help of .NET means action game if not plz suggest d lang [URL="http://www.catb.org/~esr/faqs/smart-questions.html#writewell"]When a horse jumps d-fence, d-feet go before d-tail.[/URL] | |
Re: 5/9 is done as INTEGER arithmetic before it ever gets chance to be promoted to a double. You always end up with zero in this case. Make them doubles to begin with. | |
Re: [url]http://lmgtfy.com/?q=VB.net+Interview+Questions[/url] | |
Re: [url]http://unixhelp.ed.ac.uk/CGI/man-cgi?gettext+3[/url] Eg. [code] #include <stdio.h> #include <libintl.h> int main ( ) { printf( "%s\n", gettext("hello world") ); return 0; } [/code] | |
Re: > Is MinGW Make = GNU Make? I would guess so. | |
Re: You already know how to do this [url]http://www.daniweb.com/forums/post908673-7.html[/url] | |
Re: [URL="http://lmgtfy.com/?q=evolutionary+computing"]evolve[/URL] | |
Re: [url]http://forum.piriform.com/index.php?showforum=19[/url] I'm guessing that's where you'll find the highest concentration of experts and users for that product. | |
Re: > Expression: _CrtIsValidHeapPointer(pUserData) The pointer you passed to realloc / free / delete was not valid. I don't know why it "works" in the IDE and the debug version outside the IDE doesn't. AFAIK, it should be the same. But the short of it is you need to start checking … | |
Re: No error messages? Which OS? XP and Vista can be a bit twitchy (for good reason) about writing into the root directory of the boot disk. | |
Re: What boot devices do you have? It's not trying to boot from the network is it? | |
Re: Split it up into steps - read a line, and split at "," - assign to fields in some structure (vector of vectors perhaps) and so on. | |
Re: [url]http://lmgtfy.com/?q=autocad+2000+FAQ[/url] | |
Re: Contact the support for the service provider. As both seem to belong to Microsoft, it should be an easy fix. | |
Re: I guess not. But then you didn't really clear up the geography problem (where are you; recommending .au site might not be so smart if you're in .fr). Nor did you say "what for" or "how much". | |
Re: [url]http://www.tech-faq.com/reset-bios-password.shtml[/url] Found after a simple search. There's lots to try there. Many other pages like it. | |
Re: Step 1 - a loop which reads numbers and prints them out (this should be basically the same as a previous assignment) Step 2 - make it exit on ctrl-z Step 3 - make it reject out of range numbers Got the idea yet? Think about what steps you can … | |
Re: > for(ctr = 0;[COLOR="Red"] fp == 0[/COLOR]; ctr++) What does this do? > flushall(); > gets(filename); flushall() is non-standard, and gets() is the tool of the devil. [url]http://faq.cprogramming.com/cgi-bin/smartfaq.cgi?answer=1049157810&id=1043284351[/url] > #include<conio.h> Why are you still using this obsolete header? Is your compiler also obsolete? | |
Re: Try using code tags then. > g++ -c [COLOR="Red"]-lrt[/COLOR] timer.cpp test_timer.cpp Why are you passing linker flags here? | |
Re: I see the OP got their wish by successive approximation without having to put in any more effort. Congrats to all :icon_rolleyes: | |
Re: Well for a value of 'n', how many recursive calls will there be? | |
Re: [url]http://www.daniweb.com/forums/forum14.html[/url] Lots of ideas there, all un-heeded. | |
| |
Re: Even running at a few %, modern processors are able to keep a disk pretty busy. A couple of ideas perhaps 1. Run it as an "idle" process, so it only runs when there is definitely nothing else going on. 2. Run it as a screen saver, so it only … | |
Re: Sure, for someone with the right skills. But that doesn't tell us anything about whether YOU can do them or not. | |
Re: I wonder if we're about to find out that the compiler they're using is some archaic DOS fossil. Which is entirely useless for communicating with their nice new 32-bit operating system. | |
Re: Traversing the subdirectory tree is the only way, if that is what you're after. Think about how file systems are implemented? If you have /path/to/some/directory, does it make sense to update /path/to/some, /path/to, /path and finally / every time you add/delete/change a file in some sub-directory? Sure, it gives you … | |
Re: That all depends on how you configure the compiler / linker. | |
Re: - format integer as a string in some memory buffer - measure it's length - output 8-len spaces - output buffer |
The End.