Click here to Skip to main content
15,901,001 members
Home / Discussions / C#
   

C#

 
GeneralRe: DirectX (9) Video Renderer Pin
Eduard Keilholz15-Dec-09 23:48
Eduard Keilholz15-Dec-09 23:48 
QuestionWorkflow service not starting on WinServer 2003 - any ideas, hitting a wall here! Pin
Yoken15-Dec-09 2:17
Yoken15-Dec-09 2:17 
AnswerRe: Workflow service not starting on WinServer 2003 - any ideas, hitting a wall here! Pin
Migounette15-Dec-09 4:41
Migounette15-Dec-09 4:41 
GeneralRe: Workflow service not starting on WinServer 2003 - any ideas, hitting a wall here! Pin
Yoken16-Dec-09 19:35
Yoken16-Dec-09 19:35 
AnswerRe: Workflow service not starting on WinServer 2003 - Solution!! Pin
Yoken17-Dec-09 5:01
Yoken17-Dec-09 5:01 
QuestionUnary And Binary Minus Operator Pin
dataminers15-Dec-09 1:12
dataminers15-Dec-09 1:12 
AnswerRe: Unary And Binary Minus Operator Pin
harold aptroot15-Dec-09 1:26
harold aptroot15-Dec-09 1:26 
AnswerRe: Unary And Binary Minus Operator Pin
Luc Pattyn15-Dec-09 1:28
sitebuilderLuc Pattyn15-Dec-09 1:28 
when you parse an expression (scanning it left-to-right), you are looking for values and operators, and they normally alternate, starting with a value where operator means one of +-*/ and maybe more, and value means one of:
- numeric constant (digits; could also be hex, or real)
- identifier (=variable name)
- expression inside parenthesis

as a result a '-' is a binary minus whenever you are looking for an operator, and a unary minus whenever you are looking for a value.
furthermore you may check what follows the unary minus so you could reject these:
4+--2
4+-a
4+-(1+2)


Smile | :)

Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read code that is properly indented, and rendered in a non-proportional font; hint: use PRE tags in forum messages


GeneralRe: Unary And Binary Minus Operator Pin
OriginalGriff15-Dec-09 1:33
mveOriginalGriff15-Dec-09 1:33 
GeneralRe: Unary And Binary Minus Operator Pin
Luc Pattyn15-Dec-09 1:51
sitebuilderLuc Pattyn15-Dec-09 1:51 
GeneralRe: Unary And Binary Minus Operator Pin
Mirko198015-Dec-09 6:56
Mirko198015-Dec-09 6:56 
AnswerRe: Unary And Binary Minus Operator Pin
OriginalGriff15-Dec-09 1:30
mveOriginalGriff15-Dec-09 1:30 
AnswerRe: Unary And Binary Minus Operator Pin
PIEBALDconsult15-Dec-09 4:27
mvePIEBALDconsult15-Dec-09 4:27 
QuestionToolbar for browser Pin
hemant.kaushal15-Dec-09 0:27
hemant.kaushal15-Dec-09 0:27 
QuestionAmbiguous Pin
ddecoy15-Dec-09 0:15
ddecoy15-Dec-09 0:15 
AnswerRe: Ambiguous Pin
Paulo Zemek15-Dec-09 0:30
Paulo Zemek15-Dec-09 0:30 
GeneralRe: Ambiguous Pin
ddecoy15-Dec-09 1:56
ddecoy15-Dec-09 1:56 
GeneralRe: Ambiguous Pin
Paulo Zemek15-Dec-09 2:25
Paulo Zemek15-Dec-09 2:25 
GeneralRe: Ambiguous Pin
ddecoy15-Dec-09 2:44
ddecoy15-Dec-09 2:44 
GeneralRe: Ambiguous Pin
morten11216-Dec-09 1:13
morten11216-Dec-09 1:13 
AnswerRe: Ambiguous Pin
#realJSOP15-Dec-09 7:34
professional#realJSOP15-Dec-09 7:34 
GeneralRe: Ambiguous Pin
ddecoy16-Dec-09 1:29
ddecoy16-Dec-09 1:29 
GeneralRe: Ambiguous Pin
BurnerX17-Feb-10 6:33
BurnerX17-Feb-10 6:33 
GeneralRe: Ambiguous Pin
LimitedAtonement9-Feb-11 16:56
LimitedAtonement9-Feb-11 16:56 
QuestionConvert String to int zero is missing.... Pin
spalanivel14-Dec-09 23:58
spalanivel14-Dec-09 23:58 

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.