Cherreads

Journey of a Programmer

luckyman
56
chs / week
The average realized release rate over the past 30 days is 56 chs / week.
--
NOT RATINGS
1.7k
Views
Synopsis
Journey of a Programmer What if learning to code felt less like studying… and more like exploring a new universe? Journey of a Programmer is not a typical programming book. Instead of overwhelming you with dry explanations and endless technical jargon, it takes you on a story-driven adventure where every chapter unlocks a new programming concept. Follow Pran, a curious beginner who discovers a mysterious computer system that responds only to code. At first, the machine simply says hello. But as Pran experiments and writes his first programs, the computer world begins to open up — revealing robots, hidden systems, memory vaults, and puzzles that can only be solved through programming. As the journey unfolds, readers learn the real foundations of C programming step by step: • printing output • accepting user input • variables and data types • decision making with conditions • loops that repeat instructions • functions that build reusable tools • pointers and memory • arrays and data organization Each concept appears naturally as part of the story, turning programming into something intuitive and exciting rather than intimidating. By the end of the journey, readers will have written their first real programs and gained the confidence to understand how software works at its core. But the journey does not stop there. Once the foundations of C are mastered, the adventure continues as readers transition into exploring other programming languages and tools. The skills learned in this book become the stepping stones toward learning modern technologies and building real-world programs. This book is perfect for: • complete beginners with zero coding experience • students starting computer science • curious thinkers who want to understand how software works • anyone who has ever thought “programming seems interesting but complicated” Programming is not just about memorizing syntax. It is about learning how to think, explore, and solve problems. Every programmer begins with a first line of code.
VIEW MORE

Chapter 1 - Chapter 1 — The Computer said "Hello World"

Pran was not supposed to be in the computer lab.

Technically.

The sign on the door clearly said:

AUTHORIZED STUDENTS ONLY

Which, depending on your interpretation of the word authorized, could mean many things. For example, maybe it meant students who were curious. Or students who were slightly bored. Or students who had accidentally wandered in while looking for the bathroom.

Pran chose to believe it meant all three.

The room smelled like old electronics and dusty keyboards. A row of ancient computers sat quietly against the wall, their screens dark like sleeping robots waiting to wake up.

Pran pulled a chair and sat down.

"Alright," he said to himself. "Let's see what you can do."

He pressed the power button.

The computer hummed like an old car starting on a cold morning.

Brrrrrrrrrrr.

The screen flickered.

A black window appeared.

White text blinked on the screen like a tiny impatient cursor.

_

The cursor blinked again.

And again.

As if it was saying:

"Well? I'm waiting."

Pran leaned closer.

"I guess… I type something?"

He remembered hearing somewhere that programmers used something called C programming.

Apparently, it was one of the oldest and most powerful programming languages ever created.

Which sounded impressive.

Also slightly terrifying.

But how hard could it be?

He opened a text editor and typed the most mysterious looking line he had ever seen.

#include

Pran stared at the screen.

"Okay… I have absolutely no idea what that means."

But programmers on the internet always started with it, so he assumed it was important.

It looked like a secret code.

Maybe it was a magical spell.

Maybe computers refused to cooperate unless you politely asked them first.

He kept typing.

#include

int main() {

}

Now the screen looked even more mysterious.

He read it slowly.

"Int… main…"

It sounded like the name of a superhero.

Captain Main.

Or maybe Doctor Integer.

But in C programming, main() is something very important.

It is the starting point of every program.

Think of it like the front door of a house.

When the computer runs your program, it always walks through the door called main.

If main() didn't exist, the computer would basically walk around confused saying:

"Hello? Where do I start? Anyone home?"

Pran nodded.

"Okay… that makes sense."

Now he needed to tell the computer to actually do something.

Otherwise the program would just sit there doing absolutely nothing.

Which, to be fair, computers are extremely good at doing if you don't give them instructions.

He typed another line.

printf("Hello world");

He leaned back.

"Alright computer. Impress me."

The full program now looked like this:

#include

int main() {

printf("Hello world");

return 0;

}

Let's break this down.

printf is a command that tells the computer:

Print something on the screen.

The word inside the quotes is exactly what appears.

So:

printf("Hello world");

means:

Computer → show the text Hello world

Very simple.

Very powerful.

Pran compiled the program.

The computer paused.

The fan started spinning louder.

For a moment Pran wondered if he had accidentally launched a missile or something.

Then the screen displayed:

Hello world

Pran blinked.

The computer had spoken.

Not loudly.

Not dramatically.

But it had answered.

He typed another version.

printf("Hello Pran");

He ran the program again.

Hello Pran

Now the computer knew his name.

Which was both exciting and slightly unsettling.

He decided to experiment.

printf("I like pizza");

Run.

I like pizza

He tried again.

printf("Programming is awesome");

Run.

Programming is awesome

Pran laughed.

"This is actually fun."

You see, programming is simply giving instructions to a computer.

Computers are extremely powerful machines.

But they are also extremely literal.

They do exactly what you tell them.

Nothing more.

Nothing less.

If you tell a computer:

printf("Banana");

The computer will happily print Banana.

It will not ask questions.

It will not judge you.

It will not say:

"Are you sure about that banana?"

It just prints banana.

Which is why programmers must be very precise.

One tiny mistake can confuse the computer.

For example, Pran tried this:

printf(Hello world);

He ran the program.

Error.

Lots of errors.

Angry errors.

The computer basically shouted:

"WHAT IS HELLO WORLD???"

Pran quickly fixed it.

printf("Hello world");

The quotation marks are important.

They tell the computer:

"This is text."

Without them, the computer thinks you're talking about variables or something else.

Programming languages are picky like that.

But once you understand the rules, things start to make sense.

Pran typed one more program.

#include

int main() {

printf("Hello world\n");

printf("Welcome to C programming\n");

printf("This is the beginning of your coding journey\n");

return 0;

}

When he ran it, the screen showed:

Hello world

Welcome to C programming

This is the beginning of your coding journey

He noticed something interesting.

The \n made the text go to the next line.

Without it, everything would appear on the same line.

Programming is full of little tricks like that.

Small symbols.

Small rules.

Small commands.

But together they create incredible things.

Operating systems.

Video games.

Artificial intelligence.

Entire worlds inside machines.

Pran leaned back in his chair.

The computer hummed quietly.

For the first time, he understood something important.

Programming wasn't magic.

It wasn't impossible.

It was just learning how to talk to machines.

And he had just said his first word.

The computer blinked the cursor again.

_

Waiting.

Patient.

Silent.

As if it was saying:

"Alright human… what do we build next?"

Pran smiled.

"Let's keep going."