0

How to fix these warning message in code blocks

These are the warnings: warning: format '%i' expects argument 'int*', but argument had 4 type 'int' [-Wformat=] warning: format '%s' expects a matching 'char*' argument [-Wformat=] I don't know what's causing the problem because I'm trying to read in data from a file

2nd Mar 2020, 4:59 PM
Jergan Hector
Jergan Hector - avatar
2 Answers
0
Save a copy of the code in SoloLearn, and share the saved code link within your question Description. This is the recommended way for code related problem. Without a code for review, community can't help you. Follow this guide for sharing links, in case you didn't know 👇 https://www.sololearn.com/post/74857/?ref=app
2nd Mar 2020, 5:24 PM
Ipang
0
https://code.sololearn.com/cI88lrmvA44z here is the code
2nd Mar 2020, 5:39 PM
Jergan Hector
Jergan Hector - avatar