C Programming Tutorial # 40 - Files - Creating a Simple Database - Part 1 [HD]

preview_player
Показать описание
In this tutorial we learn to create a database. We write a small program which inputs some information about each and every student in a class and dumps that information in a file.

This tutorial is part of the following series:
Рекомендации по теме
Комментарии
Автор

man really thank you, your tutorial is the only thing I wanted from youtube

dandasheh
Автор

yeah, but getchar and getch leave the newline character in the buffer as well

bondservantHim
Автор

Why would you put iostream and stdio.h into the same file? Those are two different languages. One is c and the other is C++. I dout that it would compile.

jamesedmonds
Автор

fgets(), and fputs() are better alternatives. printf() and scanf() are both still used to support legency code. It really shouldn't be taught as the way to do things.

jamesedmonds
Автор

instead of %s we could use the function gets(NAME OF THE STRING);

ElectronaStorm