Member since 08/09/2006

Name: Pat Kujawa

Location: Bozeman, Montana, USA

Website: www.advanced.pro

7 snippets

3657 profile views

8 Comment(s) Posted

View their favorites



first submission:submitting first snipplet

pckujawa's Recent SnippetsTagged c

« Prev 1 Next »
Read the [best article on the subject - Exploring Secrets of Persistent Application Settings](http://www.devx.com/dotnet/Article/33944/1954) - and then the following links if desired. (Note, I recommend reading [this forum post about settings not bei...
0 1273 posted 13 years ago by pckujawa
Specifically, this code enables you to pass a string from C# into C++ managed code and then get a C++ pointer to the string's chars. [Marshal.StringToHGlobalAnsi Method](http://msdn.microsoft.com/en-us/library/system.runtime.interopservices.marsha...
0 1754 posted 14 years ago by pckujawa
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 561 posted 14 years ago by pckujawa
The GNULib is included in GTK+.
0 481 posted 15 years ago by pckujawa
Useful for checking the status of individual bits.
0 547 posted 15 years ago by pckujawa
Use to get console input from the user for a file name (in the current directory) and read in from that file.
2 563 posted 16 years ago by pckujawa
« Prev 1 Next »