1,684 Posted Topics
Re: I don't understand what the problem is. Do you understand the words you are using in the sentences you've written? | |
Re: [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]. … | |
Re: 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. … | |
Re: 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 … | |
Re: [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. | |
Re: 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 … | |
Re: Here's the hello world program in Rain: [code]Hello, world![/code] In Boolfuck: [code];;;+;+;;+;+; +;+;+;+;;+;;+; ;;+;;+;+;;+; ;;+;;+;+;;+; +;;;;+;+;;+; ;;+;;+;+;+;; ;;;;;+;+;; +;;;+;+;;;+; +;;;;+;+;;+; ;+;+;;+;;;+; ;;+;;+;+;;+; ;;+;+;;+;;+; +;+;;;;+;+;; ;+;+;+;[/code] | |
Re: [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 … | |
Re: All this requires is some thinking. I don't see what prevents you from doing that. | |
Re: You should use 'name' for forms because that has universal support by browsers. | |
Re: Guys... [url=http://timecube.com/]Word God is Bad Math[/url]. | |
Re: [QUOTE=joshSCH;397133]and it can bring in some $$ for the U.S. government..[/QUOTE] You mean it can take $$ from U.S. citizens. | |
Re: 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 … | |
Re: Read it as if the * sticks to the type name, not the function name. | |
Re: That's a hard question. Has technology improved between the 1980s and 2000s? I'll have to think hard about that one. | |
Re: Don't worry, I have time to browse. I'll go spend a couple of hours doing your research for you. | |
Re: Ah, you should try [url]http://reddit.com/[/url] for posting random links. | |
| |
Re: [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 … | |
Re: 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 … | |
Re: [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 … | |
Re: 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. | |
Re: And you won't get it until you adequately explain what you want to do. | |
Re: [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. | |
Re: If you want to send files without using the Internet, it's going to be terribly inconvenient. | |
![]() | Re: 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." … |
Re: It depends on where the holes are and how much of the 8 GB half is taken up by files. | |
Re: I'd do a quicksort for a buck or two, but a bubblesort will cost you $150/hr, 10 hour minimum. | |
Re: 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 … | |
Re: [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. … | |
Re: I don't feel that I really got comfortable with C++ until I ditched visual studio and used a text editor. | |
Re: I think about what additional knowledge I need in order to understand. | |
Re: [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. | |
![]() | Re: 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. |
Re: 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. | |
| |
Re: Should take something n^3 * log(n) given integers represented as products of primes. | |
Re: It's saying you haven't initialized your variables, but you're trying to access their value. | |
![]() | |
Re: [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. | |
Re: [QUOTE=cscgal;430400]That's the intended behaviour of the [[b][/b]search]TeX language[[b][/b]/search].[/QUOTE] Search tags! | |
Re: 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. | |
Re: 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. | |
Re: [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 … | |
Re: 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. | |
Re: 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 … |
The End.