Wow, prelude! I am very impressed! Your C coding acumen leaves me dazzled and awed.
It never occurred to me that the program coding didn't need an array assignment or anything like that. The...
Type: Posts; User: lo_tek
Wow, prelude! I am very impressed! Your C coding acumen leaves me dazzled and awed.
It never occurred to me that the program coding didn't need an array assignment or anything like that. The...
What about statements with parenthesis such as T+(T*F)?
Thanks for the suggestions, Salem. I took you up on them. The very first code listing of this thread came straight out of a book on C! The second one was a rough draft trying to improve the...
I was just going to mention that the isString function always returns zero, twans, but you beat me to it...
How can the isString function do anything for you if it always returns zero? Or can the...
I have a real problem with programmers that write obscure code. Just to illustrate what I mean, here are two programs that do exactly the same thing. They calculate the powers of numbers one...
It worked in the Dev-C++ compiler, but may I make a few suggestions?
First off, it should be 'int main()', NOT 'void main()' .
Secondly, put 'return 0' at the end of the main function.
...
Doesn't the above part of the code make it C++, and not plain old C?
Just thought I'd point that out.
I have looked over the linux source code for a while now, and I, for the life of me, can't find the central 'int main(int argc, char *argv[])' file in it. I have even done a grep routine and piped...
Whoops! I was in error in the previous post. The mean is the average, sorry. What I was describing above was the median, not the mean. My bad.
Part of the problem is that the mean of a set of numbers is NOT the average of the same set of numbers. The average of a set of numbers is defined as <total sum of set>/<number of elements of set>. ...
The three main languages I'm studying are plain old C, Java, and Perl. I absolutely love C even though it can be cryptic trying to keep all the pointers straight. Perl looks promising for general...