Skip to main content
CPlus's user avatar
CPlus's user avatar
CPlus's user avatar
CPlus
  • Member for 4 years, 4 months
  • Last seen this week
  • United States
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;
2
gold badges
31
silver badges
58
bronze badges
566
Score
34
Posts
53
Posts %
26
Score
8
Posts
12
Posts %
13
Score
17
Posts
27
Posts %
10
Score
9
Posts
14
Posts %
10
Score
8
Posts
12
Posts %
6
Score
7
Posts
11
Posts %
Morty Proxy This is a proxified and sanitized view of the page, visit original site.