HackerTrans
TopNewTrendsCommentsPastAskShowJobs

dfrey

no profile record

comments

dfrey
·10 jaar geleden·discuss
I think your do-while suggestion is kind of cool, but I think that this program may do different things under a current C compiler and one which includes the feature you suggested.

    int x = something();
    do {
        const int x = somethingElse();
        ...
    } while (x != 42);