Top "Flags" questions

Flags are atomic data structures used to identify state in a program.

bitwise check if flag present

Is there a method typically used to check if a flag is present in an int/other data type? I …

language-agnostic bit-manipulation flags
How do flags work in C?

Recently I have come across several examples of "flags" in C and C++, and I don't quite understand how they …

c++ c integer flags
How to enable WebVR on Google Chrome?

I am trying to create a WebVR scene. For this task, I want to enable WebVR on Google Chrome. My …

google-chrome flags webvr
Adding flags to a batch script

I'm writing a Batch script that will run on a directory. I want to be able to add a flag (…

batch-file flags
How do I enable the REFS_OK flag in nditer in numpy in Python 3.3?

Does anyone know how one goes about enabling the REFS_OK flag in numpy? I cannot seem to find a …

numpy python-3.x flags ref
CMake cross-compiling: C flags from toolchain file ignored

I use cmake for cross compiling. In my toolchain file there is a line SET(CMAKE_C_FLAGS "-std=gnu99") …

c cmake cross-compiling flags
PHP function flags, how?

I'm attempting to create a function with flags as its arguments but the output is always different with what's expected : …

php function bit-manipulation flags
what to do with missing libgcc_s.a

cross compiling a library with buildroot using the external toolchain alias code sourcery lite 2011 resulting in output/host/opt/ext-toolchain/…

c compilation flags buildroot libgcc
pyQt5 change MainWindow Flags

I use python 3.4 , pyQt5 and Qt designer (Winpython distribution). I like the idea of making guis by designer and importing …

python pyqt5 qt-designer flags qmainwindow
Comparing enum flags in C#

I need to detect if a flag is set within an enum value, which type is marked with the Flag …

c# enums casting generics flags