Tag » Programming

Programming puzzle game + Programming games recommendations via /r/learnprogramming


Programming puzzle game + Programming games recommendations

Hi developer companions. I hope you are doing great, as I am. I wanted to get some support for this Programming puzzle game I developed called Mind-Machine Interface (inspired by Zachtronics games). 119 kata lagi

If programming on a smartphone wasn't so tedious what would you program on it? via /r/learnprogramming


If programming on a smartphone wasn’t so tedious what would you program on it?

Sorry if this is not the appropriate subreddit but I'm really curious because IMO if programming on a smartphone was easier people still wouldn't write huge software on it. 35 kata lagi

[C++] Code from book does not compile via /r/learnprogramming


Code from book does not compile

This is the code of the program in 4.2.3 of the book Accelerated C++ on p. 64. It should be complete but when I run it, all I get is just a blank screen, and nothing in the output. 570 kata lagi

Trie Compression for GPU Accelerated Multi-Pattern Matching via /r/learnprogramming


Trie Compression for GPU Accelerated Multi-Pattern Matching

For those of you looking at doing pattern matching on GPUs and Tree compression http://ift.tt/2mfoQMR this might be of interest. 13 kata lagi

Java getting num sides of a regular polygon given interior angles. Loss of precision using doubles? via /r/learnprogramming


Java getting num sides of a regular polygon given interior angles. Loss of precision using doubles?

The code is simple enough http://ift.tt/2lt9Yfs

It passes all but one test case. 73 kata lagi

How do you add menu items(C++)? via /r/learnprogramming


How do you add menu items(C++)?

Hi guys! If you've chosen multiple inputs from user in switch statement, how would you add them in the last case as result? 12 kata lagi

How do i compare the elements of a loop? [java] via /r/learnprogramming


How do i compare the elements of a loop?

i'm trying to compare the hours of each train, any idea how to do that?

public class JavaApplication3 { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("enter number of trains"); int n = input.nextInt(); int minmin; for (int i = 0; i < n; i++) { System.out.println("enter hour of arrival"); int hour = input.nextInt(); System.out.println("enter minute of arrival"); int min = input.nextInt(); System.out.println("how many minutes will it stay in the station?"); int stay = input.nextInt(); minmin = min + stay; } }} … 16 kata lagi