Advertisement
Advertisement
| 03.26.2008 at 07:47AM PDT, ID: 23270567 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
|
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: |
LPCTSTR GenerateArticleID(LPCTSTR pInitial,DWORD dwNum, DWORD dwSize, LPTSTR pBuf) {
TCHAR buf[64];
DWORD dwPad = dwSize - _tcslen(pInitial);
_itot(dwNum,buf,36);
DWORD dwLen = (DWORD)_tcslen(buf);
if (dwLen + _tcslen(pInitial) > 8) return NULL;
_stprintf(pBuf,_T("%s%0*.*s"),pInitial,dwPad,dwPad,buf);
return pBuf;
}
|
| Microsoft |
| Apple |
| Internet |
| Gamers |
| Digital Living |
| Virus & Spyware |
| Hardware |
| Software |
| ITPro |
| Developer |
| Storage |
| OS |
| Database |
| Security |
| Programming |
| Web Development |
| Networking |
| Other |
| Community Support |
| 03.26.2008 at 09:27AM PDT, ID: 21213380 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: |
bool getArticleNumAndSizeFromId(LPCTSTR szArticleId,
LPTSTR szArticle, DWORD dwArticleSiz,
DWORD & dwNum, DWORD & dwSiz)
{
dwSiz = _tcslen(szArticleId);
DWORD dwOff = _tcscspn(szArticleId, "0123456789abcdef");
if (dwOff == 0 || dwOff >= dwSiz)
return false; // no hex digits
char* sentinel = NULL;
dwNum = _tcstol(&szArticleId[dwOff], &sentinel, 16);
if (sentinel == NULL || *sentinel != '\0')
return false; // non-digits stopped conversion
if (dwArticleSiz <= dwOff)
return false; // buffer given is too small
_tcsncpy(szArticle, szArticleId, dwOff);
szArticle[dwOff] = TCHAR(0);
return true;
}
|
| 03.26.2008 at 09:33AM PDT, ID: 21213462 |
| 03.26.2008 at 10:19AM PDT, ID: 21214024 |
| 03.26.2008 at 01:37PM PDT, ID: 21215938 |
| 03.27.2008 at 12:51AM PDT, ID: 21219301 |
| 03.27.2008 at 02:47AM PDT, ID: 21219741 |
| 03.27.2008 at 02:52AM PDT, ID: 21219760 |
| 03.27.2008 at 04:32AM PDT, ID: 21220222 |
| 03.27.2008 at 08:35AM PDT, ID: 21222505 |
| 03.27.2008 at 10:40AM PDT, ID: 21223962 |
| 03.27.2008 at 10:52AM PDT, ID: 21224088 |
| 03.27.2008 at 10:58AM PDT, ID: 21224154 |
| 03.27.2008 at 11:06AM PDT, ID: 21224222 |