Search:

Type: Posts; User: nbk

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,064

    PJ, the number of diagnols in a polygon. My...

    PJ, the number of diagnols in a polygon. My description wasn't clear enough. Here >>



    #include <iostream>

    int findNumber(int);

    int main()
    {
  2. Replies
    4
    Views
    1,064

    Better algorithm for finding diagnols

    I have made a program I created a couple months ago(December). I just opened it up again. I noticed it takes a very long time to calculate higher sided polygons(of course). What algorithm would you...
  3. Thread: cool kid

    by nbk
    Replies
    2
    Views
    2,571

    Yeah, he's pretty fo' sheezy with the flow o' 'is...

    Yeah, he's pretty fo' sheezy with the flow o' 'is rhymes, eh? Pretty fun, actually.
  4. Replies
    13
    Views
    1,385

    You really do need to post some details. What are...

    You really do need to post some details. What are you having problems with(give us the compiler message)?

    Also - if you don't know what you are doing, reread the material you are studying, or go...
  5. Replies
    13
    Views
    1,385

    Constructors initialize variables at the creation...

    Constructors initialize variables at the creation of the class.

    for instance:



    class town
    {
    public:
    int population;
  6. Thread: binary search tree

    by nbk
    Replies
    5
    Views
    1,201

    int main is standard(there is more too it). Try...

    int main is standard(there is more too it). Try doing a search, and you will see many threads on this.
  7. Replies
    7
    Views
    3,977

    Half Life 2 book(and programming)

    For those who haven't heard-

    Valve will release the source for Half Life 2(as they did for HL1).

    Prima is publishing a book on coding mods for the game(or it explains the source code).
    ...
  8. Replies
    14
    Views
    2,000

    Umm... a book.... and Dev-C++( Dev-C++...

    Umm... a book.... and Dev-C++( Dev-C++ ) I won't recommend a book since I can't... but I'm currently reading the 21 days book(Which is awesome compared to C++ for Dummies).

    :o
  9. Replies
    12
    Views
    2,100

    First off, the getAddress is declared inline and...

    First off, the getAddress is declared inline and in the .h file...

    *Had to leave, sorry for no big description*

    (now that I think of it, the inline, I don't think, would be a problem)
  10. Replies
    10
    Views
    2,578

    #include using namespace std; class...

    #include <iostream>
    using namespace std;
    class brian
    {
    public:
    int height;
    };
    void functionToSetBrianHeight(brian &);

    int main()
  11. Thread: Borland or DevC++?

    by nbk
    Replies
    17
    Views
    2,982

    Child, any built in c++ commands(int, class,...

    Child, any built in c++ commands(int, class, struct, float, enum, this, while, for, to name some of the many(30-50, I think)) are built into c++ - it's what c++ is made of. String isn't a built in...
  12. Replies
    12
    Views
    4,669

    I think he means since you don't have (m)any...

    I think he means since you don't have (m)any comments... well, add some!
  13. Replies
    12
    Views
    4,669

    For the extremely little stuff, discription is...

    For the extremely little stuff, discription is spelled description, and genera is spelled genre. (I know you aren't worried about that, just pointion it out ^-^ )
  14. Thread: Dev C++

    by nbk
    Replies
    6
    Views
    1,454

    I don't see a create button. Hit f9 to compile...

    I don't see a create button. Hit f9 to compile and run, as Emmanuel said. Make sure it's fully updated, too(4.9.9.9)

    :o
  15. Thread: The Village

    by nbk
    Replies
    23
    Views
    7,452

    What's it about? From the commercial, it looks...

    What's it about? From the commercial, it looks like a bunch of leaves fly :o doesn't look good at all from the commercial to me...
  16. Replies
    24
    Views
    4,074

    I meant an instance :eek: (wasn't explained...

    I meant an instance :eek:

    (wasn't explained right)
    joe.so = "sas"

    There ya go :)
  17. Replies
    9
    Views
    1,408

    Princeton, where'd the add and subtract funtions...

    Princeton, where'd the add and subtract funtions go? :D



    #include <stdio.h>
    #include <stdlib.h>

    int multiply(long x, long y);
    int divide(long x, long y);
    int add(long x, long y);
  18. Thread: Farewell

    by nbk
    Replies
    33
    Views
    8,218

    Sad to hear it(didn't know before.) Have fun!(but...

    Sad to hear it(didn't know before.) Have fun!(but hey, when you come back, you can say you've been a member for 7 long years :))
  19. Replies
    16
    Views
    6,475

    C++ Dead(disuss, Jesse Liberty forums)

    This is taken from Jesse Liberty's forums(author of Teach Yourself C++ in 21 days). I thought this was interesting.

    http://forums.delphiforums.com/LibertyBooks/messages/?msg=763.1
  20. Replies
    36
    Views
    5,509

    It's about personal style. The third is used...

    It's about personal style. The third is used mainly to get into the habit(no, it's only cause it's more professional looking :p ) I like the first one :D
  21. Replies
    2
    Views
    1,227

    Through C++, the registry, or .reg files?

    Through C++, the registry, or .reg files?
  22. Replies
    9
    Views
    1,408

    ]int add(long x, long y); // remove semi-colon {...

    ]int add(long x, long y); // remove semi-colon
    {



    multiply(x,y);
    divide(x,y);
    add(x,y);
    substract(x,y); //spelled wrong
  23. Replies
    36
    Views
    4,348

    I don't understand why it would, either. Is the...

    I don't understand why it would, either. Is the code fully compilable(and is that an error or warning)

    Also, post the code you have right now.
  24. Replies
    36
    Views
    4,348

    Looking at the code, you have a function for...

    Looking at the code, you have a function for incrementing minutes, now just make functions for hours and seconds
  25. Replies
    43
    Views
    8,302

    I got the space and speed.... WOW, whens the low...

    I got the space and speed.... WOW, whens the low res version coming out :rolleyes:
Results 1 to 25 of 47
Page 1 of 2 1 2