14,927,915 members
Home / Discussions / C / C++ / MFC

# C / C++ / MFC

 Re: WaitForMultipleObjects getting access violation in Worker Thread ForNow10-May-21 4:51 ForNow 10-May-21 4:51
 Re: WaitForMultipleObjects getting access violation in Worker Thread `Randor` 11-May-21 12:30 `Randor` 11-May-21 12:30
 Re: WaitForMultipleObjects getting access violation in Worker Thread ForNow12-May-21 1:36 ForNow 12-May-21 1:36
 Re: WaitForMultipleObjects getting access violation in Worker Thread Victor Nijegorodov12-May-21 2:00 Victor Nijegorodov 12-May-21 2:00
 Re: WaitForMultipleObjects getting access violation in Worker Thread ForNow12-May-21 2:30 ForNow 12-May-21 2:30
 Re: WaitForMultipleObjects getting access violation in Worker Thread Victor Nijegorodov12-May-21 2:37 Victor Nijegorodov 12-May-21 2:37
 Re: WaitForMultipleObjects getting access violation in Worker Thread ForNow12-May-21 2:47 ForNow 12-May-21 2:47
 C, Ajay Kumar May20214-May-21 20:49 Ajay Kumar May2021 4-May-21 20:49
 Copy Code ```Question: Replace all the vowels of the given input string with a single digit number. Input: String of length L and all lower-case letters. Output: Input String replaced with the digit. Program explanation: Replace all the vowels in the given input string with a single digit number you get after all the below steps. Step 1: Get the index of the vowel in the given input. Step 2: Multiply the index with 100. Step 3: Sum all the prime numbers between 1 and the resulting number from last step. Step 4: Add the digits of the number you get from the last step until you get a single digit. Step 5: Now, Replace the vowel with the digit from the last step.``` Input: hello Output: h7ll9 Explanation: Step 1: First vowel found at index 1. Step 2: 1 * 100 = 100 Step 3: Sum of prime numbers between 1 and 100 is 1060 Step 4: Sum of each digit until we get single digit: = 1 + 0 + 6 + 0 = 7 Step 5: Replace e with 7 Output now: h7llo Step 1: Next vowel found at index 4. Step 2: 4 * 100 = 400 Step 3: Sum of prime numbers between 1 and 400 is 13887 Step 4: Sum of each digit until we get single digit: = 1 + 3 + 8 + 8 + 7 = 27 = 2 + 7 = 9 Step 5: Replace o with 9 Final output: h7ll9 Example 2: Input : replace this Output. : r7pl9c1 th5s
 Re: C, Richard MacCutchan4-May-21 21:23 Richard MacCutchan 4-May-21 21:23
 Re: C, Gerry Schmitz5-May-21 8:29 Gerry Schmitz 5-May-21 8:29
 C2065 'IUrlHistoryStg2Ptr': undeclared identifier Saikat_EPAM28-Apr-21 22:25 Saikat_EPAM 28-Apr-21 22:25
 Re: C2065 'IUrlHistoryStg2Ptr': undeclared identifier Richard MacCutchan28-Apr-21 23:12 Richard MacCutchan 28-Apr-21 23:12
 Re: C2065 'IUrlHistoryStg2Ptr': undeclared identifier CPallini29-Apr-21 0:20 CPallini 29-Apr-21 0:20
 Re: C2065 'IUrlHistoryStg2Ptr': undeclared identifier Victor Nijegorodov29-Apr-21 1:51 Victor Nijegorodov 29-Apr-21 1:51
 Re: C2065 'IUrlHistoryStg2Ptr': undeclared identifier Richard MacCutchan29-Apr-21 2:18 Richard MacCutchan 29-Apr-21 2:18
 How to "link" two C++ applications ? Member 1496877128-Apr-21 4:41 Member 14968771 28-Apr-21 4:41
 Re: How to "link" two C++ applications ? Richard MacCutchan28-Apr-21 5:41 Richard MacCutchan 28-Apr-21 5:41
 Re: How to "link" two C++ applications ? Member 1496877128-Apr-21 8:06 Member 14968771 28-Apr-21 8:06
 Re: How to "link" two C++ applications ? Sean Ewington28-Apr-21 5:45 Sean Ewington 28-Apr-21 5:45
 WSARecv question ForNow25-Apr-21 17:17 ForNow 25-Apr-21 17:17
 CAyncSocket::Detach Fails _AFX_SOCK_THREAD_STATE* pState-> m_hSocketWindow == NULL ForNow25-Apr-21 3:57 ForNow 25-Apr-21 3:57
 Re: CAyncSocket::Detach Fails _AFX_SOCK_THREAD_STATE* pState-> m_hSocketWindow == NULL Mircea Neacsu25-Apr-21 5:38 Mircea Neacsu 25-Apr-21 5:38
 Re: CAyncSocket::Detach Fails _AFX_SOCK_THREAD_STATE* pState-> m_hSocketWindow == NULL ForNow25-Apr-21 5:52 ForNow 25-Apr-21 5:52
 Re: CAyncSocket::Detach Fails _AFX_SOCK_THREAD_STATE* pState-> m_hSocketWindow == NULL Victor Nijegorodov25-Apr-21 5:49 Victor Nijegorodov 25-Apr-21 5:49
 Re: CAyncSocket::Detach Fails _AFX_SOCK_THREAD_STATE* pState-> m_hSocketWindow == NULL ForNow25-Apr-21 6:01 ForNow 25-Apr-21 6:01
 Last Visit: 31-Dec-99 18:00     Last Update: 17-Jun-21 19:13 Refresh ᐊ Prev1234567891011 Next ᐅ