bytearray - How to Declare byte* ( byte array ) in c++? -


how declare byte* ( byte array ) in c++ , how define parameter in function definition?

when declare below

function declaration:

int analysis(byte* inputimage,int nheight,int nwidth); 

getting error : "byte" undefined

there no type byte in c++. should use typedef before. like

typedef std::uint8_t byte; 

in c++11, or

typedef unsigned char byte; 

in c++03.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -