hello
i'm trying to write a little software using Devc++
win 32 console software
i have a major issue releated to devc++
everytime i make change to the project, nothing happens. for example
1 2 3 4 5 6 7 8
|
int P1move ()
{
cout << P1Name;
cout << "\nPlease enter the id of your move\n";
cin >> MoveId;
cout << Table[0];
}
|
if i make some change to it like adding a line
cout << Table[1];
for devc++ i never added that line
even if i add a junk character lines
for example
ajsfbhajhrtfgqwehirfg
the software compile as if i didn't add anything instead of giving an error.
i tried to start a new project
an copy paste the whole code
the code works perfectly it recognize the new line added
but then if i try to add a line once again, nothing happens, like as if magic.
another issue similar to this
after compiling it was even reading lines that aren't there anymore
for example
cout << "Hello";
i delete the line
never happened for devc++ the line is still there.
even if it doesn't show the line
it just run the code.
Anyway to fix this? i cannot continue the project unless i find a solution
Edit : I partially solved the issue, if before do Compile and Run
i choose Rebuild all, then cmpile and run, it works as intended.
but before i only had to compile and run. any real fix rather then a workaround?