The Programming Challenge

If you want to train yourself programming and at the same time learn programming along the way, try solving some of these proposed Challenges, in your favorite programming language.

Initially these challenges were only to be developed in C/C++, which I invented for the CWORLD discussion list in 2000, but in reality one is free to solve them in their preferred language.

Little by little I will add new challenges, and if you want to help the community by proposing a challenge, send it to me by email, the community will thank you.

To make it more interesting I suggest that you first try to solve it on your own. And only when you can no longer continue, look at the solution.

Luck.

Challenge 15 – Display the calendar for the month of a given date in C++

Difficulty x10x5 This Challenge was proposed for the now defunct C/C++ programming list CWORLD in 1999.The source code of the…

Read More »

Challenge 16 – Solve the “magic square” of order N in C++

Difficulty x10x5 This Challenge was proposed for the now defunct C/C++ programming list CWORLD in 1999.The source code of the…

Read More »

Challenge 14 – Compare 2 numbers in one line of code in C++

Difficulty x10x3 This Challenge was proposed for the now defunct C/C++ programming list CWORLD in 1999.The source code of the…

Read More »

Challenge 13 – Draw a star in console mode in C++

Difficulty x10x4 This Challenge was proposed for the now defunct C/C++ programming list CWORLD in 1999.The source code of the…

Read More »

Challenge 12 – Arrange non-overlapping ASCII rectangles in C++

Difficulty x10x5 This Challenge was proposed for the now defunct C/C++ programming list CWORLD in 1999.The source code of the…

Read More »

Challenge 11 – Visual effect in console mode in C++

Difficulty x10x4 This Challenge was proposed for the now defunct C/C++ programming list CWORLD in 1999.The source code of the…

Read More »

Challenge 10 – How to pause for less than 55ms? in C++

Difficulty x10x6 This Challenge was proposed for the now defunct C/C++ programming list CWORLD in 1999.The source code of the…

Read More »

Challenge 9 – Compress and decompress an ASCII file in C++

Difficulty x10x5 This Challenge was proposed for the now defunct C/C++ programming list CWORLD in 1999.The source code of the…

Read More »

Challenge 8 – Evaluate a math function in one line of code in C++

Difficulty x10x3 This Challenge was proposed for the now defunct C/C++ programming list CWORLD in 1999.The source code of the…

Read More »

Challenge 7 – A bug in the matrix in C++

Difficulty x10x8 This Challenge was proposed for the now defunct C/C++ programming list CWORLD in 2000.The source code of the…

Read More »
Back to top button