Skip to main content

Timeline for Why i get wrong horizontal resize

Current License: CC BY-SA 3.0

12 events
when toggle format what by license comment
Jun 18, 2020 at 8:37 history edited CommunityBot
Commonmark migration
Sep 23, 2014 at 20:26 comment added Teodor Ilkov Nikolov Let us continue this discussion in chat.
Sep 23, 2014 at 20:25 comment added lethaljd This isn't about breakout, it's for resize.
Sep 23, 2014 at 20:24 comment added Teodor Ilkov Nikolov Obviously the whole thing come from the paddle that i try for 2 days to solve it but still i got wrong output. I know what should the program do and i see this, but how to make sure that my padding is right? And the for loop that you told can you see the edit and tell is that correct?
Sep 23, 2014 at 20:20 history edited lethaljd CC BY-SA 3.0
added 608 characters in body
Sep 23, 2014 at 20:17 comment added lethaljd You are still missing a vertical resize. See edited answer above
Sep 23, 2014 at 6:44 comment added Teodor Ilkov Nikolov I got these in green now , the numbers in argv[1] and argv[2] are the same. The issue is in vertically resize because as you can see when i resize picture with n = 4, i just got 3 lines with "xxd check", and the staff solution has 12 lines . I messed up something in the for loop, but i dont know what.
Sep 22, 2014 at 17:44 comment added lethaljd The issues in red in the picture above are due to your header declarations, not your for loops. How are you writing the new header info?
Sep 22, 2014 at 15:17 comment added Teodor Ilkov Nikolov I edit my question. Can you tell me from where my issues came?
Sep 22, 2014 at 15:03 comment added lethaljd remember that you not only need to resize vertically, but also horizontally+padding. You should have 2 for loops for this, one nested inside the other, the outer loop handles height and the inner loop handles width
Sep 22, 2014 at 14:57 comment added Teodor Ilkov Nikolov okay , I fix that now everything is green but i still get the second output for the image. I got 3 lines of output , and staff solution is 12
Sep 22, 2014 at 14:51 history answered lethaljd CC BY-SA 3.0