Welcome To Snipplr


Everyone's Recent Snippets Tagged c



usage: SomeDropDownList.Set("Some String Value");
1 14 posted 11 years ago by naspinski
Código para proyecto de Arquitectura y Organización de Computadores con C++ y lenguaje ensamblador.
0 9 posted 11 years ago by bedomax
This uses the concatenation operator "##" to insert a comment "//"
0 51 posted 11 years ago by jimfred
This function provides C# with functionality similar to the apparently deprecated my.Computer.FileSystem.FindInFiles under the Microsoft.VisualBasic namespace. Example usage: IEnumerable<string> oemFiles = FindInFiles(...
1 25 posted 11 years ago by jimfred
Código en C con Ensamblador para GCC
0 18 posted 11 years ago by bedomax
The Visual Studio output window will display "Detected memory leaks!" with a memory allocation number, for example, {145}. See Memory Leak Detection Enabling. Using the debugger (without changing code) see: http://msdn.microsoft.com/en-us/library/...
1 26 posted 11 years ago by jimfred
0 20 posted 11 years ago by iTony
Not my code - see header in source
0 38 posted 11 years ago by rwczippy
this doesn't work at all.
0 15 posted 11 years ago by itsok2kry
1 26 posted 11 years ago by mamoo
The bugged version: Somehow, it prints random characters to me like [] except the spaces filled in and other accented letters when I input more parenthesis and longer input. How to use: example-> input: 3 1+2 (1+2)*(6-2) 6-7*(9*10)/8 ou...
0 31 posted 11 years ago by Mcgee_00
This routine can be used to copy the byte values of a float or double. The "isBigEndian" variable needs to be determined (most PCs are little-endian, whereas most embedded microprocessors are big-endian). Instead of using unsigned chars, it can be us...
0 13 posted 11 years ago by pckujawa
0 19 posted 11 years ago by tkf
The GNULib is included in GTK+.
0 15 posted 11 years ago by pckujawa
Useful for checking the status of individual bits.
0 9 posted 11 years ago by pckujawa
This example shows how to compile the hello.c file out of the fuse source tar.
0 12 posted 11 years ago by narkisr
1 15 posted 11 years ago by Juanje
How to use WebClient to post to an ASP.Net page and maintain viewstate for proxy purposes.
0 14 posted 11 years ago by BlueCockatoo
I have not tested it yet but the author claims to make your printer show some random messages.
0 13 posted 12 years ago by planetcall
0 17 posted 12 years ago by udayrayala
In Ruby you can write 5.times { print "Hello World" } . With a simple extension method I was able to do something similar with C#.
0 16 posted 12 years ago by Soft
This adds the tag and its innards to the head of an asp.net document. Can be any tag but this one adds the global.js to the head.
0 27 posted 12 years ago by ad5qa
This demonstrates how to make your own console "scripts" using C -- for example, you could capitalize every character that comes in. Tweak the line labelled "TWEAK THIS LINE" in order to get it to do what you want. This particular example will add...
1 18 posted 12 years ago by darkphotn
3 22 posted 12 years ago by yuconner
this pointers are making me dizzy, so just for a reference i'll keep them here.
1 21 posted 12 years ago by iTony