CPlus's user avatar
CPlus's user avatar
CPlus's user avatar
CPlus
  • Member for 11 months
  • Last seen this week
  • United States
Stats
7,861
reputation
101k
reached
24
answers
68
questions
Loading…
About

profile for user16217248 on Stack Exchange, a network of free, community-driven Q&A sitesprofile for user16217248 at Stack Overflow, Q&A for professional and enthusiast programmersprofile for user16217248 at Programming Language Design and Implementation Stack Exchange, Q&A for designers and implementers of computer programming languages

Interested in programming and the physical sciences. I primarily work with C and C++ but also have experience with 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;
1
gold badge
26
silver badges
77
bronze badges
71
Score
17
Posts
18
Posts %
40
Score
15
Posts
16
Posts %
32
Score
6
Posts
7
Posts %
24
Score
19
Posts
21
Posts %
18
Score
9
Posts
10
Posts %
14
Score
7
Posts
8
Posts %
Top posts
View all questions and answers