Weekend Programming Challenge Issue 15 – C brackets


Image

Problem:

Make code which reads not formaтted C language text file and format the brackets i.e. moves the closing bracket as same column as the corresponding opening bracket, ignoring the comments. If the brackets doesn’t match should issue error message.

The rules:

You can code the solution in any programming language during the weekend and have to submit it to info@olimex.com latest on Sunday June 30th.

On Monday we will upload the solutions on GitHub and review https://github.com/OLIMEX/WPC .

You can play with your real name or with nick if you want to be anonymous, we will not disclosure your personal info if you do not want to.

Good Luck and Have fun!

Leave a comment