MMGameslogo  MMGames
TwitterSharebutton  FacebookSharebutton   
learn through sufferingC Language
learn through sufferingC Language

Usage of Ku-C

Renewal (2021)
We completed the second renewal.
The concept for this time is as follows:

Renewal concept
・Learning C the Hard Wayをベースとしつつも、自minuteのプロダクトのInternet portalとする
・モダンなWeb design
・より良好なSmartPhone support

So far, I've built various apps and sites as an individual.
We had been scattered across various locations and felt the need to consolidate them as a portal site.
Therefore, centering around our most famous product, "Kiga C," and while...
We're rebuilding everything from scratch as the MMGames portal site.

Furthermore, we eliminated the slightly outdated design that remained from the previous renewal and opted for a modern design.
Probably the most noticeable difference at first glance is the change in background color from beige to white.
"Back in the days when CRT monitors were dominant, light brown backgrounds were often chosen because white backgrounds would glare."
However, we have now fully transitioned to LCD, so there's no need to worry about glare.

Furthermore, this time we designed it with full smartphone compatibility in mind.
"Because we handled everything manually last time, there are some unnatural parts remaining."
We've adopted Bootstrap 5 this time, enabling smart smartphone responsiveness with the latest framework.

The current background for this renewal is the trend toward increasingly unified web designs.
We decided to retain some individuality in the design during the previous refresh.
I opted for a design with decorative elements, starting with a taupe background.

However, many sites now adopt simple and standardized layouts.
Despite the design differences having almost disappeared,
Many websites are now sufficiently differentiated by accent elements alone, such as logos and main colors.
Therefore, we decided it was natural for our website to follow suit.

The design has been renewed, but we've retained the original text as is.
There hasn't been much significant change in C, and for beginners, the content from back then is still perfectly adequate.

Despite being aimed at programming beginners,
"We are dedicating many pages to explaining the fundamental nature of computers themselves."
While introductory, it involves adding to character codes and swapping arrays with pointers.
This isn't just the essence of the C language, but the essence of computing itself, and it won't change even after decades.
量子コンピュータが実用化されてしまったらその限りではないかもしれませんが・・・

The landscape surrounding computers and programming continues to accelerate.
Nowadays, everyone carries a smartphone, which is a remarkably powerful small computer.
Deep learning now allows us to determine what is depicted in a photograph.
All of them are progressing at a pace far exceeding my expectations by twenty years, which is truly astonishing.

However, even so, the essence of computers and programming remains...
without changing the fact that it is based solely on simple calculations and simple conditional judgments,
I hope this website always remains a place dedicated to teaching the fundamentals of programming to beginners.

2021 MMGames/Masanori Moriguchi



Generative tool
We've also updated the generative tools we use internally.

前回は、markdownからHTMLを生成するツールを自作して使用しましたが
My focus on markdown ended up limiting my ability to express myself.

今回は、あくまでHTMLをベースとしつつも、
I built a tool that instantly applies templates.
"Being HTML-based, it can be written entirely in HTML if needed, which has dramatically improved its expressiveness."



Renewal (2017)
The web environment has changed significantly since its creation, due to the rise of smartphones and the evolution of browsers.
Kuro C also refreshed its design accordingly.

The previous design took into account the fact that CRT displays were still dominant.
In particular, regarding internal access, the provided displays are inexpensive CRTs.
"Assuming that, and designed with the goal of achieving a reasonable level of readability even on such displays."
"Displays like that tend to get really glaring when the background is white."

However, almost all of them are now LCD displays.
Therefore, we opted for a design as simple as possible, eliminating unnecessary embellishments, as is common for content-focused websites.

We've also prioritized readability on smartphones.
In previous designs, the font sizes were not well-balanced on smartphones.
It initially looked mismatched, so I'm making sure it displays correctly.

Supported browsers are IE11 or later.

The color and font customization options have been omitted.
In current browsers, user stylesheets or custom font specifications may...
That functionality can be achieved by the user, so we decided it's not necessary.

We also omitted the page navigation menu that appeared in the upper right corner.
Even inexpensive mice now come with smooth-scrolling wheels.
We determined that vertical scrolling is now so easy that it's unnecessary.

In light of the renewal,
Displaying Japanese fonts as legibly as possible on Windows.
We prioritized reducing file size, anticipating access from smartphones.
JavaScriptを使わずにCSSのみで、Windows限定で、day本語Webfontを適用できればもっと良かったのですが・・・*

While this may not be of great interest to our readers,
We used to write text in our own markup language and convert it to HTML using our own converter.
I implemented a system that converts my custom markup language into Markdown and then uses my own converter to transform it into HTML.
I've tried so-called static site generators, but the resulting HTML often ends up being overly verbose and wasteful.

Source code will be displayed with color coding as shown below.

Source code
#include <stdio.h>

static int i = 1;

int main(void)
{
	/* 特に意味のないプログラム */
	if (i == 1) printf("%d\n",sizeof(i));
}

The execution results will be displayed as follows.

Execution results
4

Other keywords that seem important are

キーワード
【C language】

"Structural assembler, one word?"


This is how it's displayed.Also, a small point is...

One point.
このサイトでは、ほとんどのページで、右上にミニメニューをつけていますので、
ページをスクロールさせなくても簡単に移動できます。

This is how it's displayed."Columns on miscellaneous topics,..."

Column example
C languageは、Dennis Ritchie(デニス・リッチー)という人物が、
B言語を改良して作成したprogramming言語である。

This is how it's displayed.

The browser used and the C compiler demonstrated are based on Windows.
If browsers and compilers with similar functionality are available, they can be used on operating systems other than Windows.


About This Site

Learning C language through suffering (Kushi C) is
This is the definitive introduction to the C language.
It systematically explains the basic functions of the C language.
The quality is equal to or higher than commercially available books.

Part 0: Program Overview
  1. What is a program?
Chapter 3: Displaying on the Screen
  1. String Display
  2. newline character
  3. Practice Problem 3
Chapter 4: Displaying and Calculating Numbers
  1. Display of numbers
  2. Basic calculations
  3. Numeric types
  4. Practice Problem 4
Chapter 6: Input from the Keyboard
  1. input function
  2. The fear of input
  3. Practice Problem 6
Chapter 9: Repeating a Fixed Number of Times
  1. Iterative sentence
  2. How Loops Work
  3. Practice Problem 9
Chapter 10: Repeating Without Knowing the Number of Times
  1. Unspecified loop
  2. Input validation
  3. Practice Problem 10
Chapter 13: Handling Multiple Variables at Once
  1. Handling multiple variables collectively.
  2. Arrays
  3. Practice Problem 13
Chapter 19: Dynamic Arrays
  1. Create arrays freely.
  2. Practice Problem 19