C is a general-purpose programming language used for system programming (OS and embedded), libraries, games and cross-platform.
I don't know how to write applications in C, but I need a tiny program that does: lh = gethostbyname("localhost"); …
c gethostbynameI'm attempting to learn C and already I've run into an issue. I assume its trivial but I need to …
c compiler-warningsSay I have the following: char* string = "Hello, how are you?"; Is it possible to print out only the last 5 …
c printf c-stringsI was talking with a co-worker about C and C++ and he claimed that C is object-oriented, but I claimed …
c oop standardsBuilding on what I learned here: Manipulating dynamic array through functions in C. void test(int data[]) { data[0] = 1; } int main(…
c arrays mallocI'm creating child processes in a for-loop. Inside the child process, I can retrieve the child PID with getpid(). However, …
c fork pidI want to create a very large array on which I write '0's and '1's. I'm trying to …
c arrays multidimensional-array bit-manipulation bitarrayI've seen the tilde operator used in the ELF hashing algorithm, and I'm curious what it does. (The code is …
c++ c operatorsI have an unsigned int number (2 byte) and I want to convert it to unsigned char type. From my search, …
c byte unsigned-integer type-conversion unsigned-char