Year: 2011

Add repo linux from EPEL

EPEL (Extra Packages for Enterprise Linux) is a volunteer-based community effort from the Fedora project to create a repository of high-quality add-on packages that complement the Fedora-based Red Hat Enterprise Linux (RHEL) and its compatible spinoffs, such as CentOS and Scientific Linux. As part of the Fedora packaging community, EPEL packages are 100% free/libre open

Install Seplib Seismic Processing

SEPlib is an open-source software package for seismic data processing developed at the Stanford Exploration Project. We can download seplib at http://sepwww.stanford.edu/doku.php?id=sep:software:seplib. When I checked at this URL, I get new version of seplib is seplib-6.5.3. I get new seplib-7.0.4 when ask how to install seplib to Bob, so you can download seplib-7.04 at this

C/C++ declared with attribute warn_unused_result

I want to read a text file with C. This is my simple ilustration code : FILE *offsetFile=NULL; char *buffer; int cbyte; cbyte = 100; buffer = (char*) calloc (cbyte, sizeof(char)); offsetFile = fopen("listOffset.txt", "r"); if (offsetFile==NULL) { exit(0); } fgets (buffer, cbyte, offsetFile); When I compile this code I get warning message : ignoring

Eclipse : add automatic include folder

Eclipse is a  C, C++, Java and other programming language editor. I use this editor to create program with C/C++. When I use this editor, I have a problem to add include directory to eclipse editor. Right click at your project folder in Eclipse and choose Properties (Alt+Enter).  Locate and click Paths and Symbols menu.