1,684 Posted Topics
Re: [QUOTE=serkan sendur;821923]You have select correct version from the iis options. I cant tell you the steps as i dont have iis installed now, but right click on it basically and in the properties pane you will see that you are able to choose from versions.[/QUOTE] Oh just ENABLE it, that's … | |
Re: Why don't you look up the answer in the solutions manual? Oh snap. | |
Re: Basically Visual Studio 2008 is a buggy piece of shit. It or your version control system could have put your project file into a buggy state, though. | |
Re: What are you asking? Are you confused about the operational semantics of C++, or are you asking about terminology? | |
Re: You want a struct with a double and a bool. You should never use inheritance except as a mechanism for polymorphism -- one reason being that 'putting stuff into structs' or classes (a.k.a. composition) is sufficient, another being that using inheritance leads to a complete clusterfuck of disorganization, when you're … | |
Re: This isn't a computer science question. | |
Re: It is possible to convert C++ code to mathematical expressions. And it's basically straightforward. I think your scheme for this is fairly straightforward, except that you seem to write the + operator somehow in ways that don't seem derived from common sense. If you were to ask for a mathematical … | |
Re: Narue, don't listen to those people. This is [b]not[/b] your decision to make. You [i]must[/i] come back and be moderative at this forum. It's your only option! Do it at the expense of all other parts of your life, including your insanity, if necessary! And in case you're not going … | |
Re: Respectable to whom? I wouldn't care about your degree at all -- I'd look for interesting projects, demonstrating intelligence, that you did during your time in school. Employers aren't going to say "oh, he has a respectable degree, he must be good" -- unless they're bad employers. Ultimately the question … | |
Re: calloc initializes the memory with zero. calloc = clear + alloc | |
Re: No, the answer is not that you're designing anything wrong. There is nothing wrong at all about mutually recursive data datatype definitions. There are inconveniences involved with circular data structures. And there were problems in your case. thingstealer, a forward declaration doesn't work? Could you paste the exact code at … | |
Re: If you're asking which is [i]better[/i], C# is inarguably better. There might be JVM languages like Scala or Clojure that are better than C#, though. | |
Re: [QUOTE=dickersonka;819779]Might want to use an arraylist instead, if its not a fixed length[/QUOTE] No, you'd want to use a [icode]List<int>[/icode]. If you wanted it to be variable length. Which for most people in most situations is wrong. | |
Re: [QUOTE=ddanbe;817600]Check out this: [CODE=csharp]string dateString; DateTime dateValue;[/CODE][/QUOTE] Why do you do this? This is not C. Predeclaration makes code less readable. | |
Re: Why would a polynomial class contain a string member? | |
Re: What is the purpose of this post? [QUOTE] For instance, although c# is a powerful language for developing many types of applications, it is impossible to create an operating system using c# because the language is not close the hardware. For such needs C is the language of choice as … | |
Re: You input the regex the same way you input the file name. What is the confusion here? | |
Re: [QUOTE=cscgal;817327]We can always only please the majority.[/QUOTE] Huh? You could also please a minority. | |
Re: String.Format? [code] string s = String.Format("{0:F2}", num); [/code] | |
Re: [QUOTE=Joe_Coolish;813602] I know that the x is of type User, and i can get that, but what I need to be able to do is pull the [B]x.AccountName[/B] and the [B]"first.last"[/B] from the lambda expression. Anyone have any idea how to do this?[/QUOTE] What do you mean by "pull"? You … | |
Re: You initialized the variable 'lowest' with the value of numbers[0]. Note that numbers[0] contains 0 at that point in time. See your problem? | |
Re: In your main function, pContext is NULL. And use code tags please. | |
Re: Your function Goodmorning is referring to some variable g1, and there is no variable named g1 in its scope. Learn how scope works in C# and you'll understand your problem. Edit: And I'm assuming all the typos happened because you typed this manually, and you're not actually having problems caused … | |
Re: This isn't really a databases question; this is a "I can't do even the simplest of programming" problem. | |
Read this; enjoy. [url]http://ociweb.com/jnb/jnbMar2009.html[/url] | |
Re: [QUOTE=Dan301978;813397]Unfortunately, at that time the MS book out then wasn't much good so I went on Amazon and found 'Head First C#' which the reviews said was an excellent introduction. So I've been studying that, unfortunately it doesn't look like it was the exact right stuff.[/QUOTE] What do you mean … | |
Re: You can test your own code by providing multiple example inputs and seeing what the output is. | |
Re: Presumably he has random access to the list; otherwise this problem would be impossible. The answer is pretty simple, and we're not just going to give you the answer. Here's a hint though: There obviously must be some way to find a value _greater_ than the one you're searching for, … | |
Re: Your function is static but it's referring to variables that are part of instances. | |
Re: Do you understand what recursive definitions are? The recursive definitions for 2 and 3 should come quite naturally. [QUOTE=bmcutler011;814417]1. Construct a recursive definition , where all variables are natural numbers. f(n, k) = k + (k + 1) + (k + 2) + ... + (k + n).[/quote] Hint: f(n, … | |
Re: Yes. Never override any implementation with a different implementation. Only override pure virtual functions. Use composition to parameterize your instances instead of using inheritance -- "never" use protected virtual functions, overriding them in subclasses, to parameterize a class's behavior. Instead, make a separate datatype that performs the method's computation and … | |
Re: Actually, ___ is easier than ___, because the syntax is less insane, and because my views on syntax should be shared by everybody ;) Edited: the original version of this post had languages in the spaces, some folks in this thread might evade the need for some necessary critical thinking. | |
Re: See [url]http://msdn.microsoft.com/en-us/library/acy3edy3(VS.80).aspx[/url] | |
Re: Saying that programming is easy is another way of saying that you've never worked with code written by other people. | |
Re: [QUOTE=3pid;814051]hey guys, I`m trying to overload operator = in my class in windows application`s form , I`m not sure what is my problem,would you take a look at my code?[/QUOTE] Your problem is really just that you're trying to write C++ instead of C#. | |
Re: [QUOTE=BobLewiston;813591]I understand HOW to use delegates, but in what situations would you actually use them?[/QUOTE] There are two places in this answer: first, consider any place that calls for an interface of the following form: [code] interface IBlah { Foo JustOneMethod(); } [/code] These interfaces happen [i]all[/i] the time. Instead … | |
| |
Re: This: [icode]((tailsucci+1)%MAXSIZE) !=headi[/icode] is wrong. Figure out why. One problem you have is that if tailsucci and headi are both equal, you can't tell whether the buffer is full or empty. You should store the number of elements in the buffer, instead of storing the value tailsucci, because that's an … | |
Re: [QUOTE=scarypajamas;804460]I'm not that exceptional of a math student, and I've been told that Information Technology requires less math then a CS degree.[/QUOTE] Are you having trouble with the math in your CS classes, or are you speculating that you might have trouble? [quote]What worries me though is how far a … | |
Re: Put the code you want in a function and call the function. You can't use goto statements across functions -- that wouldn't even make any sense. | |
Often I want to downrep somebody for being dumb, but them uprep them somewhere else to cancel out the downrep I just gave, because I'm not trying to be mean. But I can't! Please change things so that this can be done. One way is to limit the user to … | |
Re: You want to use [icode](AcctNum[0] != 'B' && AcctNum[0] != 'P')[/icode]. There's a difference between a character [icode]'b'[/icode] (which is really an integer between 0 and 255 or between -128 and 127) and the value [icode]"b"[/icode], which is really a pointer to an array with two characters, the first whose … | |
Re: Yes for some of them. You can read the DrScheme documentation to find out what they are. For the others, you can obviously write your own implementation using the functions cons, null?, car, and cdr. | |
Re: [QUOTE=C.G.P.;811157]then again daniweb seems like an utterly facist place to ask or say anything,[/QUOTE] No it isn't, except towards people who write like sperging imbeciles, making statements not grounded in reality. |
The End.