Click here to Skip to main content
12,623,511 members (34,115 online)
Click here to Skip to main content
Alternatives (1)
Add your own
alternative version

Tagged as

Stats

42K views
4 bookmarked
Posted

Amusing C++: funny tricks

, 22 Oct 2011 CPOL
A few uncommon code sample

Alternatives

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);}

License

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

Share

About the Author

Basil_2
United States United States
No Biography provided

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