Estia-1a / projetGenieInfo_public

This is the main repository for the Estia First Year Computer Science Project
MIT License
1 stars 2 forks source link

[BUG] getopt and weird ending character #46

Open WilliamDelamare opened 2 years ago

WilliamDelamare commented 2 years ago

Bug description The arguments via command lines (e.g., -f filename -c cmd param1 param2) have (sometimes) an extra ending character (e.g., filename¼, param1¼, and param2¼

Step to reproduce Setup the launch config as: image and see in the console the actual strings: image

Note that the program runs correctly with einstein.jpg, or even when the image is renamed as lenalena.jpg. I tried to change the length of einstein as ei.jpg, and the program runs correctly (so not related to the length of the input parameter)

Info about your config

WilliamDelamare commented 2 years ago

Interestingly enough, the same error happens with print_pixel now

image