1,684 Posted Topics
Re: Take pure science. Social science is basically worthless, you can always learn about geography and history when you're old. Real science is best learned when young. | |
Re: Look in the directory of your C++ project. In that directory, or in some subdirectory ('Debug' or 'Release'?) should be your exe, once it's been built. | |
Re: I doubt it, but I don't have a convincing proof on hand. | |
Re: Look at their ratio. n^(3/2) / (n log_2 n) simplifies to sqrt(n) / log_2(n). Use l'Hopital's rule. | |
Re: What griswolf said. Computer science certifications are worthless. (Corollary: Employers for which having a certification is helpful for advancement are also worthless.) [quote]I'm not at the point where I can get an internship yet[/quote] I don't believe you. Why do you believe this? | |
Re: You probably don't really know whether you're good at math. So I'm not going to believe you when you say you're not very good at it. (Actually, I might believe that you're not [i]very[/i] good, but I won't believe you if you say you're not good at it.) Are you … | |
Re: An LL(k) language requires k tokens of lookahead to make a decision. How many do you need to decide what kind of expr you have? | |
Re: I have no idea what Hertfordshire is (but I could find out) but I certainly have no idea what "City" could possibly mean. "City"? Seriously? You need to learn how to write with the reader in mind. [quote]whereas city has modules like e-commerce and graphics designing, [/quote] Those aren't computer … | |
Re: Use gcc for the compiler, use whatever editor (Emacs or vim) for the editor. Anjuta looks good but it's unnecessary. | |
Re: O(1) or O(infinity), since C++ programs run in a finite amount of memory. | |
| |
Re: Good. The makers of software should get paid for their work if that's what they want. If I met you in person, I'd steal your clothes. | |
Re: I prefer [icode]sort | uniq[/icode] | |
Re: You can check convincingly by multiplying them back up. 13 * 22 + 2 = 288. So your answer is correct. | |
Re: [QUOTE=marufsiddiqui;393510]i just got the thought that to find the determinant it would be recursive .[/QUOTE] Maybe. It depends on how you code the determinant function. You could just go with the method that walks across rows with submatrices, whatever they're called, or you could use row operations. [QUOTE]is it true … | |
Re: Yes. The same way you put anything into a function. | |
Re: Um, yeah. [icode]*itemsArray[/icode] is an [icode]AoE2Wide::DrsItem&[/icode], and [icode]inTables[q].Items[/icode] is a [icode]std::vector<AoE2Wide::DrsItem>&[/icode]. You can't assign a [icode]DrsItem[/icode] to a [icode]std::vector<DrsItem>[/icode]. That's what the error message said. Edit: And then you're trying to read the Id field of a [icode]std::vector<DrsItem>[/icode]? Again that's what the error message says. A std::vector<T> does not have … | |
Re: Environmental science is stupid. Biology has the potential to be nothing but a souped up high school bio course, so you shouldn't take that. Your reasons for not wanting to take chemistry are illogical, you don't need to know anything about chemistry to take a course in it. That's why … | |
Re: In reading data off of modern rotational platters. In reasoning about cryptography. In optimizing websites' sign-up rates. In designing backup solutions. In keeping distributed hash tables updated. | |
Re: It's a much simpler and better solution just to have a lookup table of all the nonobvious board positions modulo rotation and reflection. | |
Re: Do you know the general idea of the algorithm? That comes first. | |
Re: Efficient? Numerical measurements of government are irrelevant; what matters are the morality of the actions government does. Generally speaking, the success of a government depends on how its policies promote a competitive market with incentives to produce, not on the internal structure. Compare, for example, Stalin, whose dictatorship was an … | |
Re: What kind of company does he want to work at? > Anyways he doesn't have much programming experience besides C a long time ago So he should get programming experience by writing some software. (He had 8 months to do it?) The exact specifics of what to do depend on … | |
Re: Um... yes. But not with the + operator, of course; with some specially built procedure. I don't know what you mean by 'add', either, but surely there's some way for you to write the algorithm. | |
Re: [QUOTE=maravich12;396572]The playstation version of MGS is one of the greatest games ever.[/QUOTE] Yay!!!!! | |
Re: Run the algorithms out by hand in the worst case scenario (you have to figure this out), and while doing so, count the number of swaps and comparisons made. This will be your answer. Troublingly, merge sort would not be implemented with any swapping... and selection sort with 8 elements … | |
Re: [QUOTE=Joestar;1201149] So, Ax Ey P(x,y) would not be the same as Ey Ax P(x,y). I don't understand why is that so and the lecture doesn't mention it much. Can anyone here explain why?[/QUOTE] Read the sentences. "For all x, there exists y such that P(x,y)." "There exists y such that … | |
Re: [QUOTE=MidiMagic;374778]LISP is a prefix language, so it is obvious that the binary tree structure you have is also prefix.[/QUOTE] What do you mean, in that it is "prefix"? | |
| |
wordify: Converts any integer number (such as 123456000999) into a string ("one billion two hundred ninety-three million one hundred two thousand one hundred"). | |
Re: [QUOTE=UNOWN;1306527]I really have never done this so I cannot be sure. But if i would guess, I would say you need to use some sort of outside server so that the two can communicate.[/QUOTE] Wow, way to spend your time publicly guessing the nature of reality and missing. > when … | |
Re: Blah blah blah, blah blah blah. The answer is that Linux, Windows 7, and Mac OS X are good, but Solaris is not. Hope that helps :) | |
Re: 1. Pick what you want to make a program about. 2. Write the program. That's how you do it. Good luck. | |
Re: 1. Learn Ruby or Python. Learn Perl 5. 2. Learn Scheme. 3. Learn Haskell. 4. Presumably you already know C++ or Java. Learn the other one. Then learn Scala. 5. To practice writing networking code, read the HTTP spec and make an HTTP proxy. 6. Never write cryptography code. 7. … | |
Re: First, the program communicates with the operating system differently. To perform input and output, it must talk to the OS with a system call, using a particular protocol, and they use different protocols. Second, the libraries are different. Linux programs expect libraries with functions like printf and whatnot to be … | |
Re: With no further information about the element or the array, you can't. | |
Re: [QUOTE=Drlionheart;1012861]and its related software like Share Point also. [/QUOTE] wat | |
Re: I hope you don't do business in an English-speaking country. | |
Re: That's your job. You're supposed to figure it out. Start thinking. | |
Re: [QUOTE=tuffff;1308127]But, you can transform [I]every[/I] recursive function into a tail-recursive one by manually passing the call stack as an argument. If this has any advantage depends on the language, but usually I would say no.[/quote] This is actually not quite possible in every situation. Consider the following. [code]function go<T>() { … | |
|
The End.