Search:

Type: Posts; User: lo_tek

Search: Search took 0.00 seconds.

  1. Replies
    5
    Views
    1,764

    Wow, prelude! I am very impressed! Your C...

    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...
  2. What about statements with parenthesis such as...

    What about statements with parenthesis such as T+(T*F)?
  3. Replies
    5
    Views
    1,764

    Thanks for the suggestions, Salem. I took you up...

    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...
  4. Replies
    3
    Views
    1,403

    I was just going to mention that the isString...

    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...
  5. Replies
    5
    Views
    1,764

    obscure code and clear code

    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...
  6. Replies
    5
    Views
    1,304

    It worked in the Dev-C++ compiler, but may I make...

    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.
    ...
  7. Replies
    12
    Views
    7,855

    Doesn't the above part of the code make it C++,...

    Doesn't the above part of the code make it C++, and not plain old C?
    Just thought I'd point that out.
  8. Replies
    1
    Views
    1,350

    Will the real int main() please stand up?

    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...
  9. Replies
    4
    Views
    1,140

    Whoops! I was in error in the previous post. ...

    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.
  10. Replies
    4
    Views
    1,140

    Part of the problem is that the mean of a set of...

    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>. ...
  11. Replies
    96
    Views
    18,696

    The three main languages I'm studying are plain...

    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...
Results 1 to 11 of 11