Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Add this tag to your question to indicate that you are new to the language of your code. This will often be taken into consideration by reviewers when assessing your code.
2
votes
Accepted
Learning Java: Celcius to Fahrenheit Conversion
double celciusInputs, fahrenheitInputs = celciusInputs = 0;
Variables declared and initialized this way are hard to read. Prefer:
double celciusInputs = 0;
double fahrenheitInputs = 0;
double cel …
6
votes
String join function C
char* join(char** strings, size_t num_strings, char* seperator)
The inputs can be const as they should not be modified by this function: const char* join(const char** strings, size_t num_strings, c …
4
votes
3
answers
711
views
Split string into same consecutive characters
Description
Splits a string into a vector of strings that has consecutive same characters
Examples in test cases below ("5500025" --> ["55", "000", "2", "5"])
Only ASCII needs to be supported
In c …
7
votes
3
answers
200
views
Colourful block digits
I have not done Javascript programming in almost a decade. I see that it has changed a lot. Below is code that displays colourful block digits. Any constructive feedback is welcome.
function getR …
4
votes
0
answers
537
views
Simple RESTful counting API in Golang
Description
This is a simple (and hopefully) RESTful API in Golang that uses Redis. I have next to no prior experience in Golang and absolutely no prior experience with Redis. The API is a simple coun …