Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
CPlus's user avatar
CPlus's user avatar
CPlus's user avatar
CPlus
  • Member for 3 years, 2 months
  • Last seen this week
  • United States

Stats

1,467
reputation
23k
reached
10
answers
16
questions
Loading…

About

profile for CPlus on Stack Exchange, a network of free, community-driven Q&A sitesprofile for CPlus at Software Engineering Stack Exchange, Q&A for professionals, academics, and students working within the systems development life cycle
profile for CPlus at Programming Language Design and Implementation Stack Exchange, Q&A for designers and implementers of computer programming languagesprofile for CPlus at Stack Overflow, Q&A for professional and enthusiast programmers

Interested in programming and the physical sciences. I primarily use C and C++ but also sometimes use Swift and Java.

Do not forget to check for and report errors:

#include <stdio.h>
int main(void) {
    return puts("Hello, World!") < 0;
}

Do not add pointless if statements to functions that have the effect of returning a condition:

// if (condition)
//     return true;
// else
//     return false;
return condition;
This user doesn’t have any gold badges yet.
7
silver badges
28
bronze badges
37
Score
21
Posts
81
Posts %
22
Score
3
Posts
12
Posts %
13
Score
2
Posts
8
Posts %
7
Score
3
Posts
12
Posts %
6
Score
4
Posts
15
Posts %
3
Score
2
Posts
8
Posts %

Top posts

View all questions and answers