Click here to Skip to main content
12,882,128 members (30,216 online)
   

C#

 
GeneralRe: how to mark my location and my neighbor location in sample map(not google map) ? Pin
Deenuji23-Dec-12 19:02
groupDeenuji23-Dec-12 19:02 
Questionmultiple user chat appliction Pin
minu r21-Dec-12 20:56
memberminu r21-Dec-12 20:56 
AnswerRe: multiple user chat appliction Pin
Simon_Whale21-Dec-12 21:33
memberSimon_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
memberKASR121-Dec-12 19:57 
Questionweb content management system Pin
nishant231021-Dec-12 6:51
membernishant231021-Dec-12 6:51 
AnswerRe: web content management system Pin
Pete O'Hanlon21-Dec-12 9:53
protectorPete O'Hanlon21-Dec-12 9:53 
GeneralRe: web content management system Pin
nishant231026-Dec-12 5:39
membernishant231026-Dec-12 5:39 
Questionam i doing something wrong with the and operator? Pin
crohnsandme21-Dec-12 5:29
membercrohnsandme21-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?

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
memberPIEBALDconsult21-Dec-12 5:32 
GeneralRe: am i doing something wrong with the and operator? Pin
crohnsandme21-Dec-12 5:44
membercrohnsandme21-Dec-12 5:44 
GeneralRe: am i doing something wrong with the and operator? Pin
crohnsandme21-Dec-12 5:47
membercrohnsandme21-Dec-12 5:47 
GeneralRe: am i doing something wrong with the and operator? Pin
PIEBALDconsult21-Dec-12 7:12
memberPIEBALDconsult21-Dec-12 7:12 
AnswerRe: am i doing something wrong with the and operator? Pin
Richard MacCutchan21-Dec-12 6:27
mvpRichard MacCutchan21-Dec-12 6:27 
GeneralC# and PostgreSQL Pin
tashee21-Dec-12 2:22
membertashee21-Dec-12 2:22 
GeneralRe: C# and PostgreSQL Pin
Keith Barrow21-Dec-12 3:02
mentorKeith 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
memberS 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
mvpDave 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
memberS 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
mvpDave Kreskowiak21-Dec-12 4:53 
QuestionCapture HttpRequest from Fiddler or WinpCap, then reconstruct a HttpRequest object? Pin
devvvy20-Dec-12 14:50
memberdevvvy20-Dec-12 14:50 
AnswerRe: Capture HttpRequest from Fiddler or WinpCap, then reconstruct a HttpRequest object? Pin
Super Lloyd20-Dec-12 18:19
memberSuper Lloyd20-Dec-12 18:19 
GeneralRe: Capture HttpRequest from Fiddler or WinpCap, then reconstruct a HttpRequest object? Pin
devvvy21-Dec-12 23:01
memberdevvvy21-Dec-12 23:01 
Questionsending messages with smart bro using c# Pin
Glendonz20-Dec-12 6:23
memberGlendonz20-Dec-12 6:23 
AnswerRe: sending messages with smart bro using c# Pin
jschell20-Dec-12 8:37
memberjschell20-Dec-12 8:37 
GeneralRe: sending messages with smart bro using c# Pin
Glendonz20-Dec-12 16:21
memberGlendonz20-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.


Advertise | Privacy | Mobile
Web02 | 2.8.170422.1 | Last Updated 23 Apr 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid