I'm searching for a way to convert a word with 4 characters stored as char* to an int and vice versa because i want to transfer the char* through a function which needs an int as argument. Here's an example:
char* word = "abcd";
int number;
// write word in number
char* word2;
// write number in word2
At the end word2 should be the same as word. It would also help me if you know how to convert it in one direction only.