|
Re: Eclipse CDT - getchar/scanf [message #967101 is a reply to message #966450] |
Thu, 01 November 2012 13:42 |
|
On 11/1/2012 6:31 AM, Sivan S wrote:
> I took an intro programming course, but I'm new to doing this on my own.
> I am running Eclipse Juno IDE for C/C++ Developers with MinGW. For some
> reason, when I run the following code (from K&R) no input box shows up
> where I can type in my response after getchar().
>
> #include <stdio.h>
>
> main(){
> int c;
>
> while((c=getchar()) != EOF)
> putchar(c);
> }
>
> I looked in the console build and found this message:
>
> "c:/mingw/bin/../ld.exe: cannot open output file char.exe: Permission
> denied"
>
> which I haven't gotten for anything else. Does anyone know where I can
> find the input prompt?
When new to a forum, check out the sticky posts at the top so you know
you're in the right place.
http://www.eclipse.org/forums/index.php/t/161206/
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06736 seconds