Solved

Bad C++ code needed

Posted on 2000-04-19
4
211 Views
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.
0
Comment
Question by:tonitop
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
proskig earned 50 total points
ID: 2729797
The International Obfuscated C Code Contest
http://www.ioccc.org/index.html
0
 

Author Comment

by:tonitop
ID: 2729969
Thanks, I already knew that, but that's C code not C++ :(
0
 
LVL 5

Expert Comment

by:proskig
ID: 2730237
proskig changed the proposed answer to a comment
0
 
LVL 2

Expert Comment

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

  http://mindprod.com/unmain.html
0

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