Page 3 of 3 FirstFirst 123
Results 21 to 26 of 26

Thread: What's wrong with this code?

  1. #21
    Join Date
    Jul 2002
    Posts
    1,395
    Rep Power
    0

    Default

    Last edited by carey; Oct 17, 2012 at 01:14 PM.

  2. #22
    Join Date
    Jul 2002
    Posts
    1,395
    Rep Power
    0

    Default

    Quote Originally Posted by jayrulez View Post
    The friend function should be outside the inventory item class.
    In trying to have code written to be like composing for a client, I have been using lint. For C++ I use cpplint. Here is the reference on which cpplint is based.

    One line says "Friend declarations should always be in the private section ..." (http://google-styleguide.googlecode....laration_Order)

  3. #23
    Join Date
    Jul 2002
    Posts
    1,395
    Rep Power
    0

    Default

    We started the final 2 coursework. I am "assembling the parts" for the source. Am at here now. Going to make as many of the classes as I can before we start work. But, is there some way to make the stock table cleaner and prettier?

  4. #24
    Join Date
    Jul 2002
    Posts
    1,395
    Rep Power
    0

    Default

    I hope my using these posts in a bloglike manner is not a bother.

    My laptop is at the shop. It got sat on. I hope my modified apps and OSes on my flash drive will satisfice the loss.

    Now, I am trying to program llvm/clang 3.1 into Precise Puppy. Took about 2 hours to update the databases.

    Also, will try Tinycore come monday, to see if it will allow such installs. Hope it does.

  5. #25
    Join Date
    Jul 2002
    Posts
    1,395
    Rep Power
    0

    Default 'Tis keeping me up at nite ...

    https://github.com/googl/interests/b...W2/bookshop.cc is broken. I am giving 5 more days to this thing before I move on to the more troublesome coursework 3...

  6. #26
    Join Date
    Sep 2008
    Posts
    59
    Rep Power
    0

    Default

    I would buy software off the shelf and use it , trying to reinvent the wheel here

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •