Re: C Programming on shell



On 2007-09-30, William Pursell <bill.pursell@xxxxxxxxx> wrote:
On 30 Sep, 18:46, Grant Edwards <gra...@xxxxxxxx> wrote:
On 2007-09-30, William Pursell <bill.purs...@xxxxxxxxx> wrote:

I'd like to give C programming from shell a try.

I think you mean you want to work in the console rather than
"from shell".

Why do you say that? I do all my C programming from the shell,
but I never work in the console.

What does that mean?

It means using development tools from the command shell (e.g.
bash) instead of from an IDE.

To me, programming from the shell would mean:

% echo '#include<stdio.h>' > hello.c
% echo 'int main(void) { puts("hello, world!"); return 0;}' >> hello.c
% gcc hello.c -o hello

That seems an incredibly absurd way to work. Perhaps rather
than "console", I should have said "in a terminal", but that's
certainly not the shell.

You can use a text-mode IDE (admittedly rare these days) from a
console or terminal.

--
Grant Edwards grante Yow! I'm an East Side
at TYPE...
visi.com
.



Relevant Pages

  • Re: cmdEX.exe - augmenting the existing CMD.EXE
    ... > It is different from replacement shells, like Take Command or WinOne, ... Replacing the very limited editing features of the existing console ... Not wanting to engineer another shell ... > console app that uses the ReadConsole kernel32 API has this ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: cmdEX.exe - augmenting the existing CMD.EXE
    ... > It is different from replacement shells, like Take Command or WinOne, ... Replacing the very limited editing features of the existing console ... Not wanting to engineer another shell ... > console app that uses the ReadConsole kernel32 API has this ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: console command - why not official in linux etc.
    ... But I believe the 'windows' ... console has much benefit on linux. ... 'proper' shell, since on linux, most shell use is bash. ... bash shells do not provide tcl completions and syntax coloring. ...
    (comp.lang.tcl)
  • Re: Can I echo something to my own command line?
    ... Another, less general, way would be to ask the shell to do it for ... over the line editting function and offer more features (like command line ... to programmatically send characters to it's input buffer, ... have a function to paste the "selection" buffer into the console. ...
    (comp.unix.shell)
  • Re: just got xbox e 74 error
    ... game disc ok so it's no longer inside the console. ... with a new warranty on it? ... DON'T shell out $100 for a repair. ... happens when you shell out $100 and then you get RROD after you get ...
    (alt.games.video.xbox)