Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Program built successfully but will not run
icon8.gif  Program built successfully but will not run [message #782968] Tue, 24 January 2012 20:56 Go to next message
Simon Cox is currently offline Simon CoxFriend
Messages: 3
Registered: January 2012
Junior Member
Hi all,

I am pretty new to eclipse and I am currently trying to generate a C++ program. Eclipse tells me that the the project is successfully built, but the program does not seem to run correctly. All I get is "expecting at least -k and -n...". I have uploaded what I feel is the relevant bit of code as the program is fairly large.

If anyone has any suggestion on where my mistake lies it would be greatly appreciated.
  • Attachment: NK.cpp
    (Size: 4.58KB, Downloaded 84 times)
Re: Program built successfully but will not run [message #782981 is a reply to message #782968] Tue, 24 January 2012 21:26 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 24-Jan-12 13:56, Simon Cox wrote:
> Hi all,
>
> I am pretty new to eclipse and I am currently trying to generate a C++ program. Eclipse tells me that the the project is successfully built, but the program does not seem to run correctly. All I get is "expecting at least -k and -n...". I have uploaded what I feel is the relevant bit of code as the program is fairly large.
>
> If anyone has any suggestion on where my mistake lies it would be greatly appreciated.
Please refer, as noted in the sticky posts at the top of this forum, all
Eclipse C/C++ development questions to the Eclipse CDT forum.
Re: Program built successfully but will not run [message #782983 is a reply to message #782968] Tue, 24 January 2012 21:28 Go to previous message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3071
Registered: July 2009
Senior Member
As noted in a "sticky" message at the top of this forum, C/C++ specific
questions are best asked in the CDT forum group.


On 1/24/12 3:56 PM, Simon Cox wrote:
> Hi all,
>
> I am pretty new to eclipse and I am currently trying to generate a
> C++ program. Eclipse tells me that the the project is successfully
> built, but the program does not seem to run correctly. All I get is
> "expecting at least -k and -n...". I have uploaded what I feel is the
> relevant bit of code as the program is fairly large.
>
> If anyone has any suggestion on where my mistake lies it would be
> greatly appreciated.
Previous Topic:ER Master
Next Topic:I'm Having A very big problem! please help
Goto Forum:
  


Current Time: Mon Jun 14 17:56:52 GMT 2021

Powered by FUDForum. Page generated in 0.02751 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top