Search:

Type: Posts; User: IfYouSaySo

Page 1 of 18 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    24
    Views
    4,291

    If I was your professor I wouldn't have given you...

    If I was your professor I wouldn't have given you points back on the first one. You assumed that cin was the same as std::cin, but it does not have to be, and if it wasn't there is nothing that says...
  2. Replies
    19
    Views
    2,672

    I've written apps both ways (MFC and C#) and I...

    I've written apps both ways (MFC and C#) and I can say I would never willingly choose MFC for a future windows GUI app. C# is just much much easier to use.

    BTW...just because something is easy to...
  3. Replies
    19
    Views
    2,672

    I have no idea why someone would recommend MFC or...

    I have no idea why someone would recommend MFC or Win32 over C#. C# is easily more powerful for building windows-only apps, and especially GUI apps. There really is no comparison. And if you by...
  4. Replies
    20
    Views
    8,771

    I am not 100% sure that I'm correct, but my...

    I am not 100% sure that I'm correct, but my understanding was that only stdafx.h (or whatever header file you call out in the Visual Studio settings) will be precompiled, and it must be the first...
  5. Replies
    8
    Views
    1,414

    You should definitely spend the time to learn the...

    You should definitely spend the time to learn the basics before diving into pimpl idiom.

    Your constructor should pass by reference also if you're passing a big object. If you do not intend to...
  6. Replies
    6
    Views
    1,040

    have you considered learning to write a makefile?...

    have you considered learning to write a makefile? Here are some keywords to search for: automake, autoconf. It takes all of 1 hour to learn the basics, and your life will be much easier.
  7. Replies
    8
    Views
    1,414

    I'm not convinced you understand what pimpl is...

    I'm not convinced you understand what pimpl is all about. My understanding is that it is for speeding up compile times. In your example, Hat will always need to be recompiled when Cat changes. It is...
  8. Replies
    4
    Views
    1,303

    when I first started programming, I already knew...

    when I first started programming, I already knew a program that I wanted to write. It helps a lot, because it gives you something to practice on. It turns out to be a lot more fun to write something...
  9. Replies
    4
    Views
    1,303

    buy a book and have an inspiration to write...

    buy a book and have an inspiration to write something.
  10. Replies
    8
    Views
    1,427

    What does splice do? If it modifies mList (it...

    What does splice do? If it modifies mList (it appears that it might) then it is a mistake, because it would (possibly) invalidate your iterator. The basic rule is if you modify a container any...
  11. Replies
    29
    Views
    2,818

    I just wanted to say that the arguments about...

    I just wanted to say that the arguments about financial cost that I've seen here don't make much sense. The reason that you get health insurance, is not so that you can get a $20 item cheaper. It's...
  12. This probably isn't the solution you were looking...

    This probably isn't the solution you were looking for, but there's a 3rd party component that does this pretty well:
    http://www.divelements.com/net/controls/sandbar/gallery/
  13. Replies
    7
    Views
    8,552

    Not sure if Alpha Beta is the correct algorithm...

    Not sure if Alpha Beta is the correct algorithm for Backgammon. Because isn't alpha beta for turn-taking perfect information games? Backgammon is turn-taking, but it is not a perfect information...
  14. Replies
    15
    Views
    2,716

    They're more machine now than man; twisted and...

    They're more machine now than man; twisted and evil.
  15. Replies
    15
    Views
    2,716

    It's a good thing they require 'god' and not...

    It's a good thing they require 'god' and not 'God'. Because if I understand it right, there are plenty of gods running around, for example in the hindu religion, yet there is only one God (just ask a...
  16. Replies
    1
    Views
    1,141

    Nevermind...I figured it out. Add some code to...

    Nevermind...I figured it out. Add some code to /etc/rc.d/rc.sysinit.
  17. Replies
    1
    Views
    1,141

    NIS client configuration on Fedora 5

    I'm having a problem with NIS (client) configuration on a FC5 machine. What I'm seeing is, ypbind is in the startup sequence for xinetd. The /etc/yp.conf file is present and configured correctly,...
  18. Spot on? I don't know. I usually find that I have...

    Spot on? I don't know. I usually find that I have to work on keeping my mouth shut when a manager pig-headedly wants me to use the wrong tool for the job, and knows nothing (and cares nothing) about...
  19. Replies
    14
    Views
    2,682

    It's all perspective. I code in VB.NET, and it...

    It's all perspective. I code in VB.NET, and it seems like all the examples are in C#. But yes, I think both languages are pretty easy to read...it doesn't take much work to translate C# code to VB...
  20. Replies
    14
    Views
    2,682

    I like VB.NET for the same reasons. Something...

    I like VB.NET for the same reasons.

    Something funny about C# and VB.NET that I've realized though. They made both C# and VB.NET, which are basically the same language (they do exactly the same...
  21. Replies
    55
    Views
    3,871

    My S-10 is also my first new car. It has been...

    My S-10 is also my first new car. It has been great; virtually no problems. Except the seats. Both the handles to recline the seats are plastic and broke off fairly early on. I never bothered to...
  22. Replies
    55
    Views
    3,871

    98 Chevy S-10 pickup. But I really want a Jeep...

    98 Chevy S-10 pickup. But I really want a Jeep Wrangler. With a soft top. I'm just afraid that I'll be disappointed. Maybe it won't be as much fun as I think it will be.
  23. Replies
    9
    Views
    4,355

    Well I still think alpha-beta is a good idea....

    Well I still think alpha-beta is a good idea. It's really not that difficult once you have min-max in place. And consider it this way: If you get your move-order heuristic all wrong, the worst case...
  24. Replies
    9
    Views
    4,355

    Also, it looks like the value of any given piece...

    Also, it looks like the value of any given piece needs to be modified by some mobility factor. Because for example, a ninny that can only move in two directions is worth much less than a ninny that...
  25. Replies
    9
    Views
    4,355

    Yes. That is what alpha-beta does for you. It is...

    Yes. That is what alpha-beta does for you. It is an optimization over min-max. And a depth of 2 seems pretty bad...and 5 seconds should actually be quite a lot of time...I would think you could get...
Results 1 to 25 of 447
Page 1 of 18 1 2 3 4