the only this that change is JamAkhir to JamAkhir2 variable name change
the error is
1 2
.\P01_13514090_01c.c: In function 'int main()':
.\P01_13514090_01c.c:33:12: error: 'JamAKhir' was not declared in this scope
my compiler is
1 2 3 4
g++.exe (GCC) 4.5.2
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
C++ is case-sensitive, so JamAkhir and JamAKhir are not related.
Also, your compiler is significantly outdated - I recommend updating to GCC 5.1 at least. If you are on 64-bit Windows, use nuwen MinGW: http://nuwen.net/mingw.html