Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Learning C through K&R book

Name: Anonymous 2011-08-24 21:12

I already compiled and ran my first code but there's this thing.
When I run it, cmd flashes and disapears.(I'm using Dev-C++ on windows to make it)
Anyways, I think there was a command or function to make the cmd pause till I press enter or something like that so that I am able to read whatever the output was, the thing is, I cant remember the name of the function or how to write it.
Can one of you tell me which it is, if there is one.
BTW here's my code:


#include <stdio.h>

main ()
{
  printf("Hello World!");
}

Name: Anonymous 2011-08-26 0:55

>>29

Javascript is usually a good first language.

I agree, Javascript is a fantastic first language. Here's a protip though, Javascript is unlike any language you will ever program in. It has functional elements, and a prototype system. It doesn't have block scope, but function scope. There are plenty of things I could go into but this list would get quite long.

Here's my suggestion if you want to learn Javascript. Firstly, get Firefox because it has Firebug. Next, read Eloquent Javascript. Next, read Javascript : The Good Parts by Doug Crockford while watching his videos at YUI Theatre. That should get you going.

Javascript's community is changing and it's quickly becoming one of the best. With the information I just gave you you're well on your way to becoming a good programmer.

Lastly, don't think that Javascript is just a client side scripting language. Frameworks like Node.js are quickly changing that and exploiting Javascript's natural elegance.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List