Member since 08/09/2006

Name: Pat Kujawa

Location: Bozeman, Montana, USA

Website: www.advanced.pro

7 snippets

9 profile views

View their favorites


All time reputation: 150


first submission:submitting first snipplet

pckujawa's Recent SnippetsTagged c

« Prev 1 Next »
  1. FAV

    Persisting values in an application between executions and upgrades (.NET)

    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...
    C# 1 views posted 9 years ago pckujawa
  2. FAV

    Pass a string from C# to a C++ DLL in .NET (and get a pointer to the string's chars)

    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...
    C# 8 views posted 11 years ago pckujawa
  3. FAV

    How to start the default internet browser programmatically by using Visual C-Sharp

    C# saved by 4 people 4 views posted 11 years ago pckujawa
  4. FAV

    Obtaining the byte values in a float or double.

    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...
    C 3 views posted 11 years ago pckujawa
  5. FAV

    Using GNULib's GString in C

    The GNULib is included in GTK+.
    Other 1 views posted 11 years ago pckujawa
  6. FAV

    Bitwise checking (bit-testing) in C

    Useful for checking the status of individual bits.
    Other 0 views posted 11 years ago pckujawa
  7. FAV

    Filename input and reading

    Use to get console input from the user for a file name (in the current directory) and read in from that file.
    C++ saved by 2 people 3 views posted 12 years ago pckujawa
« Prev 1 Next »