[Solved] C++: Cannot compare double from an array of structures to another double in if function [closed]


&& students[i].grupa = gr

Blockquote

in above code,
= is an assignment operator
you need == for a comparison operator

2

solved C++: Cannot compare double from an array of structures to another double in if function [closed]