Search:

Type: Posts; User: HaLCy0n

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    12
    Views
    4,047

    I agree with Wraithan...do what you enjoy. I'm...

    I agree with Wraithan...do what you enjoy. I'm currently an intern doing coding and I'm making enough to get by on. All of my friends that already graduated started off making more than enough to...
  2. Replies
    5
    Views
    855

    On line 39: InRoot = (b*b)-(4*A*C); ...

    On line 39:

    InRoot = (b*b)-(4*A*C); // Gives ' and (each
    There is no such variable "b". You probably wanted to use B.

    For the error you get on the line with sqrt(), there are 3...
  3. Replies
    4
    Views
    1,568

    gcc will work with either or, but if you are...

    gcc will work with either or, but if you are going to use C++ programs, you need to specify the language like above, and also to link against -lstdc++. By calling it as g++, it does all of this for...
  4. Replies
    4
    Views
    1,495

    I personally use valgrind and gprof. I used...

    I personally use valgrind and gprof. I used electric fence in the past, but I don't think its being maintained any longer, and I believe it doesn't work if NPTL is enabled.
  5. Replies
    7
    Views
    896

    If you don't put brackets after your if/else...

    If you don't put brackets after your if/else statements, it will only execute what is on the next line. Try either adding the brackets, or remove the blank line inbetween. Also, your tests won't...
  6. Thread: C/C++ standard

    by HaLCy0n
    Replies
    3
    Views
    1,782

    Here's a link to the final draft of the C++...

    Here's a link to the final draft of the C++ standard, which is referred to as C98 I believe. C99 is for C, as was C89.
    http://www.kuzbass.ru:8086/docs/isocpp/
  7. In your situation, its unnecessary. That's why...

    In your situation, its unnecessary. That's why its a warning and not an error. The compiler doesn't exactly know what is going to happen, but it is possible for your function to not return...
  8. There are no else's in those functions, so if...

    There are no else's in those functions, so if something doesn't match any of the if statements, it falls off the end of the function without returning anything.
  9. Replies
    2
    Views
    1,715

    /usr/include is a good place to start looking.

    /usr/include is a good place to start looking.
  10. Replies
    17
    Views
    2,680

    Poll: Here's one Asus board with builtin video:...

    Here's one Asus board with builtin video:
    http://www.asus.com/products/mb/socketa/a7n8x-vm/overview.htm

    And here is a link to the Nvidia site about the nForce2, and the different variations (with...
  11. Replies
    35
    Views
    3,321

    Hey, I said some, sorry I forgot to add them :P ...

    Hey, I said some, sorry I forgot to add them :P I missed Disturbed as well :)
  12. Replies
    35
    Views
    3,321

    I listen to pretty much anything, but here's some...

    I listen to pretty much anything, but here's some of my favorites:

    DJ Tiesto
    HIM
    Kittie
    Korn
    30 Seconds to Mars
    Rammstein
    AFI
    Chevelle
  13. Replies
    17
    Views
    2,680

    Poll: You can also get the nForce2 with everything but...

    You can also get the nForce2 with everything but the onboard video, though I believe that it is alittle more expensive to get it without. That is how it is with the board I am getting. Since I have...
  14. Replies
    2
    Views
    752

    Concerning the BMP thing, I don't know sorry. ...

    Concerning the BMP thing, I don't know sorry. About the book, there is a thread about this about half way down the page: http://cboard.cprogramming.com/showthread.php?s=&threadid=40717
    Personally,...
  15. Replies
    7
    Views
    725

    Yes, it should write everything to the file, if...

    Yes, it should write everything to the file, if you want to display it on the screen as well, you'll have to cout it so it'll appear on the console. Also, its not a good practice to get into to...
  16. Replies
    17
    Views
    2,680

    Poll: I'm rebuilding my computer in a couple weeks. ...

    I'm rebuilding my computer in a couple weeks. I'm getting the Asus A7N8X, which has the nForce2 chipset. Looks like an amazing board, can't wait to get it :)
  17. Replies
    15
    Views
    1,744

    Remove the semicolons from after the }'s in your...

    Remove the semicolons from after the }'s in your code. They are not needed in these situations. Also, it looks like you have one extra } in your last function.
  18. Replies
    11
    Views
    997

    Re: ...?

    int main() //should be int
    {
    ifstream data("test.txt"); //should be ifstream
    for(int y=0;y<12;y++)//should be the size
    {
    for(int x=0;x<16;x++)//same here
    A few errors.
  19. Replies
    8
    Views
    1,145

    The include guards are there to ensure that...

    The include guards are there to ensure that nothing gets declared twice, incase your include file is included by other files as well.
  20. Replies
    11
    Views
    997

    I'm guessing you didn't #include . I...

    I'm guessing you didn't #include <iostream>. I believe that is where it is declared.
  21. Thread: IE6 Favorites

    by HaLCy0n
    Replies
    4
    Views
    972

    In XP, and probably 2k as well: \Documents And...

    In XP, and probably 2k as well: \Documents And Settings\Your User Name\Favorites. All of the favorites are stored as shortcuts in there.
  22. Replies
    11
    Views
    997

    Your syntax for the for loops is incorrect. It...

    Your syntax for the for loops is incorrect. It should be:

    for(int y=0;y<size;++y)
    {
    rest of your code
    }
    You put commas instead of semicolons, and you also go one farther than you...
  23. Replies
    15
    Views
    1,744

    You can do either of those, but only the line...

    You can do either of those, but only the line following the if/else/while/for/etc., will be executed. The brackets are there to enclose exactly what you want to be executed given a certain condition.
  24. Replies
    11
    Views
    1,275

    The GeForce 2 is definately better than your...

    The GeForce 2 is definately better than your TNT2, but like others said, you might want to drop down the CPU alittle and buy a better video card to go in there.
    (Shouldn't this have been on the...
  25. Replies
    31
    Views
    2,836

    It probably has something to do with how VS...

    It probably has something to do with how VS handles projects. Try just creating an empty C++ project, and doing it that way. That should work, and you shouldn't need tchar.h. I don't even know...
Results 1 to 25 of 78
Page 1 of 4 1 2 3 4