Posts by Lucas Santos FATECSO • 1 point
2 posts
-
0
votes1
answer25
viewsA: Function does not recognize the structure created in main
The error was in passing parameters, I was trying to pass data to the wrong structure: WRONG : auxiliary = all.hotel[y]; CORRECT: auxiliary.hotel[0] = all.hotel[y]; all auxiliary variables were…
-
0
votes1
answer25
viewsQ: Function does not recognize the structure created in main
I made a system and created a two Structs to store data of people of a hotel, but when trying to organize them in order of weight the system gives the following error: line 100 error: incompatible…