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

[ad_1]

&& students[i].grupa = gr

Blockquote

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

2

[ad_2]

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