C is a general-purpose programming language used for system programming (OS and embedded), libraries, games and cross-platform.
I have three files: program.c, program.h and headers.h. program.c includes program.h and headers.h. I …
c gcc makefileI have a pretty long sqlite query: const char *sql_query = "SELECT statuses.word_id FROM lang1_words, statuses WHERE …
c objective-cI would like to create a very simple C application that does an HTTP post. It will take a few …
c http http-postOne of my pet hates of C-derived languages (as a mathematician) is that (-1) % 8 // comes out as -1, and not 7 …
c++ c c++11 operator-overloading moduloI'm working on hash table in C language and I'm testing hash function for string. The first function I've tried …
c algorithm hash dictionary hashtableI have an int array and I need to find the number of elements in it. I know it has …
c arrays sizeofI am trying to print char as positive value: char ch = 212; printf("%u", ch); but I get: 4294967252 How I can …
c printfIn C there is a switch construct which enables one to execute different conditional branches of code based on an …
c string switch-statement string-comparisonI have a program that reads a "raw" list of in-game entities, and I intend to make an array holding …
c dynamic-arraysHow do I determine if a char in C such as a or 9 is a number or a letter? Is …
c char alphanumeric