int main() {
return 0;
}
const uint8_t* byteHunter(const uint8_t *Search, uint16_t sLength,
const uint8_t *Pattern, uint16_t pLength) {
// This is the body of the function
}
I get an error when compiling this function interface that says:
19 C:\Users\Anne\Documents\School\Sophomore\Spring2012\CS 2505\HW09.c syntax error before '*' token
Besides comments above the function interface, there is nothing else in my code at all. What am I doing wrong?
The type
uint8_tis “unknown” by default, unless you#include <stdint.h>which will declare to the compiler whatuint8_treally is.