Profile
Achievement
pckujawa's Recent SnippetsTagged c
- All /
« 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
1692
posted 14 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
2625
posted 15 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
862
posted 16 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
816
posted 17 years ago by pckujawa