Codecast sandbox: to edit, compile and execute C language in your browser
In this MOOC, the team has developed innovative tools that allow you to code and run your code directly in your browser. This sandbox is a test interface at your disposal. You can use it at any time during the course to test your own code.
/!\ WARNING: The lines of code that you can write here are not saved or taken into account for your progress. If you want to keep a record of your tests, please save your code on your own computer.
If Codecast is not displayed, please click here: https://codecast.france-ioi.org/v6
Note:
Codecast is a learning tool that supports only a part of the C language. For more advanced and expanded C language support, you will have to use professional coding tools. We will guide you through this process at each milestone of the Professional Certificate.
Some examples of Codecast differences with standard C language tools:
- Variables are initialized to 0 in the default Codecast (if no initial assignment). In the standard tools of the C language it is not known what is the initial value (random value).
- Arrays can only be initialized when they are created with the notation {x, x, x, x ...}
- Data structures are not supported.
- The use of the basic types char, short, int, float, double can in certain limited conditions have different effects from the standard C language tools.
- We can only use printf, scanf, malloc, free and sizeof functions. These functions are not the standard functions, they are specially designed for Codecast and lightened, especially for printf and scanf which only support some of the formatting available with the real C language tools.
- use of #include other than #include <stdio.h> or #include <stdlib.h> may be problematic
- the loops for specials