Category: C

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.

C/C++ Get The Program Execution Time

When we crate a program, we can get time execution from our program to know how long our program running. This is a code how to get time execution from our program with C/C++. Create a main.c file and copy this code to that file. #include <time.h> #include <stdio.h> #include <stdlib.h> int main(int argc, char

Create C/C++ shared library with MATLAB Compiler

MATLAB® is a high-level language and interactive environment that enables you to perform computationally intensive tasks faster than with traditional programming languages such as C, C++, and Fortran (http://www.mathworks.com/products/matlab/). Matlab have a complete function to solve mathematic problem. We can call function code from matlab in other language (ex. C/C++). Before we create code in