Search:

Type: Posts; User: gmontag451

Search: Search took 0.01 seconds.

  1. Replies
    14
    Views
    4,787

    I'm using the same software I originally learned...

    I'm using the same software I originally learned C on; Better Working Power C (which was originally called C Power). Power C has a really nice interface and workflow but there are some frustrating...
  2. Replies
    14
    Views
    4,787

    Due to age and memory constraints, they most...

    Due to age and memory constraints, they most certainly are not.


    Thanks, I'll look into Cygwin an Clang. I'm not an experienced programmer, but I'm familiar with MinGW and Gcc, in both Windows...
  3. Replies
    14
    Views
    4,787

    I think I figured it out. I got everything...

    I think I figured it out. I got everything working in a browser compiler (OnlineDGB) and copied the working headers over to the Commodore for partial success.

    I haven't figured out when to use...
  4. Replies
    14
    Views
    4,787

    Sorry that was a typo, I should have chosen...

    Sorry that was a typo, I should have chosen different names for my example! INTRO.C does indeed say #include "INIT.H"

    I wish there was a terminal log/error message to copy and paste... It's an old...
  5. Replies
    14
    Views
    4,787

    Thank you for your reply. Ok I've read through...

    Thank you for your reply. Ok I've read through your answer several times, and looked at some other tutorials. I tried again, and either I'm still doing it wrong or the compiler isn't very good...
    ...
  6. Replies
    14
    Views
    4,787

    Headers are making my head hurt...

    The long version:
    I'm experimenting with an old (8-bit, pre-ANSI) C implementation, and I've run out of memory.

    A solution given in the manual: "don't despair; split the big source file into two...
  7. Replies
    7
    Views
    5,191

    Awesome, thank you!

    Awesome, thank you!
  8. Replies
    7
    Views
    5,191

    Words never were my thing :) Thank you both...

    Words never were my thing :)

    Thank you both for the info on casting to float. I suppose one wouldn't normally be working with numbers in this way, but still, I learned something today!

    I want...
  9. Replies
    7
    Views
    5,191

    Ah, I had hoped that by defining 'unknown' as a...

    Ah, I had hoped that by defining 'unknown' as a float would result in the equation being treated as such. Thanks.

    Casting the equation as a float returns the expected result, if such a solution is...
  10. You're on the right track, but haven't gone quite...

    You're on the right track, but haven't gone quite far enough yet. Uninitialized variables contain whatever garbage is in memory (they aren't zero-ed out when created) and that garbage is causing your...
  11. Replies
    7
    Views
    5,191

    Question about math in immediate mode

    I'm trying to sort out an issue I'm having with an equation in C. I was playing around with the order of operations, and entered the following:


    #include <stdio.h>

    int main(void)
    {
    float...
Results 1 to 11 of 11