Yazar: admin

Kadir gönül. Bilgisayar mühendisi.

callgraph generator

Posted on 14 Temmuz 2016 in Programlama by

sudo apt-get install -y kcachegrind valgrind gcc main.c valgrind –tool=callgrind ./a.out # Generates a callgrind.out.<PID> file. kcachegrind callgrind.out.1234 # Opens

auto_ptr and reference counting

Posted on 16 Ekim 2015 in Programlama by

http://www.codeproject.com/Articles/15351/Implementing-a-simple-smart-pointer-in-c   A smart pointer is a class that wraps a ‘raw’ (or ‘bare’) C++ pointer, to manage the lifetime

How to inter process communication

Posted on 14 Ekim 2015 in Programlama by

https://en.wikipedia.org/wiki/Inter-process_communication File A record stored on disk, or a record synthesized on demand by a file server, which can be

Start a Simple HTTP Server in Any Folder

Posted on 05 Ekim 2015 in Programlama by

If you’re needing to quickly test some HTML that you’re working on, start a simple web server within any folder on your

Macs instantly maximize windows

Posted on 05 Ekim 2015 in İnternet, Programlama by

To speed up execute following command: defaults write -g NSWindowResizeTime -float 0.003 Quit and relaunch all apps for the change

DTD tutorial for xml

Posted on 02 Ekim 2015 in Programlama by

You can find a good dtd tutorial at following page: http://edutechwiki.unige.ch/en/DTD_tutorial

Loading libraries with LD_LIBRARY_PATH

Posted on 26 Ağustos 2015 in Programlama by

You can create any config file under following path: /etc/ld.so.conf.d then run: ldconfig -v With those steps no need to

Basic multiprocess server design in c

Posted on 24 Ağustos 2015 in Programlama by

Following code creates a new subprocess per connection from the port 1005. You can show them all by ps command.

Recursive Makefile Example

Posted on 20 Ağustos 2015 in Programlama by

I wanted to come up with generic way using only make (no autoconf/automake/etc) to solve the following problem: Given a

Posix thread notes

Posted on 19 Ağustos 2015 in Programlama by

pthread_once example   (https://computing.llnl.gov/tutorials/pthreads/man/pthread_once.txt) Save following code as main.c and compile with the given command. compile as gcc main.c -o