1. hb_budget_szinput_b7 | Flickr - Photo Sharing!
hb_budget_szinput_b7 Want to comment on this photo? Sign up for a free account, or sign in (if you're already a member). By wingfish No real name given
2. Encryption update [Archive] - CodeGuru Forums
m_nSize = strlen(szInput); m_nPadding = (8-(m_nSize%8)); m_nPadding += m_nSize; for(int x=m_nSize; x<m_nPadding; x++) szInput[x]='\0';
3. Escape characters [Archive] - CodeGuru Forums
// This code works (hard-coded szinput) szInput = "\r"; if (m_pCharSearch->GetStringUntilChar(&szReturn, szInput, false) == 1) // This code doesn't work (szInput ...
4. string question (char*) [Archive] - DevX.com Forums
void show(char* szInput) {for(int i=0; i<strlen(szInput); i++) {char * currentLetter = &szInput[i]; printf("%s\n",currentLetter);
5. CRC_String
long _stdcall CRC_String(const char *szInput, long options); Returns (VB6/C) Long: The return value is the value of the CRC-32 checksum.
6. ExplodeString( p_szOutput[][], p_nMax, p_nSize, p_szInput[], p ...
[Archive] ExplodeString( p_szOutput[][], p_nMax, p_nSize, p_szInput[], p_szDelimiter ) Code Snippets/Tutorials
7. Pointer to Pointers?
void ConvertCharToString(char* szInput, System::String^ strOutput) strOutput = Marshal::PtrToStringAnsi(static_cast<System::IntPtr>(szInput));
8. strlen - C++ Reference
... int main () { char szInput[256]; printf ("Enter a sentence: "); gets (szInput); printf ("The sentence entered is %u characters long.\n",strlen(szInput)); return 0; }
9. strcmp - C++ Reference
Compares the C string str1 to the C string str2. This function starts comparing the first character of each string. If they are equal to each other, ...
10. Re: Pointer to Pointers?
void ConvertCharToString(char* szInput, System::String^% strOutput) ... ... That worked perfectly. Thanks! I wasn't even aware of the % operator. :)