An open API service indexing awesome lists of open source software.

https://github.com/d3f0/ipython_gcc

%%gcc magic: A very early stage plugin to ease usage of IPython/Jupyter for C programming courses mainly focused on pthrads, openmp and MPI.
https://github.com/d3f0/ipython_gcc

Last synced: 1 day ago
JSON representation

%%gcc magic: A very early stage plugin to ease usage of IPython/Jupyter for C programming courses mainly focused on pthrads, openmp and MPI.

Awesome Lists containing this project

README

          

Ipython GCC integration
=======================

This IPython extensions provides an easy interface to work with C code.

Installation
------------

If you are in a terminal, just call::

pip install -e "git+https://github.com/D3f0/ipython_gcc.git"

If already inside IPython/Jupyter:

!pip install -e "git+https://github.com/D3f0/ipython_gcc.git"

Example usage
-------------

Define a gcc cell
~~~~~~~~~~~~~~~~~

.. code:: python

# Example cell
%%gcc main.c

#include
#include

int main(int argc, char **argv) {
printf("Hello world\n");
return 0
}

TODO
====

View current issues_

.. _issues: https://github.com/D3f0/ipython_gcc/issues