This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * The module csv is a set of function to parse many format using a delimitter as csv file | |
| * Supported format: | |
| * - .mat matrix file | |
| * - .bed UCSC file | |
| * For parse a .csv file use std.csv | |
| */ | |
| module dscience.parser.csv; | |
| import std.conv : to; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ ldc2 -shared test.d -soname test.so -g | |
| $ gcc test.c -L. -ltest -otest -g | |
| $ LD_LIBRARY_PATH=`pwd`gdb ./test | |
| ./test: error while loading shared libraries: test.so: cannot open shared object file: No such file or directory | |
| $ LD_LIBRARY_PATH=`pwd` gdb ./test | |
| (gdb) b 5 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ ldc2 -relocation-model=pic -shared -soname test.so sharedLib.d | |
| $ cat sharedLib.d | |
| import std.string; | |
| import std.stdio; | |
| void func1(){} | |
| int func2(){ return 1; } |
NewerOlder