If I want to use library functions from stdio.h and stdlib.h am i amble to declare those header files in an arduino IDE code file? Or are those headers and associated library functions already built into arduino coding when I use the arduino IDE to tweak some arduino code file?
Hi @artl. I had a similar problem when I migrated my environment to a new pc. It was caused by a blank character in the user name - some scripts seem to cut off the file/path string at that blank. I tried moving everything to a folder without blanks in the path name but it turns out the arduino environment always puts some stuff in your user data path.
I saw in your first post that you might have a similar issue:
The assert macro implements runtime assertion. If the expression within it is false, the macro will print a message to stderr and call abort(), defined in stdlib.h. The message includes the source filename and the source line number from the macros __FILE__ and __LINE__, respectively.[2] Since C99, the name of the function the assert statement is included as (__FUNC__) and the expression itself.[3] In ANSI C, the expression in the assert macro is defined as signed integer, although any expression that can be implicitly cast to a signed integer may be used. In C99, the assert macro explicitly allows any scalar type.[4] Two common uses of the assert macro are to assert that a pointer is not null and to ensure that an array index is in-bounds.[5]
35fe9a5643