5,237 Posted Topics

Member Avatar for narendrachandu

Urgent lessons on recursion [url]http://www.daniweb.com/forums/thread202765.html[/url]

Member Avatar for Salem
0
215
Member Avatar for Shaitan00

[url]http://forums.devshed.com/c-programming-42/how-to-create-a-static-map-that-is-only-loaded-623059.html[/url]

Member Avatar for jencas
0
141
Member Avatar for meganirvashe

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

Member Avatar for Salem
0
51
Member Avatar for tasneim

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 …

Member Avatar for Salem
0
104
Member Avatar for Samuelandjw

We did all this less than a month ago. [url]http://www.daniweb.com/forums/thread198087.html[/url]

Member Avatar for MosaicFuneral
0
1K
Member Avatar for Salem

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

Member Avatar for MosaicFuneral
0
176
Member Avatar for Michael_Tanner

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

Member Avatar for Michael_Tanner
0
2K
Member Avatar for cjbnt198

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

Member Avatar for Salem
0
114
Member Avatar for scotddn1

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 …

Member Avatar for Salem
0
163
Member Avatar for reyaanhelp
Member Avatar for Salem
-1
68
Member Avatar for slomad1956

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.

Member Avatar for slomad1956
0
128
Member Avatar for Leila1
Member Avatar for mzqpla

Question ripped from here [url]http://answers.yahoo.com/question/index?qid=20090312152917AAED8nE[/url] Just so you can spam your sig-links.

Member Avatar for codejoust
-1
86
Member Avatar for gergep

> For example, i want to know how does wxWidgets create there windows, buttons, etc. It's open source, go read the code.

Member Avatar for tux4life
0
79
Member Avatar for rajenpandit

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

Member Avatar for rajenpandit
0
132
Member Avatar for ravenrider

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

Member Avatar for jencas
0
103
Member Avatar for MrNoob

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.

Member Avatar for ankush chander
0
140
Member Avatar for Whilliam

- read into temporary memory - if successful, allocate a node, copy the data and append to the list.

Member Avatar for rampurhaat
0
195
Member Avatar for aayush2687

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

Member Avatar for Stinomus
0
272
Member Avatar for Cloneminds

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.

Member Avatar for Salem
0
112
Member Avatar for sonia sardana
Member Avatar for Salem
0
222
Member Avatar for mmangai

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

Member Avatar for mmangai
0
148
Member Avatar for PatrixCR
Member Avatar for Narue
Member Avatar for kangarooblood

You already know how to do this [url]http://www.daniweb.com/forums/post908673-7.html[/url]

Member Avatar for Sky Diploma
0
131
Member Avatar for Gihan Sky
Member Avatar for Salem
0
77
Member Avatar for cbusen

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

Member Avatar for cbusen
1
108
Member Avatar for OffbeatPatriot

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

Member Avatar for Salem
0
163
Member Avatar for VernonDozier

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.

Member Avatar for VernonDozier
0
116
Member Avatar for Cool Silence

What boot devices do you have? It's not trying to boot from the network is it?

Member Avatar for Salem
0
116
Member Avatar for Quan Chi2

Split it up into steps - read a line, and split at "," - assign to fields in some structure (vector of vectors perhaps) and so on.

Member Avatar for Quan Chi2
0
162
Member Avatar for learner2
Member Avatar for zippy41
Re: hey

Contact the support for the service provider. As both seem to belong to Microsoft, it should be an easy fix.

Member Avatar for Salem
0
28
Member Avatar for AndrewCoy

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

Member Avatar for AndrewCoy
0
82
Member Avatar for Stefano Mtangoo
Member Avatar for clinton.havens

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

Member Avatar for clinton.havens
0
150
Member Avatar for joed13k1941

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 …

Member Avatar for collegetextbook
0
304
Member Avatar for Whilliam

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

Member Avatar for csurfer
0
218
Member Avatar for come_again

Try using code tags then. > g++ -c [COLOR="Red"]-lrt[/COLOR] timer.cpp test_timer.cpp Why are you passing linker flags here?

Member Avatar for come_again
0
2K
Member Avatar for DoEds

I see the OP got their wish by successive approximation without having to put in any more effort. Congrats to all :icon_rolleyes:

Member Avatar for Tom Gunn
0
359
Member Avatar for dilip.mathews
Member Avatar for tux4life
0
245
Member Avatar for zhinokin

[url]http://www.daniweb.com/forums/forum14.html[/url] Lots of ideas there, all un-heeded.

Member Avatar for zhinokin
0
65
Member Avatar for DNDSH
Member Avatar for macla

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 …

Member Avatar for Salem
0
87
Member Avatar for iantoya

Sure, for someone with the right skills. But that doesn't tell us anything about whether YOU can do them or not.

Member Avatar for iantoya
0
417
Member Avatar for Ashley20101
Member Avatar for 9323170

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.

Member Avatar for Salem
0
111
Member Avatar for mathueie

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 …

Member Avatar for Salem
0
277
Member Avatar for sampsont
Member Avatar for pokerstar

- format integer as a string in some memory buffer - measure it's length - output 8-len spaces - output buffer

Member Avatar for pokerstar
0
2K

The End.