Tagged: programming language

The Kingdom of ADA: Sample code 0

The Kingdom of ADA: Sample code

Here it is the Hello World in ADA. with Ada.Text_IO;   procedure Hello is begin   Ada.Text_IO.Put_Line("Hello, world!"); end Hello; In the following listing you will find use of control structures in ADA while a...

FORTRAN’s Sheikdom: Sample code 2 0

FORTRAN’s Sheikdom: Sample code 2

Here it is some more FORTRAN sample code : Plot Ssort Insertion Sort   Plot       program plotit c c    Program to provide plots of Sin(x) c    Ascii Character plots go to terminal...

The Kingdom of ADA: ADA Docs 0

The Kingdom of ADA: ADA Docs

  A lot of documentation is available on the internet, here you will find useful links, with a small description, divided into sections:   The Reference Manuals HTML Ada83 LRM Front-Page Welcome to the...

FORTRAN’s Sheikdom: Sample code 0

FORTRAN’s Sheikdom: Sample code

Here you are some samples of code written in Fortran Hello World Area Of a Triangle Greatest Common Divisor Adding tw numbers Formatting parameters Hello World program hello           print *,"Hello World!" end program hello...

The Kingdom of ADA: ADA Tools 0

The Kingdom of ADA: ADA Tools

The GNU Ada compiler This project provides binary packages for the Ada front end of GNU compiler collection. The project also provides various Ada libraries like the Ada Web Server and Ada aware Integrated...

The Kingdom of ADA: Differences between versions 0

The Kingdom of ADA: Differences between versions

  The following chart (from http://www.adacore.com/home/ada_answers/comparison-chart/) provides an overview of evolution of the major features of the Ada programming language. Programming Structure, Modularity Ada 83 Ada 95 Ada 2005 Ada 2012* Packages √ √ √ √...

How to convert an NSString to float (or double) and vice versa 0

How to convert an NSString to float (or double) and vice versa

  Here it is an other big problem while porting applications from C language to objective C for the iPhone. NSString *myString = @"12.34"; float stringFloat = [myString floatValue]; Alike you can convert NSString...

C/Ruby/Perl/bash: How to check for root user 3

C/Ruby/Perl/bash: How to check for root user

  Often, during my work, I must check for the user that is launching my applications, specifically some applications like ping/shutdown/../.. need to be executed by root user. I collected four pieces of code...

FORTRAN’s Sheikdom: Tools and compilers 0

FORTRAN’s Sheikdom: Tools and compilers

CodeProject There are a lot of compilers/editors/tools that allow you to use fortran, a big number of these is in the Public Domain/Open Source/ BSD Licence/…/… world:   NetBeans: The NetBeans IDE is an...