Thanks for the advice. I didn't realise that would happen.
Type: Posts; User: RNBW
Thanks for the advice. I didn't realise that would happen.
@Salem
You've hit on my mistake.
I assumed that GCC would automatically pick on a C or C++ program from its .c or .cpp extension. I realise now that this is not the case and will make sure I don't...
@freddie
I have a BASIC programming background. I am trying to expand my programming knowledge now that I have retired and have a little more time. I am looking at C, C++ and Free Pascal at the...
@john.c
My previous post doesn't seem to have got through.
Thanks very much for showing where I was going wrong. I thought I was compiling in C using GCC, but clearly I was compiling in g++. I've...
I am looking for the equivalent in C of BASIC's STRING$(80,"char") ie printing out a string of 80 same characters aaaaaaaa...etc
I found the following code in Rosetta Code, but it comes up with an...
I find some of the IDEs for C and C++ programming a bit over-complicated and I looked around and found Zinjal, which has a nice simple and clean screen, with simple menus. It seems to work very well...
Thank you Salem and Hodor. I'll look at your suggestions and see how they work before I progress further.
I am trying to use some code from Ronald Mak's Writing Compilers & Interpreters:
#define enter_name_local_symtab(name, &symtab_display[level]) \
idp = enter_symtab(name,...