Bad C++ code needed

Posted on 2000-04-19
Last Modified: 2010-05-18
Where can I find bad C++ code? Other place than
my own hard drive :) I remember there was some
site which had some very difficult and hard
to understand code samples
(something like obstructive c++ code).

I would need few examples, because there will
be C++ coding starndard review (developed
for and by the company I'm working on) and
the author of the stardard would like to show
some horrible C++ code as a bad example.
Question by:tonitop
  • 2

Accepted Solution

proskig earned 50 total points
ID: 2729797
The International Obfuscated C Code Contest

Author Comment

ID: 2729969
Thanks, I already knew that, but that's C code not C++ :(

Expert Comment

ID: 2730237
proskig changed the proposed answer to a comment

Expert Comment

ID: 2730264
hi, it's not exactly what you are looking for, but you'll propably enjoy it:

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now