009# puzzle for c/c++

@dholey (1383)
India
February 16, 2007 10:34pm CST
WRITE A PROGRAM WHICH READS A C OR C++ SOURCE CODE (A .C OR .CPP FILE) AND TELLS HOW MANY USER DEFINED FUNCTIONS ARE USED IN THAT SOURCE CODE .... i.e. YOUR PROGRAM MUST SHOW NUMBER OF FUNCTIONS CREATED IN THE GIVEN SOURCE CODE ..... HAVE A NICE TIME SOLVING THIS PUZZLE ...........
3 people like this
2 responses
@prokrypt (67)
• United States
20 Feb 07
Does the program have to be in C/C++ too? If not, I can just use PHP and some Perl-style regex, which would be ~4 lines of code :]
@dholey (1383)
• India
21 Feb 07
ok!!!!! add your code here ... i will check them too ....
@dholey (1383)
• India
19 Oct 09
this is the best puzzle for c/c++ i ever come across ,person who has very good knowledge of c/c++ and logic building can make it.
@kingadnan (1538)
• Pakistan
17 Feb 07
yeah i love to face challenges, dholey uncle will you teach me c/c++ then we'll challenge each other, please :)
@dholey (1383)
• India
21 Feb 07
uncle .. uncle .... uncle .... OK!!!! I ACCEPT THE TRUTH THAT I AM AM AGING ... BUT THE DISPLAY PICTURE IS NOT MINE ... IT THE THE PHOTO OF MY IDEAL PERSON CALLED "DENIS RITCHIE" I WANT TO BE LIKE HIM .......... ANY WAYS .. I WILL TEACH YOU ... VISIT ON MY PROFILE AND READ "CHAPTERS " YOU WILL LEARN THE BASICS .......