help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Trying to learn programing


From: Dave Humphries
Subject: RE: Trying to learn programing
Date: Tue, 29 Nov 2005 11:56:59 +1100

It sounds like you got the program compiled alright. The reason it is
running then disappearing is the command window is closing as soon as
the program is finished. If you look in the directory containing the c
source you will probably see the executable(or maybe new folders
containing a range of files one of which should be the executable .exe
file). You can run it by double clicking or by opening a command window
and dragging and dropping the executable file onto the command window
then pressing enter.  

To get a simple install of emacs goto http://emacswiki.org and look for
the W32 install kit. For c programming with emacs you will probably also
want Cygwin although it sounds like you already have a working compiler.

Dave  

-----Original Message-----
From: help-gnu-emacs-bounces+dave.humphries=dytech.com.au@gnu.org
[mailto:help-gnu-emacs-bounces+dave.humphries=dytech.com.au@gnu.org] On
Behalf Of Cameron Vessey
Sent: Tuesday, 29 November 2005 11:10 AM
To: help-gnu-emacs@gnu.org
Subject: Trying to learn programing

Hello,

I don't really now didley about programming and I am trying to learn.
I've down loaded so many things the past few day I can't keep them all
straight. 
A real simply tutorial said I needed an editor. I thought I had one when
i downloaded Dev-c++ from some site for free. it looks like an editor
when you run it. But real simple programs are not compiling and running
right like:

#include <stdio.h>
int main()
{
    printf("Hello World\n");
    return 0;
}

I run this on Dev-C++ and a window briefly pops up (small in size) and
has Hello World on it but it disappears almost as soon as it appears.

So I downloaded emacs. Thinking to go with some thing simpler. I've read
the manuel over and over but I can't get it to configure to my computer
....the Config.bat file...when i run it using msdos as the perameter it
say I don't have "sed" and that I need "sed". So I can't even get the
editor up and running right to learn simple programming. can any one
help? I'm running windows 98 2nd ed. 190 mg of ram and 15 gb of hard
drive.

Cameron

_________________________________________________________________
On the road to retirement? Check out MSN Life Events for advice on how
to get there! http://lifeevents.msn.com/category.aspx?cid=Retirement



_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs




reply via email to

[Prev in Thread] Current Thread [Next in Thread]