|
|
Category: source:c:general
|
|
|
|
Category: source:c:general
|
|
Description: Based on the sort algorithm in bubblesort.c which is as simple as it gets in the sorting business. Added basic improvements to make a bi-directional sweep sort. Added check to short-circuit sort operation as soon as the program detects that the array is sorted. Limit sweeping of values to the unsorted middle of the array. Also added some debugging messages so one can follow the progress of a sort.
|
|
Platform: all
|
|
Author: mwberryman
|
 |
| |
|
|
|
|
|
|
Category: source:c:general
|
|
Description: Create multiple POSIX thread processes and wait for each one to complete.
|
|
Platform: unix
|
|
Author: detour
|
 |
| |
|
|
|
|
|
|
Category: source:c:general
|
|
Description: Somewhat simple example on creating your own print and how to use va_list, va_arg, etc.. Using these functions, you can do more than just create your own print, You can use this example to create your function using strings, integers, long integers, etc.. Enjoy.
|
|
Platform: all
|
|
Author: mind
|
 |
| |
|
|
|
|
|
|
Category: source:c:general
|
|
Description: This is a short simple example on using if() and operators together.
|
|
Platform: unix/win
|
|
Author: mind
|
 |
| |
|
|
|
|
|
|
Category: source:c:general
|
|
Description: Example of a while loop
|
|
Platform: unix/win
|
|
Author: mind
|
 |
| |
|
|
|
|
|
|
Category: source:c:general
|
|
Description: Example of printing text to the screen
|
|
Platform: unix/win
|
|
Author: mind
|
 |
| |
|
|
|
|
|
|
Category: source:c:general
|
|
Description: Example of a for(;;) loop
|
|
Platform: unix/win
|
|
Author: mind
|
 |
| |
|
|
|
|