A
A
Armyashka2020-04-15 17:05:45
C++ / C#
Armyashka, 2020-04-15 17:05:45

Why doesn't the logical operator || work?

if (index == -1) || (run > 1)
Error:

Invalid term "||" in expression

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
GavriKos, 2020-04-15
@Armyashka

MARSH TO LEARN SICHARPE.
It is not necessary to climb into the unit without knowledge of sharp.
Yes, I'm too lazy to answer such children's questions that are simply searched for by a search engine!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question