These days im using xcode and
its a bit of annoyingly good amounts of changes from borland which im used to
But i keep getting error for this
printf ("\nThe amount of First Class cars Stocks remaining are: %d", &stock1);
(while stock1 is declared: int stock1)
and it says format types specifies type "int" but argument has type "int*"
i dont understand what this means..
is a pointer being used at int?
the more puzzling thing for me is that when i take out the "&" for some parts of the code:
fprintf (Stocks,"\nThe amount of First Class Stocks remaining are: %d\n", stock1);
it shows no errors
although this method doesnt work in the earlier code
I'm sorry if this is too obvious a problem
but i've never gone out of using the & sign
but please i need any help whatsoever