Okay, since I have time to kill, thought i'd pull out my old C for dummies
book, kill some time, and if i got into it maybe even jump into C++.
I know practically nothing about C programming, except what i learnt from the
first 2 chapters of this book.
My problem is this:
I write a program, save it as a C source file (with the .c extension), compile
run, everythings peachy and works well. Now I try to change certain aspects of
the program (like say printf to puts) like the book tells me to, I know the
code is right...but i get the compiling popup, and it wont go away. i have to
close DevCPP and reopen, even then I cannot recompile...same error.
I have tried going into the saved folder and deleting both the .c and .exe
files, but still same problem.
Only solution is to save the file as a different .c file then recompile.
Is this a bug or am i doing something wrong here?
More likely my fault, but it would help greatly if someone more experienced
could point me in the right direction.
Be seeing you guys a lot more, cause i intend to learn C (and also C++) to at
least 'proficient' levels. :D
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I dont think its the program. I can recompile bad code and good code. The
problem is running the bad code. Try posting the error message so we can get a
better idea of the real problem here.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Okay, since I have time to kill, thought i'd pull out my old C for dummies
book, kill some time, and if i got into it maybe even jump into C++.
I know practically nothing about C programming, except what i learnt from the
first 2 chapters of this book.
My problem is this:
I write a program, save it as a C source file (with the .c extension), compile
run, everythings peachy and works well. Now I try to change certain aspects of
the program (like say printf to puts) like the book tells me to, I know the
code is right...but i get the compiling popup, and it wont go away. i have to
close DevCPP and reopen, even then I cannot recompile...same error.
I have tried going into the saved folder and deleting both the .c and .exe
files, but still same problem.
Only solution is to save the file as a different .c file then recompile.
Is this a bug or am i doing something wrong here?
More likely my fault, but it would help greatly if someone more experienced
could point me in the right direction.
Be seeing you guys a lot more, cause i intend to learn C (and also C++) to at
least 'proficient' levels. :D
I recommend that you post your question to an active forum:
http://cboard.cprogramming.com/
I dont think its the program. I can recompile bad code and good code. The
problem is running the bad code. Try posting the error message so we can get a
better idea of the real problem here.