Author Topic: JADE git repository now open to all  (Read 11261 times)

Offline AIR

  • Moderator
  • Posts: 932
  • Coder
JADE git repository now open to all
« on: November 11, 2013, 04:17:53 PM »
NOTE:  NEW REPOSITORY, SOURCE NOW BUILDS A LIBRARY FOR LINKING

CURRENT REPOSITORY

First, compile it using 'make', and install using 'sudo make install'.

Then add
Code: [Select]
#include "jade.hpp"
To your source.

There are demos in the EXAMPLES folder.

Enjoy!

AIR.
« Last Edit: January 07, 2019, 12:09:45 PM by AIR »

Offline AIR

  • Moderator
  • Posts: 932
  • Coder
Re: JADE git repository now open to all
« Reply #1 on: November 16, 2013, 09:48:23 AM »
Added "SPLIT" string function.

An example of use:

Code: [Select]
/* CHANGE THIS PATH TO WHERE "jade.h" IS LOCATED */
#include "jade.h"

MAIN
  DIM CSTRING sep = " ";
  DIM CSTRING s = "This is an example that should be split!";
  DIM VECTOR<CSTRING> ret;

  ret = SPLIT(s, sep);

  FOR (UINT i = 0 TO i < ret.size() STEP i++) BEGIN
    PRINT( ret[i] );
  END

  RETURN 0;
ENDMAIN
Quote from: OUTPUT
[riveraa@Kitty ~] $ ./split
This
is
an
example
that
should
be
split!