Tag

printf

0 views collected around this technical thread.

Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Mar 4, 2025 · Fundamentals

Master Java String Formatting: 9 Practical Techniques with Code Samples

This article introduces a continuously updated Spring Boot 3 case collection and provides a step‑by‑step guide to nine Java string‑formatting methods—including String.format, MessageFormat, text blocks, number grouping, rounding, zero‑padding, printf, whitespace, and concatenation—complete with runnable code examples.

JavaMessageFormatString Formatting
0 likes · 6 min read
Master Java String Formatting: 9 Practical Techniques with Code Samples
IT Services Circle
IT Services Circle
Mar 5, 2024 · Fundamentals

Why Adding printf Can Hide Segmentation Faults: A Debugging Tale

An amusing yet instructive narrative shows how a C program that crashes with a segmentation fault can appear to work after inserting a printf, explaining that uninitialized local variables contain leftover stack data and that debugging tools like GDB reveal the true cause.

C programmingGDBdebugging
0 likes · 8 min read
Why Adding printf Can Hide Segmentation Faults: A Debugging Tale
Sohu Tech Products
Sohu Tech Products
Mar 31, 2021 · Operations

Shell Basics: Introduction, Commands, Variables, and Scripting

This article provides a comprehensive introduction to the Bash shell, covering its purpose, user prompts, shebang syntax, execution methods, basic commands like echo and printf, variable handling, environment variables, arithmetic operations, and conditional statements for writing effective shell scripts.

BashCommand-lineLinux
0 likes · 14 min read
Shell Basics: Introduction, Commands, Variables, and Scripting