분류 전체보기 63

CSS_002_Styling Borders and Backgrounds with HTML and CSS

In this blog post, we’ll explore two powerful CSS properties: borders and backgrounds. These properties can help add definition and visual appeal to your HTML elements. Let’s dive in with practical examples and explanations.HTML StructureHere’s the updated HTML structure for this lesson: This is my first CSS practice CSS is fun CSS StylesHere’s the CSS file (main.css) used to st..

cpp_007:Introduction to String Modifiers in C++ , Mastering String Manipulation

In C++, the std::string class provides a variety of functions to modify and manipulate strings efficiently. This tutorial is perfect for beginners looking to master string operations such as appending, erasing, inserting, finding, replacing, and more. Let’s dive into these powerful tools with examples and outputs.1. Appending to a StringThe append() function and the + operator allow you to conca..

C++ Beginner 2025.01.06

cpp_006_Introduction to getline and cin.getline in C++: Handling User Input with Spaces

In C++, reading strings can be tricky when the input contains spaces. For instance, the default cin input method stops reading input when it encounters a whitespace character. In this tutorial, we’ll explore how to handle input with spaces using getline() and cin.getline().1. Problem with cin and SpacesBy default, when you use cin >> variable, it reads input until it encounters a whitespace (spa..

C++ Beginner 2025.01.05

Python Intermediate_005: Working with the Requests Library

The requests library in Python is a powerful tool for making HTTP requests, allowing you to interact with APIs, fetch data from websites, and send data to servers. It's simple, user-friendly, and perfect for beginners.InstallationInstall the requests library using pip if you don’t have it installed:pip install requestsKey Features and ExamplesLet’s dive into the most useful and practical use cas..