Search:

Type: Posts; User: bartinla

Search: Search took 0.02 seconds.

  1. store a data, and do not allow it to be updated

    Hey guys,

    That may sound stupid, but I am programming a microcontroller in C. I need to get the values of 1 signal on Port 0 , and compare it to another signal.
    one of the signal (A) is causing...
  2. Replies
    3
    Views
    12,774

    difference between getline and cin.getline

    Hey guys,
    Can someone tell me the difference between cin.getline and getline?
    I'm kinda familiar with cin.getline but not with getline....can you also tell me the exact syntax?
    thanks for your...
  3. Replies
    7
    Views
    1,458

    I use Dev-C++...isn't it working on your...

    I use Dev-C++...isn't it working on your compiler? I used that kind of 2d array in all my code and the game is working perfectly... can u let me know if it's working on your compiler or not? so that...
  4. Replies
    7
    Views
    1,458

    thanks

    thanks a lot..it's working perfectly now... and I understood the use of cin.ignore()

    bart

    PS: it was compiling correcty before (beside the semi colon that I forgot to type when I posted them...
  5. Replies
    7
    Views
    1,458

    strings and array

    I'm sure that I'm going to sound dumb on that one but I can't figure out why this simple code isn't working correctly. I just ask the name of the players and put them in an array. The problem is when...
  6. Replies
    0
    Views
    816

    allocation for a 2d array

    hey everyone, I wrote a code about a die game that is working very well, but I decided to use the class to learn more about it... so I just used what I wrote before but using the...
  7. Replies
    2
    Views
    880

    Unfortunately it doesn't change anything :-( I...

    Unfortunately it doesn't change anything :-( I don't understand why I got the right result in the array in the first loop, and as soon as I go to the next step the result are messed up, and the array...
  8. Replies
    2
    Views
    880

    class and object

    Hello everyone,

    I wrote a code about a die game, and it works very well, but was using twice the same kinda function, so I decide to re write the porgram using class... The code is compiled but I...
  9. Replies
    2
    Views
    2,204

    thanks

    Thanks for your help...it's working great now :D
  10. Replies
    2
    Views
    2,204

    die game with random number

    Hello everyone,

    I studied C/C++ a long time ago, and I want to relearn it...to do so I was trying to do a die game. You enter how many players are playing, and with a loop I generate 2 random...
Results 1 to 10 of 10