eiffelroom

News

article

C/C++ calls and callbacks

Most existing examples on how to do external calls contain a lot of English explanation which can distract people, like myself, who learn by example. This is intended to be a compilable, terse example of how to call in and out of C/C++.

This is a C example: <eiffel> class APPLICATION

create make

feature -- Initialization

make is -- Run application. do

tool

edp

An Eiffel IDE based on the Gobo libraries.
tool

Button Clicker

A tool clicks a specified button at intervals.
library

Svg-vision

Classes for creating Structured Vector Graphics from Vision2 applications.
article

Eiffel exceptions

A common question asked about Eiffel, especially those coming from Java or C# backgrounds is, where's my try...catch...finally block?

article

Integrating Eiffel with COM

Integrating Eiffel in to a COM environment is remarkably easy as the tools that handle the majority of the heavy lifting related to COM development already exist. Programming dynamically with COM is very different than programming statically with Eiffel so I've included common pitfall concept translations for these instances.

library

Eiffel for .NET Binding for Db4o

The library enables Eiffel developers to use db4o databases within Eiffel for .NET applications.
article

Getting Started with Db4o for Eiffel

This page provides a step-by-step guide, showing you how to use db4o databases within Eiffel for .NET applications.

Step 1: Download Db4o Assembly

article

How to save a Jpg file with quality option

The result

First let's see the results of images in different quality levels. The highest quality is 100, the lowest quality is 0.

Original image: Goleta_Flower_orignal

Quality 100 image: (Maybe because the image is too big, 2.6mb, we can't upload it now. Sorry.) Goleta_Flower_with_quality_100

Quality 75 image: Goleta_Flower_with_quality_75

If you were to choose the next platform on which you will develop using EiffelStudio, what would it be?

FreeBSD
4% (1 vote)
OpenBSD
4% (1 vote)
SGI Irix
0% (0 votes)
Mac OS
36% (10 votes)
Sun Solaris
0% (0 votes)
Windows
25% (7 votes)
VMS
0% (0 votes)
Linux - Ubuntu
21% (6 votes)
Linux - Debian
7% (2 votes)
Linux - Fedora
4% (1 vote)
Linux - Suse
0% (0 votes)
Total votes: 28
article

Protecting objects

Having looked at code for interfacing Eiffel to C and creating callbacks from C to Eiffel, I frequently found that things were not done properly, resulting in potential memory corruption or crashes.

article

EiffelVision 2 HowTo's

How do I set the size of an EV_PIXMAP?

article

Using externals in multithreaded applications

Using a C/C++ external in an Eiffel system is pretty easy. Simply do a C/C++ inline and provide the arguments to the C/C++ externals.

When transforming the same system into a multithreaded application one has to pay attention to something else: C/C++ externals that may take a long time to execute.

Using blocking qualifier

article

Creating a web application with Goanna

This is a short tutorial for building web applications with Goanna

It covers the following topics

  • Installing all the software you need
  • Getting to know Goanna
  • A short description on how to develop a web application with Goanna

How it all works

Goanna offers many different services and layers of abstraction.

With 6.1, we have changed the default layout to only show the most interesting tools. Which one do you prefer?

EiffelStudio 6.0
25% (2 votes)
EiffelStudio 6.1
75% (6 votes)
Total votes: 8

How do you like to communicate in a community?

Mailing list
33% (10 votes)
Newsgroup
17% (5 votes)
Forum
50% (15 votes)
Total votes: 30
article

Fun with Generics

Intro

We all know about generics as a wonderful help to implement container data structures like lists, sets, bags etc. Much later than Eiffel, object-oriented programming languages like Java and C# have understood that generic parameters are a powerful extension to the type system and remove the need for many casts. So, what else can we do with generics beyond containers?

article

Serialization to string

Since some time Eiffel supports a serialization method completely written in Eiffel. It directly supports serialization to a file or to memory. This example shows how to use this to serialize an arbitrary object structure to a string.

article

Random numbers

People who are used to other programming languages usually use some kind of rand, rnd or similar function to generate random numbers. This article shows how you can do it in Eiffel.

Generating a random number

The base library's RANDOM class is modeled as a sequence of random numbers.
about - contact