Old thread: What are you working on, Jow Forums?
/dpt/ - Daily Programming Thread
Other urls found in this thread:
lmgtfy.com
nim-lang.org
twitter.com
First for Haskell!
>work as a C++ programmer
>they keep giving me jobs where I have to write SQL and Powershell scripts
First for Nim is best language
This doesn't look like a good design. I wonder how I can make this combo box text scrollable. Plus I need to find a way to put default values into them as well.
sasuga hasklel
this took me almost 8 hours
Is there a better way to make my output consistent? My prof said it was good of me to actually add this when no one else did.
if (hour < 12 && minute/10 == 0){
printf("The equivalent 12 hour time is %d:", hour==0?12:hour);
printf("0%d AM", minute);
}
else if (hour < 12){
printf("The equivalent 12 hour time is %d:%d AM", hour==0?12:hour, minute);
}
else if (hour > 12 && minute/10 == 0){
printf("The equivalent 12 hour time is %d:", hour==12?12:(hour - 12));
printf("0%d PM", minute);
}
else{
printf("The equivalent 12 hour time is %d:%d PM", hour==12?12:(hour - 12), minute);
}
answer plz
Any of y'all use elastic search?