🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.install.cbuilderx
5 messages
5 total messages Started by Chrasindra martin Mon, 28 Mar 2005 16:44
Errors on first program
#27
Author: Chrasindra martin
Date: Mon, 28 Mar 2005 16:44
20 lines
1288 bytes
I have recently purchased a C++ guide from SAMs. On my first program try
with the following code:

#include <iostream>

int main()
{
  std::cout << "Hello World!\n";
  return 0;
}

I receive the following error:

 make exited with error code: 1
Build cancelled due to errors

Is my software installed correctly? Should I proceed to the student
newsgroup?

Mike Martin
Re: Errors on first program
#25
Author: Yu-Chen Hsueh
Date: Mon, 28 Mar 2005 16:50
6 lines
1046 bytes
Mike,

How did you create your project?  In order for your code to work, you need
to create it as a New Console.

-- YH --
Re: Errors on first program
#28
Author: Chrasindra martin
Date: Mon, 28 Mar 2005 16:53
11 lines
1247 bytes
I created a new project only. How do you create a new console?
"Yu-Chen Hsueh" <ychsueh@borland.com> wrote in message
news:424835d2$1@newsgroups.borland.com...
> Mike,
>
> How did you create your project?  In order for your code to work, you need
> to create it as a New Console.
>
> -- YH --
>
>
Re: Errors on first program
#26
Author: Chrasindra martin
Date: Mon, 28 Mar 2005 16:56
23 lines
1701 bytes
I added the patch for C==BuilderX and my errors are now:
make -f Project1
make: Project1: No such file or directory
make: *** No rule to make target `Project1'.  Stop.
 make exited with error code: 2
Build cancelled due to errors

"Chrasindra martin" <mikesindy@earthlink.net> wrote in message
news:42483679@newsgroups.borland.com...
> I created a new project only. How do you create a new console?
> "Yu-Chen Hsueh" <ychsueh@borland.com> wrote in message
> news:424835d2$1@newsgroups.borland.com...
> > Mike,
> >
> > How did you create your project?  In order for your code to work, you
need
> > to create it as a New Console.
> >
> > -- YH --
> >
> >
>
>
Re: Errors on first program
#29
Author: Yu-Chen Hsueh
Date: Mon, 28 Mar 2005 17:02
7 lines
1134 bytes
Mike,

In the IDE, you can create a console application project by selecting File |
New... | New Console.  But are you doing this from the IDE or the command
line?

-- YH --
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads