Windows Sockets (Winsock2) Programming in C++ — A Modern Tutorial
Forget WSAStartup and every call fails with 10093. A modern Winsock2 tutorial: dual-stack TCP, RAII, and the six real Windows differences.
Programming powers modern technology — from desktop software and websites to mobile apps, games and enterprise systems. Strong programming skills remain essential for developers, students and technology professionals building modern digital solutions.
MYCPLUS has been publishing programming tutorials, source code examples and practical development guides since 2004. This programming hub brings together tutorials for C, C++, C#, Java, JavaScript, PHP and Python, along with game development and real-world coding examples designed for hands-on learning.
You will find beginner-friendly programming tutorials, practical source code examples and advanced development guides covering object-oriented programming, debugging, modern programming techniques and professional software development practices. Whether you are learning your first language, improving coding skills or exploring modern development technologies, this section provides structured resources for real-world programming and software engineering.
Why MYCPLUS: One of the web’s longest-running programming resources — trusted since 2004 with hundreds of tutorials, practical coding guides, source code examples and developer learning resources designed for real-world programming skills.
Forget WSAStartup and every call fails with 10093. A modern Winsock2 tutorial: dual-stack TCP, RAII, and the six real Windows differences.
ONNX Runtime from Python beat LibTorch from C++. Four runtimes measured, and what the C++ advantage in ML inference actually consists of.
One definition, three functions in the binary. A measured guide to templates, from deduction through concepts and the errors they produce.
Why == silently fails on C strings, how to read strcmp’s return value correctly, and the safe input pattern the comparison depends on.
Why writing to one of these two identical-looking declarations crashes, what array decay does to sizeof, and what std::string changes.
Fifty places to find C and C++ source code, grouped by purpose: language reference, real production projects, curated libraries, and graded practice.
The 1998 C++ standard consists of two parts: the core language and the C++ standard library; the latter includes most
Nine free C and C++ resources, checked for whether they are actually free, actually maintained, and actually teaching modern C++.
Fifteen characters cost nothing; sixteen cost a heap allocation. A measured guide to std::string, string_view, and where the copies come from.
The same four members reordered went from 24 bytes to 16. A guide to struct syntax, what the compiler does with your layout, and why memcmp lies.
Arithmetic to bitwise, with the complete precedence table and the conversion rules that quietly change your operands before the operation runs.
int is not always 32 bits and long is not always 64. A measured reference to C types, their real sizes, and the conversions that catch people.