For now I wrote a simplistic program written in C for practical purposes so I can cope with the first basics. Here's the source chunk of code:
1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
#include <stdio.h> #include <stdlib.h> int main() { 	 	system("COLOR 3"); /* Colour value as Acqua */ 	char *Message = "Programming in C language. This is for test purposes only."; 	printf("%s\n", Message); 	return 0; }
"E:\Quincy\mingw\bin\gcc.exe" -std=iso9899:199409 -pedantic-errors-Wno-long-long c:\users\XXXXX\desktop\text1.c: In function 'main': c:\users\XXXXX\desktop\text1.c:8: error: ISO C90 forbids mixed declarations and code Unsuccessful build
Thought at first that there's something wrong with the syntax or in run-time but I went wrong (excuse me for my ignorance
![](img/smiles/ugly.gif)
So, does that mean I'm constrained to move to another compiler or just update the version library? There's a way somehow?
P.S.: By the way, I am using Quincy 2005 as the first compiler. Pretty old but still functional. usable to compile simple or normal C programs and kinda useful for me as a beginner. This software also contains an editor in its own. Will might change to another compiler (like GCC or others) in the future but I will stick with this one at the moment.