Recent content by 1student

  1. 1

    SOS... a problem in a program I wrote

    guys, plsss. someone? :(
  2. 1

    SOS... a problem in a program I wrote

    How can I do that?
  3. 1

    SOS... a problem in a program I wrote

    Ary u sure? Because I learnt that when I move a pointer of a list, for ex., and I want to change the parameter it points to - I have to get it as *&... I think I understood what u wrote afterwards.. I'm not sure. I tried to correct my program according to it, and initialized the list in...
  4. 1

    a question in C++

    Now it works!!! Thanks u, Chebago, oog and EagleKeeper!
  5. 1

    a question in C++

    I'm in windows. I tried what u said (#define<stdlib.h> ), but the program doesn't understand it... The message I get: It sounds better.;) and now the program I work on doesn't complain about the define.. That's an idea, I'll try it!
  6. 1

    SOS... a problem in a program I wrote

    'read' gets the all 13 cards, in the order the user enters it - it keeps it in the 'list'. Than I split it to maximum 4 groups: c, d, h and s (it can be also 1 group, if all the cards the player got belong to one series), I sort each of the groups, and than merge the series to 1 list, according...
  7. 1

    SOS... a problem in a program I wrote

    someone? :(
  8. 1

    SOS... a problem in a program I wrote

    I can compile it, but when I run I get the message: The bold line the program point to, as a guilty one, is that:
  9. 1

    Why do I get this???

    Oh, I didn't know that. Thank u! :)
  10. 1

    SOS... a problem in a program I wrote

    hi, I have to write a program for a player in bridge. I have to: 1. recieve 13 cards, and enters them into a linked list 2. print them in the order I got them 3. orginize them in a sort order: -> the order in the seried: clubs-> diamonds-> hearts-> spades -> each series has to b sorted...
  11. 1

    Why do I get this???

    OK, I found the problem... I wrote in the function 'read'....
  12. 1

    Why do I get this???

    Hi, I wrote a program in C++, and got somthing strange: enclosed is the program.
  13. 1

    a question in C++

    Thank you!
  14. 1

    a question in C++

    First, thank u all! second- I think it's the most comfortable way to convert the chars (and that the way I did it in my HW), but it works just on numbers in the range 0-9.. is there a similiar way for numbers out that range? I tried it & had a problem when I compiled the program: Call to...
  15. 1

    a question in C++

    Hi, I have 2 urgent question: ex.: I have the chars: '1' '+' '2'. 1. How can I convert the chars ('1', '2') into int (1, 2)? 2. How can I convert the char ('+', '-' etx.. in another case) into operator? Lot's of 10xs.