Articles tagged with: C Programming
C Programming, Open Source, Windows »
As long as there is no device like the /dev/zero from unix on windows and no other alternative build in (or at least I don’t any), I decided (also out of some boredom) to write a tiny C program providing such functionality.
With the DevZero program you can create files of a given size of bytes, filled with null characters (0×00).
It is not really a device like a /dev/zero in unix and has a quite limited functionality, but feel free to expand or modify it, if you have some great ideas.
For …
C Programming, Windows »
It’s only a few days ago, that Rasco published his Chat server in C. With the first view to the code I noticed that it’s a unix only code, but it does not has to be and so I decided to port the program to the Windows platform.
It was only a change of a few lines. I had to put unix headers in a #ifndef _W32 block and add the WSAStartup() function.
I made the port with Dev-C++ 5, but it should be not to difficult to compile it with MinGW …

