I am sure the Directx library has these simple functions.
I have not been able to use Directx in my learning progress so I dont know which ones.
try some of the open graphic libraries.
GL
Type: Posts; User: victort
I am sure the Directx library has these simple functions.
I have not been able to use Directx in my learning progress so I dont know which ones.
try some of the open graphic libraries.
GL
you dont use reference operator & for arrays in scanf(); (some exceptions). study more about arrays.
*Since you are a student, I recommend paying more attention in class and reading the book...
You have a big problem in the first for loop.
int i is the integer used for the outer for loop but you are storing the number entered into that loop.
Bad and BIG problem. you would be lucky...
You need to do window programming.
If you dont know anything about it, create a new project and make sure you choose to create a window project and not console one.
Most of the time, the compiler...
i forgot one thing.
suppose you have an open file input named finput
fflush(finput); //would empty the input buffer in the file.
you can also use this to clear the input buffer instead of writing a function.
you might need stdlib or stdio. i dont remember exactly.
the function is included in the library.
...
look for it in data structure books. most books have these math expressions.
binary search is something like 2ln(n) (for worst case or Big-O) not sure though.
look for the books. or search the...