22858 total geeks with 3297 solutions
Recent challengers:
best bread maker
 Welcome, you are an anonymous user! [register] [login] Get a yourname@osix.net email address 

Articles

GEEK

User's box
Username:
Password:

Forgot password?
New account

Shoutbox
sefo
anilg, new comments are deleted automaticall y because of some abuse recently
anilg
this is plain wierd. I submitted comments twice to article 950, and they dont seem to be there. Something wrong with the comment code?
CodeX
shout-boxes in general are old + the staff thing happened to everyone after an issue 2 months ago
anilg
/me is no longer staff :(
anilg
Also, osix's shoutbox predated twitter. Heh.

Donate
Donate and help us fund new challenges
Donate!
Due Date: Jul 31
July Goal: $40.00
Gross: $0.00
Net Balance: $0.00
Left to go: $40.00
Contributors


News Feeds
The Register
UK.gov sticks to IE
6 cos it"s more
"cost effective",
innit
T-Mobile UK pumps
out the iPhone 4
Polaroid 300
instant print
camera
NatWest dumps O2
Money
YouTube ups video
time limit
Alleged expenses
fiddlers to face
justice
Nude trampolinist
bounces free from
court
Nexus One phone
rockets to 28,000ft
UK.gov drops £6m on
Google
Fake Firefox update
used to sling
scareware
Slashdot
British ISPs Favour
Well-Connected
Customers
"Bizarre"
Nanobubbles Found
In Strained
Graphene
1-in-1,000 Chance
of Asteroid Impact
In
...
2182?
2 Chinese ISPs
Serve 20% of World
Broadband Users
World"s Fastest
Hybrid OK"d For
Production
Sometimes It"s OK
To Steal My Games
Thermoelectrics
Could Let You Feel
the Heat In Games
KDE SC 4.7 May Use
OpenGL 3 For
Compositing
Perl 6, Early, With
Rakudo Star
Internal Costs Per
Gigabyte —
What Do You Pay?
Articles in topic

C

C: A 24-bit v.3 BMP Primer
by: Christophe - 2007-11-19 23:33:43
Where we will learn how to read in a Bitmap file, process it and write it back to file.
7752 bytes more - viewed 6088 times - comments - rated
C: MD5 File Hash
by: xtremejames183 - 2007-07-17 09:54:53
This code hashes a file using the Message Digest 5 and print its hex code to CHECKSUM.MD5 , like the bsd command (md5/checksum)
5443 bytes more - viewed 11940 times - comments - rated
C: Sort Algorithms - Part III: Recursion and merge sort
by: Sk - 2007-06-14 10:47:58
Recursion offers a couple of interesting ways to solve a problem. One of them can be exploited for an easy and fast sort algorithm, the merge sort.
14159 bytes more - viewed 15790 times - comments - rated
C: Directory listing for Windows in C
by: Sk - 2007-05-27 21:19:44
Recently I found myself needing to retrieve the list of files in a folder to show them along with some basic information. ANSI C doesn't provide a standard way to do this, and, while Linux and UNIX programmers can rely on the output of programs such as "ls", a Windows developper has the ability to use specific APIs.
5126 bytes more - viewed 13200 times - comments - rated
C: Sort Algorithms - Part II: The Fastest Sort Ever!
by: Sk - 2007-05-27 06:19:34
After getting our feet wet with some basic sorting utilities, it's time to move on to a faster algorithm: the counting sort. It can only be used in some special cases, but works like a charm.
6858 bytes more - viewed 10221 times - comments - rated
C: Sorting Algorithms - Part I: The Trivial Ones
by: Sk - 2007-05-04 16:21:09
The ability to sort a vector is essential in many applications, especially if there's the need to show data to the user. This article presents a couple of easy-to-implement algorithms.
8830 bytes more - viewed 5000 times - comments - rated
C: C File Handling II: Advanced File Handling with C
by: noimnot - 2005-11-29 09:02:14
File Handling in C is in fact a simple task. But this does not mean youre limited to do simple things.
13269 bytes more - viewed 72166 times - comments - rated
C: C File Handling
by: noimnot - 2005-11-14 18:16:27
With C, everything from an on-disc file to a printer is a file. To handle files efficiently, the "FILE *" datatype has been introduced.
3228 bytes more - viewed 62183 times - comments - rated
C: Socket Basics for Beginners
by: basileis - 2005-11-01 16:13:28
This article is meant to teach you about the basics of sockets
6790 bytes more - viewed 23639 times - comments - rated
C: Client.c -- a simple example of stream sockets
by: firewall - 2005-03-13 03:26:34
This is a example of stream sockets. It connects to a host and recieves the data sent by the host.
3693 bytes more - viewed 17039 times - comments - rated
C: Introduction to C/Unix Multithread Programming - libpthread
by: BBYUGB - 2005-01-11 23:04:33
An introduction on using libpthread on linux boxes
4146 bytes more - viewed 34306 times - comments - rated
C: Introduction to C/Unix Multiprocess Programming - Fork and Exec
by: BBYUGB - 2004-12-26 18:50:35
We'll just go through some very simple example code, to see how to use fork() and execl().
6589 bytes more - viewed 57118 times - comments - rated
C: PHP Extensions with VS.net
by: jake_null - 2004-09-09 01:36:49
There are a few articles on building PHP extensions online, but most are aged and don't deal with visual studio .net. With the recent work I've been doing on a hefty web project i came to point where regular php code was too slow for my needs and i already knew how to perform the same function with C, so i dove head first into PHP extensions and the Zend C API. If your in the same situation i suggest doing the same.
16394 bytes more - viewed 14691 times - comments - rated
C: MonoAlphabetic Substitution Cipher : Part 5 of a Series
by: typedeaF - 2004-07-16 15:41:40
MonoAlphabetic Substitution Cipher written in C.
Ok, I almost made the mistake of bypassing this cipher. By simply remapping the letters of the alphabet you can create a cipher text with 26! possible keys. Nice.
5807 bytes more - viewed 17941 times - comments - rated
C: Random Key Generator : Part 4 of a series
by: typedeaF - 2004-07-16 15:38:18
Random Key Generator (AKA r33t0 mask maker) written in C.
This program generates a text file with randomly generated data. This is great for making non-predictable masks to use in cryptology programs. Learning how rand() and srand() work is also something every coder should know.
3081 bytes more - viewed 21381 times - comments - rated
C: Character Frequency Analysis : Part 3 of a Series
by: typedeaF - 2004-07-16 15:36:38
Character Frequency Analyzer (AKA Cipher Buster) written in C.
This is a program that reads a plain text file and reports the most commonly occuring alphabetic characters. This will be very important when I introduce a program that attempts to crack a cipher text file. As is, this program is great for making you wonder why the heck the keyboard is mapped so unefficiently.
5304 bytes more - viewed 15909 times - comments - zero rated
C: Multi-Byte XOR Encoding : Part 2 of a series
by: typedeaF - 2004-07-16 15:34:42
Multi-Byte XOR Encoder/Decoder (AKA 8-bit XOR Cipher++) written in C.
Following in the "run it once to encode, run it again to decode" footsteps. Multi-Byte XOR digs a little deeper in C and brings us a little closer to making something that your colleagues will drool over.
4167 bytes more - viewed 13388 times - comments - rated
C: Rot13 Encoding/Decoding : Part 1 of a Series
by: typedeaF - 2004-07-16 15:33:25
Rot13 Encoder/Decoder (AKA shift cipher) written in C.
The first example in a mini-series on basic cryptology in C.
2492 bytes more - viewed 17932 times - comments - rated
C: Raw socket prog
by: firewall - 2004-07-02 23:43:14
This program fills in the headers of UDP and IP protocols.
1993 bytes more - viewed 13489 times - comments - rated
C: Developing a Windows Screen saver
by: Obscurity - 2004-07-01 05:41:16
In this article you'll see how to code a Windows screen saver through the predefined screen saver library. You'll also see some basic GDI code.
5390 bytes more - viewed 18570 times - comments - rated
C: A Crash Course in Using the MySQL C API
by: belarm - 2004-05-07 03:37:56
A quick run-down of the bare minimum you need to connect to and query a MySQL database in C.
8301 bytes more - viewed 27558 times - comments - rated
C: Simple Un-Decryptable Encryption Algorithm
by: Apocolipse - 2004-02-15 21:37:20
This artille will show some simple encryption methods used in C++. It will also show some un-decryptable methods used to encrypt strings.
1411 bytes more - viewed 19896 times - comments - rated
C: Dynamic argument list
by: shab - 2004-01-05 00:31:04
If your reletivly new to C/C++ you might not have noticed it, but im rather sure you have used it. Useful when your writing functions like for example printf.
2604 bytes more - viewed 11370 times - comments - rated
C: An Introduction to C++ Templates
by: bitshift - 2003-12-31 18:36:32
C++ templates illustrated by a practical example: a generic Ring Buffer.
3124 bytes more - viewed 10870 times - comments - zero rated
C: An introduction to hash tables
by: Renegade - 2003-12-23 01:10:14
How to implement a hash table in C++
2787 bytes more - viewed 45326 times - comments - rated
C: Introduction to g++
by: roel_vz - 2003-12-15 16:41:16
This article is a short intruction on how to use g++: the c++ compiler for linux. It also explains how to use a makefile to do most of the work for you.
I write this because when I started programming, I used to always have trouble with finding out how to actually run my programs. Many programming tutorials (for different programming languages) tell you how to write your programs, but not how to actually compile or run them.
It is also my first article, I hope you like it :)
3430 bytes more - viewed 10624 times - comments - rated
C: C++ class function, cast to C Work Around
by: shab - 2003-12-11 22:11:01
I don't know if you have ever encountered this problem, I have several times when working with for example threads but also with toolkits such as FLTK that uses callback for events, I want to cast a class function but it just won't accept. Here is a workaround for it.
1339 bytes more - viewed 12225 times - comments - rated
C: FLTK - The fun have just begun
by: shab - 2003-12-11 21:49:35
FLTK is a crossplatform GUI toolkit, similias to wxWindow and GTK, I personally prefer is since it's soooo simple to use. It's almost as easy as VB(Just more logical). I will explain it for the version 1.1. There is a version 2 out I just havn't looked @ it ^_^
4717 bytes more - viewed 9417 times - comments - zero rated
C: Printing out ASCII chars in C
by: dimport - 2003-06-21 07:19:46
A program to print out all the ASCII char's into a text file called ascii.txt, useful for beginner C coders.
903 bytes more - viewed 20160 times - comments - rated
C: Grant your program the permissions it needs!
by: dimport - 2003-06-21 07:19:46
I use this code in my TaskManager to gain debug privledges so I can terminate processes that I otherwise couldn't terminate. You can also use this code to remove permissions.
3216 bytes more - viewed 9024 times - comments - zero rated
C: Paranoid - Write your own IE Clean up routines
by: dimport - 2003-06-21 07:19:46
Would you like to write your own application to tidy up incriminating evidence held by IE. Here are a couple of simple C methods for clearing out the temporary files, and deleting history records. You can add this to an application and set it to a timer of your choice
3660 bytes more - viewed 7072 times - comments - rated
C: Introduction to C
by: dimport - 2003-06-21 07:19:46
Welcome to the world of C programming. C is a great language to begin with it will set you in good stead for your life in programming. This beginner tutorial will show you the basics of C syntax and show you some introductory code, this beginners step will give you a glimpse into what C is all about. Without further ado lets write some code. Each line is commented and broken down later, so don’t worry about absorbing it all at once.
6615 bytes more - viewed 4320 times - comments - rated
C: Getting started with OpenGL
by: dimport - 2003-06-21 07:19:46
Welcome to the first tutorial on OpenGL. This tutorial assumes that you have basic knowledge of c++. In this tutorial you will learn how to initialize an OpenGL window and how to display a 3D triangle on the screen.
5998 bytes more - viewed 4810 times - comments - rated
C: Compilers Series Introduction
by: dimport - 2003-06-21 07:19:46
Curious about compilers and all the tech that goes into them? Well I'm starting a series on how to make a compiler from scratch. It's not as hard as you think, and the technologies in compilers are usefull elsewhere too.
6821 bytes more - viewed 4135 times - comments - rated
C: Calculator In C#
by: dimport - 2003-06-21 07:19:46
This is a simple calculator that can perform addition, subtraction, multiplication and division.
It has a graphical interface using forms.
4854 bytes more - viewed 19167 times - comments - rated
C: Grab Bag of API Goodies
by: dimport - 2003-06-21 07:19:46
Loads of funky tricks for screwing with windows from C
4986 bytes more - viewed 6778 times - comments - rated
C: Sharing directories in 9X/Me
by: dimport - 2003-06-21 07:19:46
No remote administration tool would be complete without the ability to create sharepoints. The problem is, a user may become suspicious if they see the little hand under the folder in Windoze Explorer. The code source code below is a simple routine for sharing folders and you can even prevent the little hand under the folder (SHI50F_SYSTEM).
3665 bytes more - viewed 6998 times - comments - rated
C: Word Generator for windows
by: dimport - 2003-06-21 07:19:46
You would have a thing between a random word(like a passwort) or a key. Get'it! With this little proggie. It is based on the randomize functions rand() and srand(). Fast.
1857 bytes more - viewed 7414 times - comments - rated
C: Verifying Credit Card Numbers
by: dimport - 2003-06-21 07:19:46
The last digit of a credit card is a check digit that is used to detect keystroke errors when a credit card is entered into a computer. In this article we implement a check digit algorithm which is public(ISO 2894), but is not widely known.
4469 bytes more - viewed 18887 times - comments - rated
C: SMTP Stress Tester
by: dimport - 2003-06-21 07:19:46
SMTP stress checker is a utility written in C++ for stress testing SMTP servers. Using this we can send a large number of mails within a short time in order to check the capacity of the SMTP server.
338 bytes more - viewed 7852 times - comments - zero rated
C: *nix based irc client
by: dimport - 2003-06-21 07:19:46
running a *nix based system, then try this for size. ProjectXs very own blexim aka mat999 has produced a lovely little c based irc client, with a seperate libray class, with all the wrappered irc functionality.
508 bytes more - viewed 4166 times - comments - rated
C: c# Sockets / Networking Example
by: dimport - 2003-06-21 07:19:46
Understanding sockets in C# is relatively easy, especially if you have experience in Java (as most C# stuff is a rip off of Java). Heres a simple client / server application which allows you to push data between network ip / ports in C#
564 bytes more - viewed 16675 times - comments - zero rated
C: ROT13 Encoder in C#
by: dimport - 2003-06-21 07:19:46
This is a simple ROT13 encoder in C#.
2095 bytes more - viewed 10103 times - comments - zero rated
C: Query a MySQL DB with C#
by: dimport - 2003-06-21 07:19:46
This is a simple example that uses C# to query a MySQL database for information.
348 bytes more - viewed 7576 times - comments - zero rated
C: Read/Write bit
by: dimport - 2003-06-21 07:19:46
This example shows how to read and write bits in C++ , most of this will be correct for c/c# users too with some minor modifications
1609 bytes more - viewed 14870 times - comments - zero rated
C: Interview with Bjarne Stroustrup
by: dimport - 2003-06-21 07:19:46
For those of you who don't know, Bjarne is the guy who created C++. So any of you elite 0day c0d0rZ might be schooled by this guy, obviously, he knows his stuff :)).
6243 bytes more - viewed 6166 times - comments - rated
C: Simple encryption using XOR in C/C++
by: dimport - 2003-06-21 07:19:46
Following in the footsteps of our other encryption articles in Perl, C# and Java. Here is an example of how to perform some simple encryption in C/C++ by using the XOR method, also shown is an example of extending the XOR method by using a BLOCK.
1366 bytes more - viewed 156016 times - comments - rated
C: Server to execute system commands
by: dimport - 2003-06-21 07:19:46
Ever wondered how trojans work or just want to run system commands remotely like if you were on vacation or something didnt have access to your own PC? Well here it is...by changing a few lines and writing up a client you can make quite a powerful server out of this.
I'm sorry bout all the *nix gurus out there that want to see *nix sockets..this is a winsock only, tho most of it will work unless i state otherwise in my comments.
1227 bytes more - viewed 7194 times - comments - rated
C: Winsock made easy
by: dimport - 2003-06-21 07:19:46
Well .. easyish! This program shows you how to do a simple client server communication program utilising winsock.
2258 bytes more - viewed 9320 times - comments - rated
C: Coding Techniques.
by: rj - 2003-06-21 07:19:46
When you talk to others about coding, a lot of people are pretty avid about the main language in which they code, whether it be C, C++, Perl, Java, Visual Basic, Assembly, etc... But the way you code has to be your most important consideration
3306 bytes more - viewed 10112 times - comments - rated
C: SDL for Beginners
by: dimport - 2003-06-21 07:19:46
Introduction:

SDL, which stands for Simple Directmedia Layer, is a library similar to DirectX except that its multi
platform. The advantage of using it is that it's very easy to port apps made using it to other OS's
without modifying the code much.
6902 bytes more - viewed 9984 times - comments - rated
C: Class Clusters and You
by: dimport - 2003-06-21 07:19:46
Ever wonder what these new languages like C#, Java, Ruby and Objective-C can really do for you? I thought I'd mention a little-known but incredibly cool design pattern that relies on dynamic languages.
I also mention how you might make it happen with C++, for the less enlightened (or lucky) users out there.
6477 bytes more - viewed 7780 times - comments - rated
C: Doing the XOR Flip
by: dimport - 2003-06-21 07:19:46
Have you ever wanted to switch two variables around, lets say a and b, but all you can do is use the hardway. Heres some ideas on using an XOR Flip to get more elegant results.
1472 bytes more - viewed 6908 times - comments - rated
C: hiding a proc in win32
by: dimport - 2003-06-21 07:19:46
so, you are coding a keylogger, backdoor, virus... (what ever), just one thing is wrong...
if someone press ctrl+alt+del, they can see your process and terminate it... that's not very good... Heres how to conceal you application.
723 bytes more - viewed 11779 times - comments - rated
C: Implementing the Blowfish encryption algorithm
by: dimport - 2003-06-21 07:19:46
You want to write an encryption app? Unless you have your own encryption algorithm, you'll probably take a license-free one like Blowfish or Rijndael. I'm going to show you the easiest way (I think) to implement Blowfish into your program.
1394 bytes more - viewed 14958 times - comments - zero rated
C: How to write a HOOKLESS key logger for Windows
by: dimport - 2003-06-21 07:19:46
Many key loggers use a keyboard hook to capture keystrokes. One method of detecting them is to just look for any program that is hooking the keybaord. Simple enough.
845 bytes more - viewed 57105 times - comments - rated
C: C Bubble Sort Loop
by: dimport - 2003-06-21 07:19:46
A nice way of arranging say a set of numbers is to use a bubble sort algorithm, this nice example written by insurgent shows how to implement it in C.
598 bytes more - viewed 35968 times - comments - rated
C: Arrays for beginners
by: dimport - 2003-06-21 07:19:46
A Vector ( most commonly know as as Array) is just a lot of consecutive elements, all from the same type, which can be individualy acessed from a single name, that is the name of the Array. As a sample of what an array can do, look at the following.
1450 bytes more - viewed 4289 times - comments - rated
C: Using Recursion In Problem Solving
by: dimport - 2003-06-21 07:19:46
Recursion is, a function calling itself, directly or indirectly and can be a powerful tool when solving problems, as an example, our problem is finding the nth number in the Fibonacci sequence.
2255 bytes more - viewed 9675 times - comments - rated
C: Using the C/C++ preprocessor.
by: dimport - 2003-06-21 07:19:46
There are many different usage for the C/C++ preprocessor, but first of all, heres a little background on what they are, and what theyre used for.
2621 bytes more - viewed 9770 times - comments - zero rated
C: Basic AI Example using Tic-Tac-Toe
by: dimport - 2003-06-21 07:19:46
Aritificial Intelligence is often a topic that people assume to be extremely difficult when given the task to code it. This, in some cases, is true, but most often the solution is far easier than imagined. Here is a simple example of AI used in a game of Tic-Tac-Toe to show one way of creating AI.
1151 bytes more - viewed 32742 times - comments - zero rated
C: References
by: dimport - 2003-06-21 07:19:46
References, provide the functionality of pointers, with a somewhat simpler context, theyre sometimes referred to as the thinking mans pointer, so, if you dislike the relative annoyance of pointers, read on.
2348 bytes more - viewed 3751 times - comments - zero rated
C: Basic C++ Pointer Theory
by: dimport - 2003-06-21 07:19:46
Over the past few weeks I’ve heard several people say they’ve tried to learn c++ but get stuck at pointers and give up, its a much talked about concept, some people say its only necessary to know referencing as opposed to pointers, some say the way c++ handles pointers is awful, either way to become a proficient c++ programmer you need to understand pointers.
2792 bytes more - viewed 9287 times - comments - rated
C: Hungarian Notation
by: dimport - 2003-06-21 07:19:46
Hungarian notation was first devised at Microsoft by a guy called Charles Simonyi initially to enable the many programmers working on the same project to understand what was going on someone else's source code.
953 bytes more - viewed 4229 times - comments - rated
C: simple server using sockets in C
by: dimport - 2003-06-21 07:19:46
This is a tutorial on how to write a small server program using sockets, which sends the current uptime to a remote client. I'll explain the important steps by commenting the sourcecode. Caution windoze users: this tutorial does NOT work with WinSock, it uses only *NIX based functions.
3829 bytes more - viewed 8426 times - comments - rated
C: Moving data between data types...
by: dimport - 2003-06-21 07:19:46
If you're writing for a example a encryption program that uses rijndael(aes) and you ask for the input of a user and get in in char, then the rijndael requires you to use a long when you parse it for the encryption function.
1643 bytes more - viewed 7155 times - comments - rated
C: Solving Simple Programming Challenges
by: dimport - 2003-06-21 07:19:46
Well, I noticed that most of articles are for medium to advanced level programmers. I`m trying to write a simple tutorial, so people can understand how to solve programming problems. For this; here is a simple problem...
1976 bytes more - viewed 9424 times - comments - rated
C: Arrays
by: dimport - 2003-06-21 07:19:46
Arrays are probably the most basic data structure you’ll encounter in your c/c++ adventures, however, I'm all for keeping it simple, they provide a lot of flexibility and are a damn sight easier to read/maintain than a balanced AVL tree.
4190 bytes more - viewed 4133 times - comments - zero rated
C: The
by: dimport - 2003-06-21 07:19:46
The ‘this’ pointer, is a hidden parameter in every nonstatic member function (a function thats part of a class).
2224 bytes more - viewed 7512 times - comments - zero rated
C: Direct X Part 2: GDI
by: dimport - 2003-06-21 07:19:46
After last time you should know how win32 programs work, the concepts behind message handlers and all that jive, alas today we wont be using direct x (probably wont be next time either), today im going to talk about GDI.
3682 bytes more - viewed 4498 times - comments - zero rated
C: Arrays in C: A simple example for beginners
by: dimport - 2003-06-21 07:19:46
A basic explanation of arrays in C.
Any comments, add-ons are more than awaited, as I am eager to get all the input from more experienced folks like you all.
10511 bytes more - viewed 15258 times - comments - rated
C: Accepting command line arguments
by: dimport - 2003-06-21 07:19:46
Accepting command line arguments is still a fairly useful thing to be able to do in these GUI intensive times, most console based programs these days don’t just run directly, they accept certain parameters, usually an action and a file to perform that action on.
1422 bytes more - viewed 7440 times - comments - zero rated
C: Direct X Part 3: GDI Fonts/Bitmaps
by: dimport - 2003-06-21 07:19:46
One more lesson before we get to the good stuff, honest, today I’m going to cover font and bitmap resources w/gdi as most of the concepts apply under direct x, and they're a damn site easier to understand this way.
5104 bytes more - viewed 7822 times - comments - rated
C: Stack example in C
by: dimport - 2003-06-21 07:19:46
muzzy writes "Here's some code for you kids. It demonstrates the concept of stack, implemented with a linked list mechanism to support virtually infinitely large stack sizes. Happy reading."
3651 bytes more - viewed 11726 times - comments - rated
C: Towers of hanoi w/recursion
by: dimport - 2003-06-21 07:19:46
Because booto and chawmp completely slated me for my last example of recursion, here's another, and as a sidenote it solves a particularly cool problem.
1726 bytes more - viewed 22374 times - comments - zero rated
C: Searching an array
by: dimport - 2003-06-21 07:19:46
The following basically demonstrates a simple and efficient way of searching an array.
1817 bytes more - viewed 7619 times - comments - rated
C: LIFO implementation
by: dimport - 2003-06-21 07:19:46
An incredibly basic LIFO (last in first out) implementation, add your own switch case menu for maximum effect you.
990 bytes more - viewed 9438 times - comments - rated
C: A simple POP3 Bruteforce tool in C
by: dimport - 2003-06-21 07:19:46
Ever wondered how those brute force tools work?
Well, how would you find out? ... Just code your own.
There is nothing behind it, just trying and re-trying.
Actually a pretty stupid method of attack.
4607 bytes more - viewed 16936 times - comments - rated
C: A case for C I/O over iostream
by: dimport - 2003-06-21 07:19:46
I find it hard to understand the excitement over Vector classes, iostream etc. Having tried it against good ol printf etc.. I've don't feel it's particularly wondrous..
2007 bytes more - viewed 6352 times - comments - rated
C: ROL/ROR in C
by: dimport - 2003-06-21 07:19:46
Here is a tips for anyone wondering about how to do ROR, ROL (rotate) ASM instructions inC code. For whom that don't know exactly what it is, here's an explanation...
632 bytes more - viewed 13722 times - comments - rated
C: Generating substution key using keyword.
by: dimport - 2003-06-21 07:19:46
Yeah, remembing a substitution key can be a real pain in the ass. :( So therefore there is a technique to work one out using a keyword. Here is an example. I will also demonstrate code that generate a key, but first a normal, key.
924 bytes more - viewed 3725 times - comments - zero rated
C: Introduction to multithreaded win32 programming
by: dimport - 2003-06-21 07:19:46
Ok, so when i say win32 i mean console win32, the concepts are interchangeable between console and GUI apps, however, its just easier to understand this way.
3903 bytes more - viewed 7471 times - comments - rated
C: Win32 Programming Basics
by: dimport - 2003-06-21 07:19:46
A few people on the CA forums have expressed an interest in learning win32, so im going to gradually work through the fundamentals over a few articles.
6935 bytes more - viewed 11217 times - comments - rated
C: Regex in C
by: dimport - 2003-06-21 07:19:46
Yes, isn't the posix regex just wonderful they have it all, so I wondered why are they not in C? Well, I found the answer and I got happy, they are there, and heres how to use them
2776 bytes more - viewed 43102 times - comments - rated
C: Unix sockets, in C
by: dimport - 2003-06-21 07:19:46
Want to write a ircbot for your *nix machines irc server, but you can't figure out how to use sockets in C, well Im here to rescue you :)
2381 bytes more - viewed 4590 times - comments - rated
C: Implementing and utilising dll
by: dimport - 2003-06-21 07:19:46
If you dont know, exactly, what a dll is, you probably shouldnt be reading this, as i wont explain it here. Certain people arent too keen on dll’s, i find they have their uses, plugin systems namely, ive had a lot of success using them in that context.
1689 bytes more - viewed 6641 times - comments - rated
C: A case for iostream over stdio
by: dimport - 2003-06-21 07:19:46
A while ago this article detailed a case for using stdio over c++ vector classes, me being the nice individual i am have decided to put forward the other side of the coin.
1357 bytes more - viewed 10912 times - comments - zero rated
C: Secure coding 2
by: dimport - 2003-06-21 07:19:46
Continuation of the Secure coding article that was published earlier.
1820 bytes more - viewed 6886 times - comments - zero rated
C: Generating random numbers w/c++
by: dimport - 2003-06-21 07:19:46
Alright, not strictly random numbers, because that's essentially impossible, but random to the causal observer, there are people who ramble on about expressly needing truly random numbers and how the timer method simply wont do for their dice rolling program or some such nonsense, fortunately for the sane amongst us, i don't cater for those people.
1648 bytes more - viewed 12222 times - comments - zero rated
C: Dynamic memory hijinx w/c++
by: dimport - 2003-06-21 07:19:46
Usually when you create a console program, you know how much memory you’ll need because you know how many variables there are, there are instances, however, where the amount of memory you need is determined at runtime, say if you wanted a user to input a variable number of values.
1342 bytes more - viewed 4939 times - comments - zero rated
C: Using Templates W/C++
by: dimport - 2003-06-21 07:19:46
Templates are a powerful tool especially when you‘re creating large programs that need frequent maintenance, they allow you to create generic functions and classes that take any type as parameters and return a value without any of that tricky overloading business.
3271 bytes more - viewed 10231 times - comments - rated
C: The UDP/IP protocol, In C
by: dimport - 2003-06-21 07:19:46
The UDP protocol works very much like the TCP/IP, except that it has no connections. Heres how it works, and some examples on how to play with it.
5252 bytes more - viewed 14615 times - comments - rated
C: Creating Skinnable Windows.
by: dimport - 2003-06-21 07:19:46
Skins are the ’essential’ thing for desktop applications these days, just about everything from windows media player to kazaa supports them, and so should your application, its easier than it looks to implement providing you know some win32 basics, so read on.
5261 bytes more - viewed 8454 times - comments - rated
C: Extracting MAC Addresses Programmatically
by: dimport - 2003-06-21 07:19:46
As you're probably aware, MAC stands for media access control, every NIC comes with a unique MAC address, think of it as a serial number, it basically controls access to the physical transmission medium on a network (ever wonder why you don't need to enter a u/p for cable modem connections ? its all done via your MAC address)
3099 bytes more - viewed 15988 times - comments - rated

Features

The Forums
Re: unable to
load level 3
images

(CodeX/Geek Tips)
unable to load
level 3 images

(viv0411/Geek Tips)
Re: reverser 8
(Zaphod/Geek Tips)
Re: Bonus 4 -
Sound Waves

(adi2004/Geek Tips)
Re: Level 1
(sajchurchey/Geek Tips)

Recent Blogs
Glad to be back
here in OSIX
Free Laptop
Prams Buggies
and Pushchairs
0 comments
bb's blog
Fri 26th Feb 9am
First one
1 comment
Action's blog
Tue 12th Jan 10pm
A Daily
Profanity at
dailyprofanity.
com
0 comments
bb's blog
Mon 21st Dec 11am

Current Poll
What's an
appropriate
response to a
hacker?

Contact Police/Authorit ies
Give Praise
Do Nothing
Ban Known IPs (but proxy option remains)
Deactivate Account
Delete from HoFs
Hall of Shame
Other (Please Comment)



View Results
(15 Comments)

Site Comments
Buy D
(Anonymous / Creating a Lexical Analyzer in C / amisauv's blog)
Fationable
PUMA Run

(Anonymous / agh, the irc java applet / Renegade's blog)
Fationable
PUMA Run

(Anonymous / my tut is uberl33t...read / Renegade's blog)
Fationable
PUMA Run

(Anonymous / hey if i get the power to / Renegade's blog)
Fationable
PUMA Run

(Anonymous / bb: what do you mean NEAR / Renegade's blog)
Fationable
PUMA Run

(Anonymous / my alergy medicine is mak / Renegade's blog)
Fationable
PUMA Run

(Anonymous / ahh, the joy of ham. / Renegade's blog)
Fationable
PUMA Run

(Anonymous / because that's what chris / Renegade's blog)
Fationable
PUMA Run

(Anonymous / damn! caffene rush! put c / Renegade's blog)
http://www.gucc
iusaoutlet.net/
index.php?ma...

(Anonymous / Glad to be back here in OSIX / jericocampos's blog)


     
Your Ad Here
 
Copyright Open Source Institute, 2006