Top "Logic" questions

Logic refers to the ultimate flow of your code and how you arrive your desired solution.

C++what is the type of the __LINE__ macro

As you may see from my other questions many of you may already got the answer for this. Can you …

c++ visual-c++ macros logic
C# & operator clarification

I saw a couple of questions here about the diference between && and & operators in C#, but I …

c# .net logic
What is the Objective-C way of getting a nullable bool?

How should I go about getting a bool value that I can assign true, false and nil to in Objective-C? …

objective-c types logic boolean
Universal and Existential Quantifiers of First-Order Logic

I am taking a Scala programming course. At one point the instructor said: Functions blah and bladdy are the universal …

scala functional-programming logic
First Order Logic Engine

I'd like to create an application that can do simple reasoning using first order logic. Can anyone recommend an "engine" …

python logic machine-learning reasoning
Is there an easy way to learn truth tables?

I'm following an online tutorial for Ruby and I'm at a point where it's mentioning truth tables and how I …

logic truthtable
Create Reduced Ordered Binary Decision Diagram (ROBDD) from truth table

Is there a software package (preferable an application, not library) that creates Reduced Ordered Binary Decision Diagrams (ROBDDs) from a …

logic solver truthtable binary-decision-diagram
Is it possible to use an AND operator in grepl()?

I want to search for anything that begins with 55 and anything that has the word Roof (case-sensitive, for those who …

r logic logical-operators grepl
PLC Ladder Logic Outputs

On a single ladder rung how many outputs can you have. If you have more than one. Would it be …

logic plc
How to implement decision matrix in c#

I need to make a decision based on a rather large set of 8 co-dependent conditions. | A | B | C | D | E | …

c# matrix logic decision-tree control-structure