CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: avda5

Search: Search took 0.04 seconds.

  1. Replies
    3
    Views
    5,152

    Max and Min using arrays and pointers

    I'm new in C++, and I have been trying to come with a code to get the max and min value of and array. The program prompt the user to enter a series of integers. I also using pointers.

    Here is my...
  2. Replies
    4
    Views
    1,887

    Min and Max value of an array

    I've trying to finish this code for a while, but now I'm stock. I want to get the maximum and minimum value of an array using a for loop to initialize the array. The code work for most part, but the...
  3. Replies
    6
    Views
    1,189

    Re: array bool validation

    Thank you so much for your help
  4. Replies
    6
    Views
    1,189

    Re: array bool validation

    No, I dont want an endless loop, when I assign 'X' or 'Y' to that array at [a][b]. That is why I need to validate these coordinates with in the range of the board, and if the place is already...
  5. Replies
    6
    Views
    1,189

    Re: array bool validation

    I re-edit it,
  6. Replies
    6
    Views
    1,189

    array bool validation

    In my TicTacToe code, I need to take two values(coordinates) and decided if they are valid.
    Valid coordinates are those with in the range of the board limits and not already occupied.
    I used bool...
  7. Replies
    4
    Views
    611

    Re: If Else statement issue

    Thank you !
  8. Replies
    3
    Views
    774

    Re: If Else statement issue

    I made the changes you recommended, and the code is running beatuful!.

    Thank you
  9. Replies
    4
    Views
    611

    Re: If Else statement issue

    I change it to :

    cin >>a;
    cin >>b;

    and wokrs perfect,however, in my assignment the two values should be display one besides the othe. Something like:

    Enter square coodinates: 1 2
  10. Replies
    3
    Views
    774

    If Else statement issue

    I've been working with a TicTacToe code , and suddenly I got stock on my If else statement
    I show my code below, for some reason my if else statement "always" go to else. I have put the { and } in...
  11. Replies
    4
    Views
    611

    If Else statement issue

    I've been working with a TicTacToe code , and suddenly I got stock on my If else statement
    I show my code below, for some reason my if else statement "always" go to else. I have placed the { and }...
  12. Replies
    3
    Views
    830

    Re: Function Overload

    Thank you guys, I applied both suggestions and they really worked !. The program runs smoothly.
    Now, I have to work a little bit with the switch but I think that would be easy.


    Again thank...
  13. Replies
    3
    Views
    830

    Function Overload

    I'm trying to make this code work. What I want is to get an input from the user( in this case the radius of a circle) then print out the result in two different ways, and ask the users if they want...
Results 1 to 13 of 13





Click Here to Expand Forum to Full Width

Featured