Aman Kumaraksaman.wtf·Sep 14, 2024Understanding pointers with structs in cThis is the second part of the series Understanding C pointer shenanigans. If you already understand pointers, go ahead, but if want to get a better understanding of pointers in c, go to the part 1, read that and come back. Now, as you are here, i ho...DiscussPointers in CC
Arya M. Pathakarya2004.hashnode.dev·Jul 29, 2024Exploring Structs in Go and JSON Struct TagsIntroduction In this technical deep dive, we'll explore the concept of structs in Go, delve into how Go handles JSON, and examine the powerful feature of struct tags. Structs in Go are pivotal for creating complex data types, and struct tags play an ...Rajnandini Dharashive and 1 other are discussing this2 people are discussing thisDiscuss·30 likes·31 readsGo Deep: Mastering Golang FundamentalsGo Language
Ammarammarite.hashnode.dev·Jun 29, 2024Some Rust Learning Experience (pt. 1)Starting with Python as the first programming language is good. The language is easy to use, focus on the main fundamental of programming, abstracting certain part of computer science components as they handled it on background; which make the beginn...Discuss·51 readsRust
SOUMITRA-SAHAssblogs.hashnode.dev·May 26, 2024Rust Mastery Week #2Welcome back to our Rust programming journey! This is week #2. Today, we'll dive into some crucial concepts such as statements vs. expressions, comments, control flow, loops, structs, enums, options and results, pattern matching, and using modules to...Discussrust mod
Kali Baranwalkalibaranwal.hashnode.dev·Apr 30, 2024Exploring OOP Fundamentals: Part 4 BreakdownTHIS POINTER Its is a keyword which points to the objects which invokes the member function. It is used for return object. CODE: class A{ int a; public: void setdata(int a){ this->a=a; } void getdata(){ cout<<"the...Discussfriend function
utsab sapkotautsabsapkota.hashnode.dev·Apr 26, 2024TypeMeta StructDefinition of Struct TypeMeta: This structure is used in Kubernetes to describe an object’s type and API version. It consists of two fields: Kind and APIVersion. The former denotes the object category (e.g., Pod, Service), while the latter defines it...Discusstypemeta
Nurul Islamnuibb.hashnode.dev·Mar 31, 2024Structs, Classes, and Actors in Swift: Understanding the DifferencesIn Swift, you have several options for defining data types: structs, classes, and the more recent addition of actors. Each option has its own unique characteristics and use cases, and understanding the differences between them is crucial for writing ...Discuss·10 likes·39 readsSwift
Jyotiprakash Mishrablog.jyotiprakash.org·Dec 27, 2023Basic Structure Programming QuestionsHere are 10 C programming exercises that involve structures: Student Database: Create a structure to represent a student with fields like name, roll number, and marks in different subjects. Write functions to input and display student details. Empl...DiscussC Programmingstruct
Jyotiprakash Mishrablog.jyotiprakash.org·Dec 24, 2023Build your structures differentlyIn C programming, structures are used to group different types of variables under a single name. Initializing a structure involves setting its member variables to specific values. Here are different ways to initialize structures in C, along with exam...Discuss·61 readsC Programmingstruct
Jyotiprakash Mishrablog.jyotiprakash.org·Dec 24, 2023I can do it all! Struct + Array + Dynamic Allocation + Pointer ArithmeticLet's create a sample program that combines structures, arrays, dynamic allocation, and pointer arithmetic, along with comments for explanation: #include <stdio.h> #include <stdlib.h> // Define a structure representing a point in 3D space struct Poi...Discuss·224 readsC Programmingdynamic-allocation