Search results

  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.
  16. 1

    a question in a program written in c++

    Here is what I got: Enter 4X4 pixels 1 1 1 0 0 1 0 0 1 0 0 1 1 1 1 1 square: (0,0),(0,0) square: (0,1),(0,1) square: (1,1),(1,1) square: (2,0),(2,0) square: (3,0),(3,0) square: (3,1),(3,1) square: (0,2),(1,3) square: (3,2),(3,2) square: (2,3),(2,3) square: (3,3),(3,3) 10 It...
  17. 1

    a question in a program written in c++

    and here is what I get when I run the program: Enter 4X4 pixels 1 1 0 0 0 1 0 0 1 0 0 1 1 1 1 1 square: (0,0),(0,0) square: (1,0),(1,1) square: (0,1),(0,1) square: (1,1),(1,2) square: (1,1),(1,1) square: (2,0),(2,1) square: (3,0),(3,0) square: (3,2),(3,2) square: (0,2),(2,3)...
  18. 1

    a question in a program written in c++

    I think it worksssss!! In fact, it doesn't seem perfect... it's not so good :( see it:
  19. 1

    a question in a program written in c++

    First, lots of thanks for your pation!!! I think it's my fault... that I didn't give enough examples. One of the examples is a similar case to that second block, in that case, I don't have to go through the statements in if, it's enough that I print the limits and say that I have 1 lit pixel...
  20. 1

    a question in a program written in c++

    For sure, I must learn it. sorry, but I don't think I understood it. I'll take the ex. I wrote before to explain why not: 1 1 0 0 0 1 0 0 1 0 0 1 1 1 1 1 first of all, from the main, I arrive to the printsBitsSettedOn(). that function sends ths datas to numBitsSettedOn()...
  21. 1

    a question in a program written in c++

    I think I'll wait to your final opinion (I'm so confused from that question...) lots of thanks!!! you just don't know how much u help me...
  22. 1

    a question in a program written in c++

    it's very long...: It's possible to represent a screen as a 2-dimension array, in a size: nXn, which contains just the digits 0 &amp; 1. Each cell in the array represents a pixel int the screen. A cell which is equal to 1 - will represent a lit pixel, and the 0 will represent the opposite...
  23. 1

    a question in a program written in c++

    I don't realy know how to do use it. u mean to the bold pixel and its area: 1 1 0 0 0 1 0 0 1 0 0 1 1 1 1 1 isn't it? I'm not sure it is right, and i'll explain why: normally the checking should be done in that order: 1) check if the array has more than 1 lit pixel...
  24. 1

    a question in a program written in c++

    the problem is... examples when I enter numbers in the order below, I get: Enter 4X4 pixels 1 1 0 0 0 1 0 0 1 0 0 1 1 1 1 1 square: (0,0),(0,0) square: (0,1),(0,1) square: (1,1),(1,1) 9 instead of getting: square: (0,0),(0,0) square: (0,1),(0,1) square...
  25. 1

    a question in a program written in c++

    hi, sorry that I write it as a new topic, but it's urgent, and I must get help:( Here (forums.anandtech.com/messageview.aspx?catid=33&amp;threadid=1463864&amp;enterthread=y) is the question. I'll write it again. i'd a question - to write a program which gets a 2-dimension array (its size is...
  26. 1

    a question in a program written in c++

    guys, it urgent. pleasssse. can anyone help me?:(
  27. 1

    a question in a program written in c++

    somebody? I'll give u examples so u could see the problem: 1. 2. Pay attention to the location of the 2nd lit pixel in each one of the ex. above...
  28. 1

    a question in a program written in c++

    Oh, yeah. I wanted to write it, but forgot - sorry. you are right!
  29. 1

    a question in a program written in c++

    well, I have to get all the squares, their size doesn't matter. What is important here is that in each square will be just one lit pixel - and for each one like this I have to print out the limits (it can be (0,0),(0,0) - if in its area there are some more lit pixels, or (0,0),(3,3) -> in the...
  30. 1

    a question in a program written in c++

    Here is what I get: Enter 4X4 pixels 1 1 0 0 0 1 0 0 1 0 0 1 1 1 1 1 square: (0,0),(0,0) square: (0,1),(0,1) square: (1,1),(1,1) 9 instead of getting: square: (0,0),(0,0) square: (0,1),(0,1) square: (1,1),(1,1) square: (0,2),(0,2) square: (3,2),(3,2) square: (0,3),(0,3)...
  31. 1

    a question in a program written in c++

    Hi, it's me again... i've a (strange) question - to write a program which gets a 2-dimension array, in the array there are binary values: 0 or 1. I had to write 2 function: the first - counts the lit digits - the 1-cells the second - gets an array and limits. it has to check if there are...
  32. 1

    need some help with c++ program

    Now I understand... You are great!! I don't have the words to thank you... Lots of thanks!!!
  33. 1

    need some help with c++ program

    I thought about something like this: ==I changed it and still have a problem== Here is what I get: Enter 5 numbers 1234 65463 8548 6362 626 4 43 432 4321 4800 8 84 845 8458 9395 6 62 626 694 END --- What do you say?
  34. 1

    need some help with c++ program

    hmm... I think I understand what u wrote. I'll explain u what I thought when I wrote it... I'll take as example the number 1234- num=1234 and temp=0; num>0 ->true so: temp = 4 num = 123 I return it to the function. and again: num>0->true temp=40+3...
  35. 1

    need some help with c++ program

    Why nothing? Look at this function: print_increased_nums: ... long temp = recur_num (arr[i], 0); cout << temp << endl;
  36. 1

    need some help with c++ program

    Here is the problem... I assume the mistake is in the recur_num function. but I don't find it..:(
  37. 1

    need some help with c++ program

    yeah. That was the teacher asked for...
  38. 1

    need some help with c++ program

    First of all, the function are recursive. Second, I run the program and saw that all the function work (I printed out all the actions the program does, and it does all of them, the problem is in what I get in the end - the first digits, and not the whole numbers.. Hope u understood.. I...
  39. 1

    need some help with c++ program

    Hi I wrote a small program, but have a problem with it, and don't find it... maybe u can halp me. example - I enter the numbers: 132 56 1345 98424 56789. What I have to get printed is: 321 65 5431 98765 Instead of it I get: 3 6 5 9 (The first digits, and not the whole number)...
  40. 1

    problem with a program I wrote

    I tried to initialize the variables, but it doesn't work yet. I get that message: Where is the mistake now? Here is the program:
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |