C examples
Explore variables, pointers, files and GTK windows.

AngleWindow
The first and second elements of a are 0 and 11 Or, as pointers, 0 and 11
ArrayConsole● rec

ButtonWindow
42
CalcConsole● rec

CheckWindow

ClicksWindow

CloseWindow

ColorWindow

Combo sortedWindow

Combo storeWindow

Combo textWindow
first + second = firstsecond
Concat with appendConsole● rec
first + second = firstsecond
Concat with interpolationConsole● rec

ConnectWindow

CounterWindow
The circumference of a circle radius 3.000000 is 18.849541 The area of a circle radius 3.000000 is 28.274309
DefineConsole● rec

DialogWindow
a is equal to 0 a is equal to 1 a is equal to 2 a is equal to 3 a is equal to 4 a is equal to 5 and I've finished
Do whileConsole● rec
a is equal to 0
Else ifConsole● rec

EntryWindow
FALSE
EnumConsole● rec

File openWindow

File saveWindow
The sum of adding 2.897000 and 3.641000 is 6
Float into intConsole● rec

FontWindow
a is equal to 0 a is equal to 1 a is equal to 2 a is equal to 3 a is equal to 4 a is equal to 5 and I've finished
ForConsole● rec
The sum of 5 and 2 is 7
Forward declConsole● rec
This is some text.
FprintfConsole● rec

GladeWindow
The result is 7
GlobalConsole● rec

HboxWindow
Hello world!
HelloConsole● rec
a is equal to 0
If elseConsole● rec
Some other code
If0Console● rec
What is your name, user?: Hello, Ada. How old are you? Age: I don't recognise that as an age - try again! Age: Well, Ada, you look young for 46...
InputConsole● rec

LabelWindow
The sum of 5 and 2 is 7 The sum of 3 and 7 is 10
MacroConsole● rec

MenubarWindow

Pack expandWindow

Pack fillWindow

Pack noneWindow
Parameter 0 is one Parameter 1 is two
ParamsConsole● rec
The value of a is 5 The value of a is 6 The value of ptr_to_a is ADDR It stores the value 6 The address of a is ADDR
PointerConsole● rec

PopupWindow

QuestionWindow

RadioWindow
Hello from a file.
ReadConsole● rec

ReliefWindow
a file.
SeekConsole● rec

SelectWindow

SpinWindow
The total is 6
SplitConsole● rec
The value of val is 12
SprintfConsole● rec
The value in the string is 250
SscanfConsole● rec
String : first Value : 1
Sscanf twoConsole● rec
The two strings are different.
StrcmpConsole● rec
The length of the string 'first' is 5
StrlenConsole● rec
The sum of 5 and 7 is 12
StructConsole● rec
The sum of 5 and 2 is 7
SumConsole● rec
The sum of 5 and 2 is 7 The difference of 5 and 2 is 3
Sum and diffConsole● rec
The sum of adding 2.000000 and 3 is 5
Sum floatConsole● rec
The sum of adding 2 and 3 is 5
Sum intConsole● rec
a is equal to 0
SwitchConsole● rec
a is equal to 0 a is equal to 1 a is greater than 1
Switch no breakConsole● rec

TableWindow

TreeWindow

UnderlineWindow
The value at vptr as an int is 255958283 The value at vptr as a char is 11
Void pointerConsole● rec
a is equal to 0 a is equal to 1 a is equal to 2 a is equal to 3 a is equal to 4 a is equal to 5 and I've finished
WhileConsole● rec
a is equal to 0 a is equal to 1 a is equal to 2 a is equal to 3 a is equal to 4 a is equal to 5 and I've finished
While breakConsole● rec

WindowWindow
0123456789
WriteConsole● rec