Skip to main content
15 events
when toggle format what by license comment
Feb 24, 2019 at 19:09 history edited 200_success
edited tags
Aug 29, 2018 at 20:01 vote accept greg
Aug 27, 2018 at 9:41 answer added Snowhawk timeline score: 7
Aug 27, 2018 at 6:42 history edited Jamal CC BY-SA 4.0
deleted 31 characters in body; edited title
Aug 26, 2018 at 16:58 history edited greg CC BY-SA 4.0
edited body
Aug 25, 2018 at 20:00 comment added Incomputable @greg, I made some changes to the post, which I hope will improve attractiveness of the question. Please feel free to roll back if I did something wrong. Also don't hesitate to add items to changed list, as it tells reviewers that they successfully delivered knowledge to implement it. Rejected suggestions could use some explanation too.
Aug 25, 2018 at 19:59 history edited Incomputable CC BY-SA 4.0
shuffled content and added made changes
Aug 25, 2018 at 17:05 comment added greg @yuri the biggest changes I attempted to implement here were recursion, de-spaghetti-izing, and dangling pointers. Along with const were needed, which I forgot to paste in but adding now.
Aug 25, 2018 at 17:02 comment added esote @GregDegruy The pipe just takes the output from g++ and tries to put it into your program. You probably meant && or ; instead of |. See: stackoverflow.com/q/9834086/6789498
Aug 25, 2018 at 17:01 comment added greg @esote I added the pipe to compile and run my program in one statement
Aug 25, 2018 at 16:59 comment added yuri @Incomputable Considering the amount of feedback on the last question I was expecting more drastic changes but you're correct.
Aug 25, 2018 at 16:58 comment added Incomputable @yuri, the if chain is gone, which I think is enough for the time being. Of course we'd like to ask for more.
Aug 25, 2018 at 16:56 comment added yuri Did you paste the right code? This looks eerily similar to your old version right down to having the same issues.
Aug 25, 2018 at 16:54 comment added esote When you compile your program, why do you pipe the output of g++ into ./main? Did you mean to use a semicolon, or a logical operator of some sort?
Aug 25, 2018 at 16:50 history asked greg CC BY-SA 4.0