I thought since you need #include <ctype.h> for tolower() it is not standard. Why would you have to include #include <ctype.h> if it is a standard function?
All functions have to be declared before they can be used, whether they are standard C functions or not. Standard functions are not the same as C keywords as keywords are not functions, and there are no header files for them. There are lots of standard header files, and ctype.h is just one of them. Among the most used standard heder files are stdio.h, string.h and stdlib.h
C and C++ are designed around standard keywords, functions, and headers as defined by The Standards Committee, or whatever they are officially called. Many (most) compilers will add additional functions they like. These are usually functions they feel were missed by the Standards committee. They may add them to a standard header or they may create a header specifically for these functions.
conio.h is the most notorious of these headers. And because of that, new programmers who are introduced to conio.h tend to wonder what's wrong when they switch compilers. "Where's my darn function" is their mantra. I know, because I was one of them.
Need some help with this Array. I am trying to get the sum of the even numbers and the sum of the odd numbers using a for each loop. I know the answers to what I am trying to achive are sum of even = 84 and the sum of ...
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...