News for hackers. Stuff that matters.
Re:PM of Singapore Shares His C++ Sudoku Solver Source Code by xwintermutex on Monday May 04, 2015 @06:46AM (#9485347)
Looks more like C than idiomatic C++ at a first glance.
Re:PM of Singapore Shares His C++ Sudoku Solver Source Code by experimental- on Monday May 04, 2015 @07:07AM (#9485414)
A very quick glance suggests to me that the only thing C++ specific there is the filename extension (although a C compiler would do a more thorough check than I do; and faster, even!)
Re:PM of Singapore Shares His C++ Sudoku Solver Source Code by unscaled on Monday May 04, 2015 @11:14AM (#9486637)
And the single-line comments, if not using a C99-compliant compiler. I wouldn't be surprised if he was using Visual C++ and had to change the extension to support a comment syntax that doesn't make you want to strangle yourself.
Re:PM of Singapore Shares His C++ Sudoku Solver Source Code by kachnuv_ocasek on Monday May 04, 2015 @09:08AM (#9485877)
By the way, supposedly, he wrote this "years ago".
Re:PM of Singapore Shares His C++ Sudoku Solver Source Code by tcholas on Monday May 04, 2015 @08:12AM (#9485633)
Was going to comment exactly the same thing