Click here to Skip to main content
15,887,485 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to mark my location and my neighbor location in sample map(not google map) ? Pin
Deenuji23-Dec-12 19:02
Deenuji23-Dec-12 19:02 
Questionmultiple user chat appliction Pin
minu r21-Dec-12 20:56
minu r21-Dec-12 20:56 
AnswerRe: multiple user chat appliction Pin
Simon_Whale21-Dec-12 21:33
Simon_Whale21-Dec-12 21:33 
QuestionHow to make .net DLL to reference its dependent DLLs present in other folder. Pin
KASR121-Dec-12 19:57
KASR121-Dec-12 19:57 
Questionweb content management system Pin
nishant231021-Dec-12 6:51
nishant231021-Dec-12 6:51 
AnswerRe: web content management system Pin
Pete O'Hanlon21-Dec-12 9:53
mvePete O'Hanlon21-Dec-12 9:53 
GeneralRe: web content management system Pin
nishant231026-Dec-12 5:39
nishant231026-Dec-12 5:39 
Questionam i doing something wrong with the and operator? Pin
crohnsandme21-Dec-12 5:29
crohnsandme21-Dec-12 5:29 
hi all,

i am working on a basic challenege for my course in C#, i have got to the point where i need the loop to do its actions until 2 statements become true but my program runs through the loop once and one statement becomes true and other false and then it jumps out of loop so i need to know what i have done wrong with the code or any advice please?

C#
int z = 2;
        
            if (remaindernum != 0 & remainderden != 0)
            {
                while (z <= totala)
        {
                while (remaindernum != 0 & remainderden != 0)
                {

                    remaindernum = (newfraction % z);
                    
                    remainderden = (totala % z);
                    z += 1;

                }
            }
            }


just to clarify pretending my first line of code is 0,

it runs through fine till line 15 then goes back into loop at line 7 but then jumps down to line 16 and sticks in neverending loop
AnswerRe: am i doing something wrong with the and operator? Pin
PIEBALDconsult21-Dec-12 5:32
mvePIEBALDconsult21-Dec-12 5:32 
GeneralRe: am i doing something wrong with the and operator? Pin
crohnsandme21-Dec-12 5:44
crohnsandme21-Dec-12 5:44 
GeneralRe: am i doing something wrong with the and operator? Pin
crohnsandme21-Dec-12 5:47
crohnsandme21-Dec-12 5:47 
GeneralRe: am i doing something wrong with the and operator? Pin
PIEBALDconsult21-Dec-12 7:12
mvePIEBALDconsult21-Dec-12 7:12 
AnswerRe: am i doing something wrong with the and operator? Pin
Richard MacCutchan21-Dec-12 6:27
mveRichard MacCutchan21-Dec-12 6:27 
GeneralC# and PostgreSQL Pin
tashee21-Dec-12 2:22
tashee21-Dec-12 2:22 
GeneralRe: C# and PostgreSQL Pin
Keith Barrow21-Dec-12 3:02
professionalKeith Barrow21-Dec-12 3:02 
QuestionC#.Net error(Front end Visual studio 2010,Back end:SQL server 2008)) Pin
S Akshay20-Dec-12 23:54
S Akshay20-Dec-12 23:54 
AnswerRe: C#.Net error(Front end Visual studio 2010,Back end:SQL server 2008)) Pin
Dave Kreskowiak21-Dec-12 4:12
mveDave Kreskowiak21-Dec-12 4:12 
GeneralRe: C#.Net error(Front end Visual studio 2010,Back end:SQL server 2008)) Pin
S Akshay21-Dec-12 4:42
S Akshay21-Dec-12 4:42 
GeneralRe: C#.Net error(Front end Visual studio 2010,Back end:SQL server 2008)) Pin
Dave Kreskowiak21-Dec-12 4:53
mveDave Kreskowiak21-Dec-12 4:53 
QuestionCapture HttpRequest from Fiddler or WinpCap, then reconstruct a HttpRequest object? Pin
devvvy20-Dec-12 14:50
devvvy20-Dec-12 14:50 
AnswerRe: Capture HttpRequest from Fiddler or WinpCap, then reconstruct a HttpRequest object? Pin
Super Lloyd20-Dec-12 18:19
Super Lloyd20-Dec-12 18:19 
GeneralRe: Capture HttpRequest from Fiddler or WinpCap, then reconstruct a HttpRequest object? Pin
devvvy21-Dec-12 23:01
devvvy21-Dec-12 23:01 
Questionsending messages with smart bro using c# Pin
Glendonz20-Dec-12 6:23
Glendonz20-Dec-12 6:23 
AnswerRe: sending messages with smart bro using c# Pin
jschell20-Dec-12 8:37
jschell20-Dec-12 8:37 
GeneralRe: sending messages with smart bro using c# Pin
Glendonz20-Dec-12 16:21
Glendonz20-Dec-12 16:21 

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.