Cristi Balas . wordpress . com

The art of computer programming

[Windows] Run multiple applications from one command

Posted by Cristi on Sunday, 2008-06-15

I was in the need for running multiple commands with one single command line.
In the command line, that was as easy as “notepad & notepad”, but for the windows version i couldn’t find an alternative, no command separator.
So I wrote one.. It’s a small program that works like this:

run_combo application1 [@@ application2 [@@ application3 [...]]]

(for example: “run_combo notepad @@ notepad”)

You can download the source code / exe from my google-code page, or access this download link.

I used the MinGw compiler from Dev-C++ package to compile it.

Posted in Utility programs, Windows | Tagged: , | No Comments »

Generic string TRIE implementation

Posted by Cristi on Sunday, 2008-05-11

This is an implementation of a generic TRIE data structure that holds strings (of any characters except 0, which means the end of the string). You can attach some application data to each string in the trie, so it can be useful for example in a Property/Value implementation.
Read the rest of this entry »

Posted in Library, Programming | Tagged: , , | No Comments »

Video Buzz for linux

Posted by Cristi on Thursday, 2008-05-08

Here’s a little C program that sends a visual notification.
It can be used to be triggered at an event and notify you of something, without any window to pop up Read the rest of this entry »

Posted in Linux, Utility programs | Tagged: , , , , | No Comments »

A generic int HEAP implementation with custom compare function

Posted by Cristi on Tuesday, 2008-05-06

I would like to share a generic HEAP implementation (heap_int.h / heap_int.c) for C. Read the rest of this entry »

Posted in Library, Programming | Tagged: , , | No Comments »

My google-code account

Posted by Cristi on Tuesday, 2008-05-06

I’ve created a google-code account in witch i will store little educational projects such as a generic heap implementation and other data structures, file compressor using huffman trees, working with linux forks and pipes, and other useful and educational material, especially for beginner and medium developers.
All the packages on my google-code account are and will be released under GPL license. That means you can modify and redistribute the source code, and not use the source code in a closed-source program.

The project page is http://code.google.com/p/srsc.
I will write a blog post for each new package.
Stay tuned..

Posted in Library, Linux, Programming, Utility programs, Windows | Tagged: | No Comments »

Hello world!

Posted by Cristi on Sunday, 2008-04-13


#include <stdio.h>

int main()
{
  printf("\a");
  return 0;
}

Posted in Programming | 1 Comment »