Click here to Skip to main content
13,453,767 members (44,214 online)
Click here to Skip to main content
Alternatives (1)
Add your own
alternative version

Tagged as


4 bookmarked
Posted 22 Oct 2011

Amusing C++: funny tricks

, 22 Oct 2011
A few uncommon code sample


Members may post updates or alternatives to this current article in order to show different approaches or add new features.

1 Nov 2011
Brett Rowbotham
Try this one://Can we print all integers from 1 to 30??/int x = 0;while (x < 30){ _tprintf(_T("X = %d\n"), ++x);}


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

United States United States
No Biography provided

| | Privacy | Terms of Use | Mobile
Web04 | 2.8.180318.3 | Last Updated 22 Oct 2011
Article Copyright 2011 by Basil_2
Everything else Copyright © CodeProject, 1999-2018
Layout: fixed | fluid