'C Language'에 해당되는 글 2건

  1. 2007.08.26 virgo81's C lectures for beginner! #1 - My 1st program.
  2. 2007.08.25 virgo81's C lectures for beginner! #0
C Language2007.08.26 03:53

Hi, everybody!

Now, you will make your first program.!

Please launch Dev-C++.

File menu -> New -> Project

Select the Consol Application, fill the name field as myfirst and select C Project.

사용자 삽입 이미지

finally, select OK button.

I recommend you to create a work folder for your project.

Now, I create a work folder as work.

Save myfirst.dev to work folder.

Oh, now you can see the some lines of the code.!

You just change some lines of the code.

Now, I will add a bolding line.


#include <stdio.h>
#include <stdlib.h>

int main(int argc, char *argv[])
{
  printf("Hello, this is my first program!\n");

  system("PAUSE");
  return 0;
}

사용자 삽입 이미지

For running your code, you need to compile.

Before compiling, save your code by using File menu -> Save.

Compile the code by using Execute menu -> Compile.

If you see the error, please check your code.

After compiling, you can run your first program by using Execute menu -> Run.

사용자 삽입 이미지

Wow!

Next lecture, I will explain the code as line by line.

See you next lecture!!!^^

Posted by virgo81
TAG c, lecture

댓글을 달아 주세요

C Language2007.08.25 22:04

Hi, everybody!

Now, I will post the virgo81's C lectures for beginner!

For these lectures, you might need a C compiler.

I attatched C compiler that's name is DEV-C++.

It is a free software, but powerful!

If you want to download, click the link.


사용자 삽입 이미지



Posted by virgo81
TAG c, lecture

댓글을 달아 주세요