DaveP wrote:
It defines the entrypoint to your program. void means
no arguments are supplied. The real signature is
int main( int argc, char*argv[] )
where argc is the argument count and argv is an
array of the strings passed to the program on invocation.
So if I put "int argc" as "int 3"
It would accept up to 3 words or numbers, in addition to the name of the cammand, from the shell prompt? Or from being called from another program.
char*argv
This looks like you are multiplying the terms.
Or, are variable names supposed to be placed between the square brackets? I don't get it.
Because there are different methods of printing. stdio just happens to be one place where printing to the screen is implemented. In fact it contains all console I/O functions that write to stdout, stderr and read in from stdin.
When you say, it contains all console functions, the compiled program only gets the portion needed, right?
You see, what gets me is, every time you want to use a command, you have to find the include that matches it.
sprintf which is used for printing text into a string.

you mean like A$=Inkey$
C is a language with no built in functions you see. It has basic types and operators. This allows you to re-define printf somewhere else ( say make it print to a graphical window ).
Amos Screen 4
and secondly the add on routines for supporting AGA do not work well into the
environment
Well, Francois Lionet, never got around to doing an AGA version.
Lastly, it teaches you sloppy programming habits.
I can see this being a problem.
I don't know if I'll ever be able to understand what "building a library" means.
I know about half of the Amos commands, but never got a hang of Amal. The awful thing is Amos, even compiled, could never be as fast as C. Nor can you force the computer to do certain things with it. I have a program that 500k in size. 2/3 data statements. I know that I wouldn't have a clue where to start converting it. Especially since, I've looked at programs a couple of pages long, and even knowing, the if then, while, ;, commands, its unreadable. Maybe I don't have what it takes.
Well, at any rate, which C. People say C, C++, then there's ANSI C (and maybe ANSI C++). Is ANSI the name of a company, like Storm is?
I've always considered taking a chance at using it.