Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
hppp [2016/11/04 20:44] sbshppp [2016/11/04 20:49] sbs
Line 33: Line 33:
 Dually, SAC can easily interface with existing libraries. Many examples, including parts of C's standard OS interface such as //[[https://www.libsdl.org|SDL]]// as well as interfaces to tools such as //[[http://gnuplot.sourceforge.net|gnuplot]]// or //[[http://www.mps.mpg.de/dislin|dislin]]// can be found in the current [[stdlib|standard library of SAC]]. Dually, SAC can easily interface with existing libraries. Many examples, including parts of C's standard OS interface such as //[[https://www.libsdl.org|SDL]]// as well as interfaces to tools such as //[[http://gnuplot.sourceforge.net|gnuplot]]// or //[[http://www.mps.mpg.de/dislin|dislin]]// can be found in the current [[stdlib|standard library of SAC]].
  
-Here an example taken from our [[tutorial|tutorial]] for interactively navigating through the Mandelbrot Set. Note here, that //all// the code that interacts with the SDL library are contained in this code snippet.+Here an example taken from our [[tutorial|tutorial]] for interactively navigating through the Mandelbrot Set. Note here, that //all// the code that interacts with the SDL library are contained in this code snippet ''initDisplay'' generates a display, ''drawArray'' displays a SaC array, and ''getSelection'' obtains a rectangular selection made with the mouse. All arrays that are passed into or obtained as result from these functions are normal SaC arrays; there is no special treatment required.
 <code C> <code C>
 #define XRES 6 #define XRES 6