55 Posted Topics
Re: Pure coincidence. I'm running OS X. With Clang2, it returns 14 elements. With GCC 4.2.1, it returns 13. No modification to the code. Also, if you're not sure, why are you so stubborn? | |
I've written the following binary search algorithm and it worked on [i]my[/i] tests. I want to know if there is something I'm missing, as this is the first time I try to write it, so give me a case in which it would fail, and I'll try fixing it. I … | |
Re: I think this is more easily done with the shell. | |
Re: This is somewhat unclear, as it does not make sense at some point. Using [icode]continue;[/icode] in a plain if/else statement returns an error when compiling. On the other hand, you said "[...] can we use it in a if/else statement?", but you only use it in a if/else inside a … | |
Hello, I've been going through K.N. King's [url=http://knking.com/books/c2/index.html]C Programming: A Modern Approach[/url] and, after completing the first 10 chapters, I wanted to give my knowledge a try and write something I've always wanted to: a Hangman game. It turned out more of a "Mystery Word" game, as I haven't created … |
The End.