0

can someone help me ?

Hello, I am writing a code that adds two polynomials. This program includes a graphical interface. This program seems to work correctly but when displaying the result after inserting the polynomials, the numbers are not displayed correctly, I'll let you see for yourself. I know that there are things to complete in terms of the display, but my main problem is the display of the numbers! You must compile the program with this formula:gcc `pkg-config gtk+-2.0 --cflags` Projet_Graph.c -o Projet_Graph `pkg-config gtk+-2.0 --libs`

25th Jan 2022, 3:17 PM
Romaric
2 Answers
+ 1
tip: create the minimum reproducible example of your code instead of merely copy pasting all of them here. start from scratch and see where it starts to go wrong when u add more of your code when debugging, and since your problem is about calculating polynomials, giving the full program with gtk is unnecessary. simply copy the bare minimum parts where the bug would still be reproducible instead as the code example.
26th Jan 2022, 6:36 PM
Shen Bapiro
Shen Bapiro - avatar
25th Jan 2022, 3:19 PM
Romaric