Tag Archives: source code

source code

Google Apps Script – reading and store feeds from feedly website – part 055.

You need to have an account with feeds on feedly.com and create a on this website. Open your google drive , create a new spreadsheet and open the Google Apps Script editor. This will allow to use this source code and the result of the running will be add into your spreadsheet:

C – Testing ncurses on linux – 007.

Today I will show a simple source code with two functions. This source code will try to read from a file named level.txt a string like this: 101010100000011111101110101010101 and show empty spaces and square ASCII based on this string. You can compile this source code from a file named screen.c like this:

Let’s see… Read More »

C – Testing ncurses on linux – 006.

Today, I will show a source code with ncurses that show you extended characters. Run the executable into your tty not on the terminal, because you don’t see all of these characters. Let’s see the source code :

I

C – Testing ncurses on linux – 005.

In this tutorial, I will show you how to put buttons like a matrix:

The derwin() function is used to create a new window with these arguments : win is the parent window in which the subwindow will be created. 1 is the number of rows of the subwindow. 4 is the number of… Read More »

C – Testing ncurses on linux – 004.

In this tutorial, I will show you something very simple without using the ncurses library. It is about using arguments in the command line. Create a file default.c and complete it with the source code below:

Use the gcc command tool to build this source code:

You can test the new command named… Read More »

C – Testing ncurses on linux – 003.

Another source code with ncurses. This time the source code will create a window with all colors.

This is result of the source code: