unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* RE: Trying to learn programing
@ 2005-11-29  0:56 Dave Humphries
  0 siblings, 0 replies; 7+ messages in thread
From: Dave Humphries @ 2005-11-29  0:56 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <mailman.17126.1133223017.20277.help-gnu-emacs@gnu.org>]
* Trying to learn programing
@ 2005-11-29  0:10 Cameron Vessey
  0 siblings, 0 replies; 7+ messages in thread
From: Cameron Vessey @ 2005-11-29  0:10 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-11-29 21:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-29  0:56 Trying to learn programing Dave Humphries
     [not found] <mailman.17126.1133223017.20277.help-gnu-emacs@gnu.org>
2005-11-29  0:32 ` Shug Boabby
2005-11-29  1:44 ` Chong Yidong
2005-11-29  1:51   ` Shug Boabby
2005-11-29 21:22     ` Thien-Thi Nguyen
2005-11-29 12:39 ` Peter Tury
  -- strict thread matches above, loose matches on Subject: below --
2005-11-29  0:10 Cameron Vessey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).