Search:

Type: Posts; User: XSquared

Page 1 of 20 1 2 3 4

Search: Search took 0.07 seconds; generated 27 minute(s) ago.

  1. Thread: VS2005 to gcc

    by XSquared
    Replies
    6
    Views
    1,508

    The a.out file is an executable and means that...

    The a.out file is an executable and means that your code compiled correctly. You can specify the output binary file using the '-o' flag, i.e. 'g++ -o myprogram main.cpp'.

    Edit: gcc compiles your...
  2. Replies
    40
    Views
    7,945

    Hmm, I started programming back in grade 5...

    Hmm, I started programming back in grade 5 (~1995-1996, that seems like a looong time ago now) with QBASIC, then moved on to VB6. I didn't pick up C/C++ until 2002, which is when I started hanging...
  3. Thread: c irc bot

    by XSquared
    Replies
    6
    Views
    4,930

    All IRC commands must be terminated with \r\n.

    All IRC commands must be terminated with \r\n.
  4. Replies
    62
    Views
    13,114

    I can't drink caffeine, due to it giving me...

    I can't drink caffeine, due to it giving me migraines. And in my experience, it's a regular occurence at the CS club at my university for folks to randomly go off for beer in the afternoons....
  5. Replies
    62
    Views
    13,114

    http://xkcd.com/323/ That is all.

    http://xkcd.com/323/

    That is all.
  6. Replies
    9
    Views
    4,182

    I'd say that's a bug in the VS STL. I don't have...

    I'd say that's a bug in the VS STL. I don't have immediate access to the C++ standard, but size() is supposed to return the number of elements in the vector, which is zero if none are explicitly...
  7. Replies
    13
    Views
    1,969

    Aye, on gcc-4.1.2, they both create the same...

    Aye, on gcc-4.1.2, they both create the same assembly code, I'd assume most other modern compilers would do the same.
  8. I think it really depends on what type of job...

    I think it really depends on what type of job you're aiming for. If you're aiming for some type of graphics/game-related job, a raytracer would likely help. If you're more into systems/network stuff,...
  9. Replies
    15
    Views
    4,866

    In the Derived class, the int parameter to goo()...

    In the Derived class, the int parameter to goo() is missing the const keyword.
  10. Replies
    42
    Views
    6,106

    Yep. I believe I posted a link to the talk a...

    Yep. I believe I posted a link to the talk a while back.
  11. Replies
    42
    Views
    6,106

    Aah. He had mentioned it briefly at a talk he...

    Aah. He had mentioned it briefly at a talk he gave at my university over the summer, and I just looked it up and it seems that they've put it off into TRs past C++0x.
  12. Replies
    42
    Views
    6,106

    If I recall, Stroustrup mentioned that C++0x was...

    If I recall, Stroustrup mentioned that C++0x was going to have some form of garbage collection in it (togglable at the compiler level).
  13. Replies
    16
    Views
    15,935

    std::ifstream foo(argv[1]); std::istream...

    std::ifstream foo(argv[1]);
    std::istream fin(std::cin.rdbuf());

    if(foo)
    {
    fin.rdbuf(foo.rdbuf());
    }
  14. Replies
    13
    Views
    1,354

    n%k will always be < k, thus dividing the result...

    n&#37;k will always be < k, thus dividing the result by k will be < 1, and thus rounded to 0.
  15. Replies
    6
    Views
    2,007

    Most Linksys routers have a "DMZ" setting...

    Most Linksys routers have a "DMZ" setting available, where you can tell it to forward all incoming connections from the WAN interface (the 10.x.x.x IP) to a specific IP on your network. That should...
  16. Replies
    14
    Views
    7,051

    Eh, for us it isn't that bad. Just 1500-2000...

    Eh, for us it isn't that bad. Just 1500-2000 words analyzing something for the company we did a co-op term at. Luckily for me, my boss already filled out the evaluation form, so now I just need to...
  17. Replies
    14
    Views
    7,051

    Yeah, at work we used Doxygen as well for our...

    Yeah, at work we used Doxygen as well for our customer-facing API docs. And thanks for reminding me to write my work report, Jeff. :P
  18. Replies
    12
    Views
    2,082

    In your example, things such as weap1name are...

    In your example, things such as weap1name are only declared as parameters in your class constructor, not as actual instance variables. You'll need to add declarations for them within the class itself.
  19. Replies
    12
    Views
    2,082

    Could you post some minimal code that reproduces...

    Could you post some minimal code that reproduces the issue, please?
  20. Replies
    2
    Views
    1,757

    This is likely caused by the output from printf...

    This is likely caused by the output from printf being buffered before appearing on the screen. Try putting fflush(stdout) after the printf calls and see if that changes anything.
  21. Replies
    3
    Views
    5,906

    Another way of doing it (which should be more...

    Another way of doing it (which should be more portable than QuestionC's second method) is to set each directory as a target:


    default: dirA dirB

    dirA:
    mkdir dirA

    dirB:
    mkdir dirB
  22. Replies
    19
    Views
    5,879

    Turns out that Texas A&M won't allow videos of...

    Turns out that Texas A&M won't allow videos of their profs lectures to be posted online, and apparently this type of lecture is included in that rule.
  23. Replies
    19
    Views
    5,879

    It's unfortunate that we won't be able to post...

    It's unfortunate that we won't be able to post the video of the talk like we do for the rest of the events that we run, because it was definitely a neat talk.
  24. Replies
    19
    Views
    5,879

    Actually, it was about 10 of us from the CSC...

    Actually, it was about 10 of us from the CSC (folks who ran the event) who ended up going out with Bjarne to the Bomber after the talk for about an hour. Really cool guy.
  25. Replies
    19
    Views
    5,879

    The talk was quite interesting. He clarified that...

    The talk was quite interesting. He clarified that it isn't yet C++09, but he hopes that it will become that (if not, C++0xA). He did mention the topic of smart pointers, but also mentioned that they...
Results 1 to 25 of 479
Page 1 of 20 1 2 3 4