Thread: advanced board

  1. #16
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    I have found that the greatest revalations come from taking on a project in which you know nothing about.

    I strongly suggest trying to create a Chip8 emulator.
    Do a google search for the Chip8 instruction set and start from there.

    Not only does it bond you with your language but you get a great understanding how computers work in general.
    What is C++?

  2. #17
    Registered User jlou's Avatar
    Join Date
    Jul 2003
    Posts
    1,090
    Laserve, I understand you completely. I read the Google version of those newsgroups. I also like CodeGuru.com's forums for more advanced topics. I prefer their Non-Visual C++ forum.

    This is not a slight against this board, but thankfully, each place has its own qualities.

  3. #18
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    We get tired of trolling through those kinds of posts too. I rarely ever post on the C/C++ board's because of this. So please if you have a more advanced question other than 'how do I wait for a keypress' please ask it. We would love to help.

    If you want more advanced stuff we do have a game programming board and there are quite a great number of advanced projects going on right now. But get ready for some major discussions about 3D math, vertexes, lighting, etc.

    I personally reserve my comments for this board. It's just too hard to build your rep on other boards and I don't really want to go through all of those discussions again.

  4. #19
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >but I am getting a little bored with all the beginner/homework questions
    Sorry, but this forum caters to beginners and intermediate level learners. There's the occasional advanced question, and we make the most of it, but for the most part you'll see basic language questions or homework.

    >Therefore, does anybody know a more advanced C/C++ board without resorting to newsgroups?
    The newsgroups are where you want to be for the advanced stuff. Though if you have a question, feel free to ask it here. I for one very much enjoy thought provoking questions. They are so rare.
    My best code is written with the delete key.

  5. #20
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    Prelude,

    If you were a Hot Dog, would you eat yourself?

  6. #21
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    >>sure, heres some C code. compiles for me

    I hope that's a joke because you will get a few members here on your back for using void main
    "Think not but that I know these things; or think
    I know them not: not therefore am I short
    Of knowing what I ought."
    -John Milton, Paradise Regained (1671)

    "Work hard and it might happen."
    -XSquared

  7. #22
    i dont know Vicious's Avatar
    Join Date
    May 2002
    Posts
    1,200
    I assumed it was a joke considering he wants advanced discussion and that was the bit of code he posted.

    Either he was joking or wants "intermediate" discussion.
    What is C++?

  8. #23
    Registered User
    Join Date
    Jun 2004
    Posts
    201
    Quote Originally Posted by JaWiB
    >>sure, heres some C code. compiles for me

    I hope that's a joke because you will get a few members here on your back for using void main
    Watch the smiley with its tongue sticking out!

    Oh, find the other errors pls.

    When I have a question, advanced or not, I'll be sure to post here. In the meantime I'll be reading comp.lang.c++.moderated through google....thanks for the info.

  9. #24
    Registered User
    Join Date
    Jul 2004
    Posts
    101
    Code:
    void main(int argc, char* argv[])
    {
        printf("%d\n", x());
        getchar();
    }
    
    int x(void)
    {
        return rand() % 10;
    }
    >Oh, find the other errors pls.
    Two missing headers, four functions without declarations and one of them a variadic function, main returns void and two unused parameters.

    Possible logical errors consist of using modulus with rand, and neglecting to seed the random number generator.

    If one is exceedingly pedantic, x should be declared static and the return values of printf and getchar cast to void so as to specify that the return values are ignored on purpose.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need a second opinion - code error and i cant see it
    By bigfootneedhelp in forum C Programming
    Replies: 19
    Last Post: 10-25-2007, 06:02 AM
  2. Constructor problem
    By rebel in forum C++ Programming
    Replies: 22
    Last Post: 01-11-2006, 06:45 AM
  3. function trouble
    By rebel in forum C++ Programming
    Replies: 4
    Last Post: 12-21-2005, 05:23 AM
  4. Pick a number....
    By Salem in forum A Brief History of Cprogramming.com
    Replies: 39
    Last Post: 01-19-2003, 07:27 AM