C - Errors / Warnings - After compiling

Errors and warnings generally encountered by a coder during his hard life of coder will be added here, in this special section.

I will not make difference between errors and warnings, because I always compile with CFLAGS such as -Wall -Werror -Wextra and thus warnings are treated as errors.

C - Recursion - Classical recursion of a factorial

A classical example of recursions is of course the factorial one.

If you want to know the result of a factorial, do not hesitate to use a recursive function.

Let's see it:

C - Recursion - Finding a number until a variable reaches another one

The code below display the nb variable until it reaches the number ten.

But the recursion will display the phrase in the printf(), of the main(), at the end of the while inside the r() function.

Android - MediaPlayer - Example of playing sounds

Maybe you are wondering how to play a MP3 sound by clicking a simple Button on Android.

Eh, you know what? You are in the right place!

Note that this tutorial for MP3 sounds works as well with MP3 musics and of course a lot of different types of format such as WAVE or MIDI.

Java - Tips'n Tricks - Source attachment

You are maybe searching for the Sourch Attachment in Java and Eclipse.

If yes, just follow this link: http://www.badprog.com/eclipse-java-source-attachment

Apache - Ant - Errors

You were compiling on Windows 7 when suddenly you are getting this error:

[ERROR] com.sun.tools.javac.Main is not on the classpath.
[ERROR] Perhaps JAVA_HOME does not point to the JDK.

Then maybe something like that:

Apache - Continuum - Configuration

After installing Apache Continuum continuous integration tool, you may want to configure it and of course, build your first project with Maven and Continuum.
But you already have a project on SVN, and you wish to use it as well.

Apache - Continuum - Installation

Apache Continuum is a continuous integration tool.

You can download a copy on the official webpage of Apache Continuum:
http://continuum.apache.org/

Apache - Maven - What is Maven?

Maven is a tool, mainly developed for Java developments.
This is a complete software so it is not so easy to understand when you start developing, even with the official website of Maven: http://maven.apache.org/.

Apache - Archiva - Installation

To download the last stable Archiva release, let's go on the official website: http://archiva.apache.org/

For this Archiva installation tutorial, we will install the Archiva 1.3.5 Standalone version.

Pages

Subscribe to BadproG.com RSS