Click here to Skip to main content
15,896,606 members
Home / Discussions / C#
   

C#

 
AnswerRe: Book Help Pin
i.j.russell16-Sep-10 1:14
i.j.russell16-Sep-10 1:14 
AnswerRe: Book Help [modified] Pin
Luc Pattyn16-Sep-10 1:21
sitebuilderLuc Pattyn16-Sep-10 1:21 
QuestionBack with base10, an example code. Hopefully I can exaplain now Pin
stephen.darling15-Sep-10 10:43
stephen.darling15-Sep-10 10:43 
AnswerRe: Back with base10, an example code. Hopefully I can exaplain now Pin
Ennis Ray Lynch, Jr.15-Sep-10 10:53
Ennis Ray Lynch, Jr.15-Sep-10 10:53 
GeneralRe: Back with base10, an example code. Hopefully I can exaplain now Pin
stephen.darling15-Sep-10 11:12
stephen.darling15-Sep-10 11:12 
AnswerMessage Closed Pin
15-Sep-10 22:09
stancrm15-Sep-10 22:09 
GeneralRe: Back with base10, an example code. Hopefully I can exaplain now Pin
stephen.darling16-Sep-10 4:32
stephen.darling16-Sep-10 4:32 
AnswerRe: Back with base10, an example code. Hopefully I can exaplain now Pin
David Skelly15-Sep-10 22:41
David Skelly15-Sep-10 22:41 
I know this is off topic, but am I missing something here?

This piece of code caught my eye:


if (strlen(InstID) != 58)
    fprintf(stderr, "Warning: Installation ID has non-standard length.\n");
if (strlen(InstID) % 7 < 2)
{
    fprintf(stderr, "Installation ID has invalid length.\n");	
    return -1;
}


My C++ is a bit rusty but why do that? Surely, the second if statement will always be true if the first one is false.
GeneralRe: Back with base10, an example code. Hopefully I can exaplain now Pin
Bassam Abdul-Baki16-Sep-10 3:25
professionalBassam Abdul-Baki16-Sep-10 3:25 
GeneralRe: Back with base10, an example code. Hopefully I can exaplain now Pin
David Skelly16-Sep-10 5:58
David Skelly16-Sep-10 5:58 
QuestionTCPIP client server communications Pin
dwolver15-Sep-10 3:03
dwolver15-Sep-10 3:03 
AnswerMessage Closed Pin
15-Sep-10 3:33
stancrm15-Sep-10 3:33 
GeneralRe: TCPIP client server communications Pin
dwolver15-Sep-10 4:34
dwolver15-Sep-10 4:34 
QuestionI'm trying to get a Session and redirect in Globa.asax Pin
luiz sync15-Sep-10 2:13
luiz sync15-Sep-10 2:13 
AnswerRe: I'm trying to get a Session and redirect in Globa.asax Pin
Calla15-Sep-10 2:42
Calla15-Sep-10 2:42 
Questionsetup and unistall Pin
tomorrow_ft15-Sep-10 2:03
tomorrow_ft15-Sep-10 2:03 
AnswerRe: setup and unistall Pin
Calla15-Sep-10 2:36
Calla15-Sep-10 2:36 
GeneralRe: setup and unistall Pin
tomorrow_ft15-Sep-10 2:48
tomorrow_ft15-Sep-10 2:48 
GeneralRe: setup and unistall Pin
tomorrow_ft15-Sep-10 3:03
tomorrow_ft15-Sep-10 3:03 
GeneralRe: setup and unistall Pin
Calla15-Sep-10 22:47
Calla15-Sep-10 22:47 
GeneralRe: setup and unistall Pin
tomorrow_ft16-Sep-10 1:23
tomorrow_ft16-Sep-10 1:23 
GeneralRe: setup and unistall Pin
Calla16-Sep-10 2:48
Calla16-Sep-10 2:48 
GeneralRe: setup and unistall Pin
tomorrow_ft16-Sep-10 3:24
tomorrow_ft16-Sep-10 3:24 
GeneralRe: setup and unistall Pin
Calla16-Sep-10 3:31
Calla16-Sep-10 3:31 
QuestionEmbedding Dependancies in C# Excel Workbook Pin
Grimes14-Sep-10 23:33
Grimes14-Sep-10 23:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.