1,684 Posted Topics

Member Avatar for crsurfer

I don't understand what the problem is. Do you understand the words you are using in the sentences you've written?

Member Avatar for crsurfer
0
111
Member Avatar for rdonr
Member Avatar for nanaman

[QUOTE=Duoas;469815]There are no [I]procedures[/I] in scheme, only [I]functions.[/I][/QUOTE] There are no [I]functions[/I] in Scheme, only [I]procedures[/I]. That is, the word used in the R5RS specification (and probably R6RS, but I haven't read that) is "procedure". That's why there is a procedure named [inlinecode]procedure?[/inlinecode] in Scheme, and no procedure named [inlinecode]function?[/inlinecode]. …

Member Avatar for Duoas
0
117
Member Avatar for snowflake

Put printfs up all over the place and track down the bug. It is hard and tedious to track down what you are doing here, especially when you haven't posted the class definition. (For example, what is 'maxSize'? If it's what I think it is, the name doesn't make sense. …

Member Avatar for snowflake
0
164
Member Avatar for Sturm

Generally speaking, it seems to me like the level of discussion at most websites as they grow is monotonically decreasing. And there's nothing you can do about it. Also, the people who joined X months ago are [i]always[/i] likely to be displeased, because X months ago, the site was the …

Member Avatar for MidiMagic
0
497
Member Avatar for johnnyjohn20

[QUOTE=Jishnu;476475]By the way, you should have posted this in the C forum. There is nothing specific to C++ in this thread.[/QUOTE] No, the C++ forum is appropriate; he is using C++, not C. If he posted in the C forum people would be wondering why 'cout' is in his code.

Member Avatar for Jishnu
0
304
Member Avatar for Fox5

Take a look at the kd-tree and octree datastructures on Wikipedia. I think a kd-tree or octree would work for you. I'm assuming you have randomly scattered pairs of points, not some lattice of calculated values. (Which do you have?) Be more clear in your description. First of all, why …

Member Avatar for Fox5
0
127
Member Avatar for vegaseat

Here's the hello world program in Rain: [code]Hello, world![/code] In Boolfuck: [code];;;+;+;;+;+; +;+;+;+;;+;;+; ;;+;;+;+;;+; ;;+;;+;+;;+; +;;;;+;+;;+; ;;+;;+;+;+;; ;;;;;+;+;; +;;;+;+;;;+; +;;;;+;+;;+; ;+;+;;+;;;+; ;;+;;+;+;;+; ;;+;+;;+;;+; +;+;;;;+;+;; ;+;+;+;[/code]

Member Avatar for sgssergio
0
1K
Member Avatar for Loyen

[QUOTE=Loyen;468892]So, by now it seems like C++ will be the futures programming language.[/QUOTE] I don't mean to reply rudely, but C++ is a terrible programming language, a complete mess. It will not be the future's programming language. Just look at it. And look at other languages. And consider which are …

Member Avatar for Narue
0
214
Member Avatar for shaqnolysis
Member Avatar for mohanrobin
-1
258
Member Avatar for kevindougans
Member Avatar for kevindougans
0
948
Member Avatar for The Dude
Member Avatar for Dave Sinkula
Member Avatar for jwenting
0
517
Member Avatar for redcode
Member Avatar for Dave Sinkula

[QUOTE=joshSCH;397133]and it can bring in some $$ for the U.S. government..[/QUOTE] You mean it can take $$ from U.S. citizens.

Member Avatar for scru
3
778
Member Avatar for isaacmacdonald

x - x^(1/3) - 2 is not a polynomial. Adding Em would ward off divide by zero errors. It's much more likely for a function to have two floating point numbers where it evaluates to the same value than to have a function that has two points where the difference …

Member Avatar for Rashakil Fol
0
131
Member Avatar for warpstar
Member Avatar for Duoas
0
99
Member Avatar for The Dude

That's a hard question. Has technology improved between the 1980s and 2000s? I'll have to think hard about that one.

Member Avatar for John A
0
121
Member Avatar for jireh

Don't worry, I have time to browse. I'll go spend a couple of hours doing your research for you.

Member Avatar for jireh
-2
168
Member Avatar for The Dude
Member Avatar for Lardmeister
0
84
Member Avatar for The Dude
Member Avatar for fastfred

[QUOTE=Narue;435099]>How can I determine the programming language of an .exe file? You can disassemble the executable and reconstruct the design of the program. From that it's sometimes possible to infer the original language that it was written in. However, this requires a great deal of experience and talent in reverse …

Member Avatar for Narue
0
5K
Member Avatar for straighttriipn

I don't see why you would need any help for this. The reason is that I can't read your mind. Unless you can explain what you don't understand how to do, you won't be able to get aid with this problem. And if you can figure out what you don't …

Member Avatar for straighttriipn
0
117
Member Avatar for ramakrishna1987

[QUOTE=ramakrishna1987;446748]i am a final yr student and in next sem i ahve to do my project ....but till now i have got no idea abt on wat application i have to work on!!!!!........... well i have interest on working on web based applications ........... but still can i go for …

Member Avatar for Rashakil Fol
0
133
Member Avatar for locy

f is O(g) if and only if for some positive C, for some value m, for all n > m, f(n) <= C * g(n). Good luck.

Member Avatar for Rashakil Fol
0
44
Member Avatar for naomiauk
Member Avatar for Rashakil Fol
0
55
Member Avatar for use4d

[QUOTE=The Dude;446995]Why is everyone making a joke about this?? Sometimes using NATURAL ELEMENTS produces MUCH BETTER RESULTS than anything man made!![/QUOTE] Because it's retarded.

Member Avatar for efmesch
1
97
Member Avatar for vinutha1309
Re: Ftp

If you want to send files without using the Internet, it's going to be terribly inconvenient.

Member Avatar for jwenting
0
64
Member Avatar for Electrohead

Whether you include the DTD or not is largely irrelevant in the grand scheme of things. Browsers don't look at the DTD itself; they just say, "Is the DTD there? It is! So I'll assume the coder knows what he's doing, so I won't replicate the bugs of IE 5.5." …

Member Avatar for MidiMagic
0
297
Member Avatar for comask

It depends on where the holes are and how much of the 8 GB half is taken up by files.

Member Avatar for Rashakil Fol
0
77
Member Avatar for Tanuja
Member Avatar for annagraphicart

I'd do a quicksort for a buck or two, but a bubblesort will cost you $150/hr, 10 hour minimum.

Member Avatar for raananschwartz
0
74
Member Avatar for MartyMcFly

There was once this gal named cscgal. She thought and exclaimed, "Be a millionaire, I shall!" Then one day, she counted up her money, Her sequins, her gaint stones, and all her honey. It summed past a million, and so cscgal cheered, "I'm a millionaire. I shall be revered!" And …

Member Avatar for jasimp
0
547
Member Avatar for alsoumhi

[QUOTE=Salem;440306]~~words~~[/QUOTE] I'd add 4. Caller makes a char*, passes a pointer to the char** to the callee, and the callee sets the caller's char* to point to some freshly allocated memory, with the caller's responsibilty to clean up. Maybe return the string length or something useful as the return value. …

Member Avatar for Rashakil Fol
0
106
Member Avatar for upstream

I don't feel that I really got comfortable with C++ until I ditched visual studio and used a text editor.

Member Avatar for jasimp
0
255
Member Avatar for RatanKumar

I think about what additional knowledge I need in order to understand.

Member Avatar for Ramy Mahrous
0
38
Member Avatar for xraaz

[QUOTE=xraaz;435037]We have to design a simple process by which we could use this coin to generate perfectly unbiased sequence of random bits...?[/QUOTE] We do? I'll get right on it.

Member Avatar for darkagn
0
89
Member Avatar for Geek-Master

The C++ standard says main is supposed to return int, right? I think that's the case, anyway. So why would g++ support a main function with a return type of void? That makes no sense.

Member Avatar for spankyg
0
191
Member Avatar for asifrahman

Isn't this an open problem? The question of whether NC = P or not is unsolved. See [url]http://en.wikipedia.org/wiki/P-complete[/url] for more details.

Member Avatar for Rashakil Fol
0
46
Member Avatar for xraaz
Member Avatar for xraaz

Should take something n^3 * log(n) given integers represented as products of primes.

Member Avatar for Rashakil Fol
0
232
Member Avatar for wicked357
Member Avatar for Rashakil Fol
0
125
Member Avatar for iamthwee
Member Avatar for corolaron

[QUOTE=joshuatree]try this logic... You know a word isn't a palindrome if it's an odd number of characters.[/QUOTE] "dad" is a palindrome.

Member Avatar for gkmishr1
0
2K
Member Avatar for Chaky

[QUOTE=cscgal;430400]That's the intended behaviour of the [[b][/b]search]TeX language[[b][/b]/search].[/QUOTE] Search tags!

Member Avatar for Dani
0
102
Member Avatar for rohit saroha

Um, it's hard to understand you, so I'm going to guess that the answer depends on the definition of 'driver'. Edit: but more seriously, I'd say no, based on the way the word 'driver' is used in common usage.

Member Avatar for rohit saroha
0
102
Member Avatar for toonces

You're defining abc in two places, and they're getting put into the same source file. I don't know what you expected to happen.

Member Avatar for toonces
0
244
Member Avatar for Duki

[QUOTE=Duki;428577] For the toppings, I figured the easiest way is to do a loop of some sort until they're finished inputting toppings (maximum of 7). The reason I'm using an array is because I have to include a function that outputs the object data, including each topping. [QUOTE] My question …

Member Avatar for Dave Sinkula
0
307
Member Avatar for mmmmmmmmmmmm

The best extension is the Google toolbar, with its features like... reporting every site you visit to Google, wasting screen space, ... Considering that Firefox already has spell check, a search bar, and autofill, I'd say... sigh. Adblock is the best extension, of course.

Member Avatar for tharglet
0
113
Member Avatar for daniweb2013

It's hard to understand your problem then. If you know how to compute a Maclaurin series by hand, out to the point where the error is less than some tolerance level, why can't you write it in a program? Of course, that's the whole point of this programming exercise, to …

Member Avatar for Rashakil Fol
0
448

The End.