Skip to main content
CPlus's user avatar
CPlus's user avatar
CPlus's user avatar
CPlus
  • Member for 1 year, 9 months
  • Last seen more than a month ago
  • United States
Stats
928
reputation
15k
reached
5
answers
15
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;
This user doesn’t have any gold badges yet.
4
silver badges
26
bronze badges
17
Score
18
Posts
90
Posts %
8
Score
1
Posts
5
Posts %
6
Score
4
Posts
20
Posts %
3
Score
2
Posts
10
Posts %
3
Score
1
Posts
5
Posts %
0
Score
5
Posts
25
Posts %
Top posts
View all questions and answers