Search:

Type: Posts; User: Nathan the noob

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    2,887

    Well to do this you would require to push all...

    Well to do this you would require to push all characters on and ahead of the insertion 1 char ahead. Leaving you with a blank space to type in. This could be done with some work.
    If its I/O to a...
  2. Replies
    8
    Views
    1,076

    The function above shows how i init and use the...

    The function above shows how i init and use the variables.
  3. Replies
    8
    Views
    1,076

    No i meant its in the beginning of the header...

    No i meant its in the beginning of the header within both functions.
  4. Replies
    8
    Views
    1,076

    No those 2 variables are not global i declared...

    No those 2 variables are not global i declared them at the beginning of the header.
    The LEFTARROW RIGHTARROW ENTERKEY are global.
  5. Replies
    8
    Views
    1,076

    bool ItemBuyBox(string Itemname) { ...

    bool ItemBuyBox(string Itemname)
    {
    //Variable Setup//
    string Question = "Would you like to purchase";
    string Yes = "Yes";
    string No = "No";
    bool Buying = true;
    int...
  6. Replies
    8
    Views
    1,076

    Probably a really simple problem.

    if(Arrowkey == ENTERKEY)
    {
    bool Check = ItemBuyBox(Itemarray[Arrowkeyplace]);
    if(Check == false)
    {
    BuyBoxClear();
    }
    else if(Check == true)
    ...
  7. Replies
    5
    Views
    1,575

    Thats too bad, Well thanks for taking time to...

    Thats too bad, Well thanks for taking time to respond :D.
    And yes i will resort to that.
  8. Replies
    5
    Views
    1,575

    Yes, And im asking if their is a way to change...

    Yes, And im asking if their is a way to change it.

    Also, This is infact a strictly output function.
  9. Replies
    0
    Views
    974

    Console buffer problem?

    In the snippet of code below i have it output lines to form a box around the console window. But in the very last sqaure on row 26 column 80 when i place a sqaure it pushes
    the text down to the next...
  10. Replies
    5
    Views
    1,575

    Output Help. Buffer Size Maybe?

    In the snippet of code below i have it output lines to form a box around the console window. But in the very last sqaure on row 26 column 80 when i place a sqaure it pushes
    the text down to the next...
  11. So you want the user to type in how many lines...

    So you want the user to type in how many lines the diamond takes up?
    Like 5 would = too
    ----*
    ---**
    --***
    ---**
    ----*
  12. Replies
    16
    Views
    3,084

    Well thats not that much different from asking if...

    Well thats not that much different from asking if


    PlayerX = NUMBER;
    PlayerY = NUMBER;
    for(int i = 0;i < NUMBEROTILES;i++)
    {
    ProposedX = Number + 1;
    ProposedY = Number;
    ...
  13. Replies
    14
    Views
    2,887

    But Humans dont think like that humans have...

    But Humans dont think like that humans have "Tactics and Strategies" Which dont use math but instead implement certain plays to manipulate the situation. In chess a chess professional doesn't...
  14. Replies
    14
    Views
    2,887

    Well if the ai had a static memory of all the...

    Well if the ai had a static memory of all the cards in his deck and was aware of the amount of cards on the field in his hand and in his graveyard, He could comtemplate the chance of him getting a...
  15. Well first of all its unnecessary to put void as...

    Well first of all its unnecessary to put void as an argument in main. If the user fails to input a number between 1 and 10 a second time it is accepted input. You should change that to something like...
  16. Replies
    2
    Views
    1,341

    Bump

    Bump
    What im asking is how do i access more than the 16 standard colors.
  17. Replies
    2
    Views
    1,341

    Bit Encoded Colors.

    How do i allow my console to accept true colors?

    And How do the byte encoded colors work like


    char Color = 0xF F A 5 F F
    | | | | | |
    1 2 3 4 5 6 Bits?...
  18. Replies
    1
    Views
    892

    Buffer Problem Maybe?

    void ReadString(string Text, int speed)
    {
    int Tet = Text.size();
    int i = 0;
    for(i = 0;i < Tet;i++)
    {
    cout << Text[i];
    Sleep(speed);
    if(kbhit())
    {
  19. Replies
    9
    Views
    2,434

    Oh but above you said i would need to check both...

    Oh but above you said i would need to check both incase. :( And Lol i just made it so when ch = -32 ch = '-' and that worked :D.

    When is ch not 0 and -32? PS thank you very much :D.
  20. Replies
    9
    Views
    2,434

    while(choice != 'f' && choice != 'm') ...

    while(choice != 'f' && choice != 'm')
    {
    if(kbhit())
    {
    choice = getch();
    ...
  21. Replies
    9
    Views
    2,434

    If i remove it from the eqaution and press Any of...

    If i remove it from the eqaution and press Any of the 4 arrows or home end page up/down or delete i get a letter of the alphabet. Im on windows xp.

    Like Left arrow = K.
    Right Arrow = M.
  22. Replies
    9
    Views
    2,434

    I want the user to either press Capital or small...

    I want the user to either press Capital or small F/M but they can press right arrow and it outputs an m i want to know how to avoid this.
  23. Replies
    9
    Views
    2,434

    Hello? A little help?

    Hello? A little help?
  24. Replies
    9
    Views
    2,434

    How to ignore arrow key pressing

    while(choice != 'f' && choice != 'm')
    {
    if(kbhit())
    {
    choice = getch();
    ...
  25. Replies
    2
    Views
    1,068

    I have just realized that this problem is not...

    I have just realized that this problem is not within the eqaution for if i change the values of all the numbers before eqaution it comes out as expected. :( Now to bug search sorry for the false...
Results 1 to 25 of 115
Page 1 of 5 1 2 3 4