Search:

Type: Posts; User: The Gweech

Page 1 of 4 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,093

    I totaly ballsed up typing in the example and...

    I totaly ballsed up typing in the example and have now got it working.
    Thanks.
  2. Replies
    3
    Views
    1,093

    thanks for the suggestion but that still hasnt...

    thanks for the suggestion but that still hasnt worked . Any other suggestions.

    It is also worth note that this is the first time i have tried using a resource file in a windows program so chances...
  3. Replies
    3
    Views
    1,093

    help with menus example?

    I am working my way through "Windows 2000 programing from the ground up" .After typing in a basic example of how to use menus (using a resource file, a header file and a main file)
    i receive an...
  4. Replies
    2
    Views
    790

    thanks for that korn1699. I can sod off to bed...

    thanks for that korn1699. I can sod off to bed now!
  5. Replies
    2
    Views
    790

    easy comparison question

    i am making a basic fruit machine program and i require this kinda thing



    if(reel1 == reel2 == reel3)
    {
    cout << "you win!" << '\n';
    }

    but this doesnt work.
  6. Replies
    4
    Views
    1,235

    Geo Fry that is exactly what i mean:) So far i...

    Geo Fry that is exactly what i mean:)
    So far i have only seen tic-tac-toe and connect four in c++ console mode as far as games are concerned can you do space invaders and tetris or pacman?
  7. Replies
    4
    Views
    1,235

    console games

    Hello people,

    I set out a couple of years ago learning to program games , and people told me i had to learn console mode c++ first before getting into the pretty graphics and what not. I now near...
  8. Replies
    2
    Views
    907

    atoi related question

    the below program ends when a letter is input because any non numerical value is converted to 0. What if i want to be able to type in '0' and the program not to end . Can anyone help me out?


    ...
  9. Replies
    7
    Views
    2,403

    Does anyone know of a good link that explains the...

    Does anyone know of a good link that explains the inner workings of the pc , explaining how the Stack , Cpu , registers and what not work together .
    An easy explanation if possible.

    Thanks...
  10. Replies
    7
    Views
    2,403

    How data is stored in memory

    Can someone please explain why the memory addresses are getting lower in the below code.



    int main(void)
    {
    int num1 = 1;
    int num2 = 2;
    int num3 = 3;
    int num4 = 4;
  11. Replies
    4
    Views
    955

    i dont want to initialize a value into the char...

    i dont want to initialize a value into the char pointer there and then like this


    char *word2 = "s";

    i want something like this


    char* word2 = {0}; // this doesnt work
  12. Replies
    4
    Views
    955

    pointer to char question

    I am trying to cement my knowledge of pointers ,with very little success at the moment . I want to do the same with the second paragraph of code what i managed with the first . I am obviously using...
  13. Replies
    2
    Views
    862

    Thanks Salem .

    Thanks Salem .
  14. Replies
    2
    Views
    862

    easy array of pointers question

    char* names[] =

    {
    {"Mark"},
    {"Nikki"}
    };

    char letter = *names[0];
    char letter2 = *names[1];
    cout << letter << endl;
  15. Replies
    8
    Views
    1,051

    There has been a few constructive posts there and...

    There has been a few constructive posts there and i have built a loose conclusion.

    Inheritance, operator overloading, virtual functions seem to be used in large projects if not mainly...
  16. Replies
    8
    Views
    1,051

    How much do people know?

    Okay a little background about where i stand at the moment . I am relatively happy with functions,classes ,objects ,constructors ,pointers , references . I think you will find that is about day 9 in...
  17. Replies
    4
    Views
    886

    Yeah i appreciate that but i thought a compiler...

    Yeah i appreciate that but i thought a compiler would at least be able to count the number of news in a program and the number of deletes and if the numbers dont match issue a warning.
  18. Replies
    4
    Views
    886

    dynamic memory

    Just been reading about the new and delete keywords and i made the following simple code



    // dynamic memory allocation

    #include<iostream>
    using namespace std;

    int main(void)
  19. Replies
    8
    Views
    1,073

    so basicly if a class needs 20 parameters then so...

    so basicly if a class needs 20 parameters then so be it.

    I just thought that either my program design would be at fault to use that many parameters and that there would be an alternative.
  20. Replies
    8
    Views
    1,073

    class constructor help needed

    I am trying to get the hang of classes and I am using football management as the context.

    I have the following code so for



    // classes again

    #include<iostream>
    #include<string.h>
  21. Replies
    9
    Views
    1,156

    Troll King the book you mentioned is it for...

    Troll King the book you mentioned is it for advanced users
    of c++ or would a newbie be okay ( I know the syntax of c++)

    I was thinking of the subject of a football manager game
    and how classes...
  22. Replies
    9
    Views
    1,156

    Thanks FillYourBrain that has put another few...

    Thanks FillYourBrain that has put another few pieces of the
    puzzle into place. A big problem for me is when does something
    qualify to become a class.

    What would help me if someone could tell...
  23. Replies
    9
    Views
    1,156

    Transition between PP and OOP

    I am pretty comfortable with functions , loops and decision making
    aspects of c++ and have written some very basic programs
    using these techniques.

    Now i am trying to get the hang of OOP and I...
  24. Replies
    5
    Views
    2,210

    Thanks Fordy thats the answer i was hoping for!

    Thanks Fordy thats the answer i was hoping for!
  25. Replies
    5
    Views
    2,210

    Guys, Are unions the kind of things i can...

    Guys,

    Are unions the kind of things i can worry about way down the
    track when i am comfortable with more important stuff like
    inheritance , virtual functions and operator overloading ?
Results 1 to 25 of 84
Page 1 of 4 1 2 3 4