ahh it was because i had another source file with main() in it, so i deleted that and now it compiles. now for the debugging
Type: Posts; User: Coldcore
ahh it was because i had another source file with main() in it, so i deleted that and now it compiles. now for the debugging
xhi,
fopen("infilename", "r")
would having the variable "infilename" in quotes like this make it think thats the actual filename? the error dissapears using the quotes tho. the user inputs the...
mate i know my code is crap but cant expect me to write this in the best way possible straight away. ive only ever done little programs to do small calculations before, this is the biggest program...
I've fixed all but 1 error in my code which the compiler comes up with:
It says this error for line 2 and 3 of the snippet below:
char line[8];
ifp=fopen(inputFileName, "r");...
>_< I know it's bad. I kind of built it up to make it look like what i want it to do then i make it work... ill try sort the things you've mentioned. Thanks.
Ahh looks interesting, i'll give that a read now, thanks!
It's meant to be C. but using ms visual c++
the procedure deals with numbers and characters, so what do i use? float arabicToRoman(void) ?
it sends the value to the "output" variable.
Why do you hope that someone wont go through my code. Not asking them to fix it all, just tell me where i'm going wrong so I can fix it. How am i supposed to learn if i dont know the right way.
I have read the errors im getting and have tried many things to sort it.
Compiling...
miniproject.cpp
miniproject.cpp(1) : warning C4067: unexpected tokens following preprocessor directive -...
Just need someone to tell me where I'm going wrong... :)
Would someone kindly look over my small program? It's 150 lines long BUT has much commenting, so will be easy to understand. Actual...