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...
Type: Posts; User: gmontag451
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...
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...
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...
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...
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...
...
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...
Awesome, thank you!
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...
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...
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...
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...