/dpt/ - Daily Programming Thread

Old thread: What are you working on, Jow Forums?

Attached: 1562166510121.png (602x800, 387K)

Other urls found in this thread:

github.com/paperduck/shiritori
port70.net/~nsz/c/c11/n1570.html#6.3.1.1)
youtube.com/watch?v=f84n5oFoZBc
youtube.com/watch?v=E4RarTAZ2AY
youtube.com/watch?v=xzTH_ZqaFKI
youtube.com/watch?v=edpifsVcurs
youtube.com/playlist?list=PLUFkSN0XLZ-n_Na6jwqopTt1Ki57vMIc3
twitter.com/NSFWRedditGif

Oh my god what's the legit thread now.

TableA
+----+----------+--------+
| id | name | value |
+----+----------+--------+
| 1 | Value 1 | 123 |
| 2 | Value 2 | 321 |
+----+----------+--------+

TableB
+----+----------+--------+
| id | user | status |
| 1 | 1 | 2 |
| 1 | 3 | 0 |
+----+----------+--------+

TableC
+----+----------+--------+
| id | idTA | idTB |
| 1 | 1 | 1 |
| 2 | 1 | 2 |
+----+----------+--------+

I want to select from tableA based on user_id and status from tableB and tableC references and tableA values.

Implementing Linq over the preview ranges before the std lib fags do it

Anone! Anone! I made this for you, because you did so well with your JavaScript lessons!

Attached: c1dde4964c107aec32fb4b3d4fbb2cd5.jpg (800x1200, 90K)

So I'm trying to create a BST that converts english characters to morse code. I need to have my BST balanced and ordered according to ASCII values so I can use something like a strcmp() to do the heavy lifting for my insert_into_bst() and print() functions.

The txt file I'm reading in looks something like:
B -...
Where the english character/number is listed and then the morsecode translation is listed after separated by whitespace.

Thing I'm not sure about, is how do I read this in and store the english character/number so it has the corresponding ascii value.

If I do something like:
char line[100] = "";
input.getline(line, 100, ' '); //stores the first english character or number into line
cout

Attached: getline.png (226x43, 2K)

I made a shiritori game in Haskell, please review my code:

github.com/paperduck/shiritori

Attached: haskell logo.png (1200x847, 15K)

var a : Int = 5 ; get() = ++field ; private set

suggest more boilerplate/autism

do line[0] instead

Haskell is garbage.
review done

seconding this