CodeShare is a platform where everybody can share implementations of common problems of computer programming. Developed by Code Solutions Project, a Spanish's association that promotes the free culture.
Everybody can copy and distribute any code posted in this platform, and sign up and share their own solutions or post new implementations of solutions already hosted. As a warning, if someone engage vandalism (see vandalism in CodeShare) they will be banned from publishing or editing any code, and in serious cases, ban their account permanentely. However, they will not be restricted form services of unregistered users.
First, you need to sign up in CodeShare (link), and then go to submit page to start.
Write the solution's name and description. Notice that in this input boxes you shouldn't type any reference of language they can be uploaded in multiple languages in the future, and there are a box for language.
Now select language to help other users to find it easily.
If your solution use a external library you can add its name and its version in their own input boxes.
After that, introduce the Input and Output examples with the following criteria:
def sum(varA,varB):
return varA+varB
Input might be: "1 2" and Output: "3"public static double circleArea(double radius){
return radius*radius*PI;
}
Input have to be: "radius: 4.0, PI: 3.1416"Now paste your code
Finally push the submit button and automatically you will be redirect to your new code page.