Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: jonouv on October 12, 2021, 05:40:54 pm
-
Hi,
I am learning c for uni and codeblocks has been fine until I needed to use atoi
stdlib.h is included but I cant use that command or a bunch of others.
ticked c++11 iso c++ -std=c++11 in flags using ming64 fresh install from the site.
Compilers is gnu gcc that was installed with the latest 20.3 install.
I understand this was an issue previously by what I read and thought the latest version might of solved it.
Have i missed something ?
many thanks for any help
-
Code::Blocks is an IDE, your problem is compiler-related so it is OT here.
Anyway, how have you included stdlib.h,
or
?
Can you attach (in code tags) the error message?
-
An exceptionally valuable reference which you should bookmark; https://pubs.opengroup.org/onlinepubs/007904975/idx/index.html
atoi(): https://pubs.opengroup.org/onlinepubs/007904975/functions/atoi.html