No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hello, I have 3 tables, user, role and userrole. Userrole stores user_id and role_id, so every user is associated with some role(s). So, when i use this query to view all users, and if user has several roles, i can see several rows with identical info and just role column … |
|
Hello, everyone! I have a program (a tcp server for text messages exchange), and i want it to do the following thing: if a port is already in use - choose automatically a new one (via rand() function) and inform me about that. I'm testing it on Solaras 5.9 if … |
|
Hello everybody! I've wrote a very simple echo server, based on a book about LInux socket programming example and it works just fine. My only problem is that i want to use select() function to handle several connections at one time. I've read lots of reference concerning that function and … |
|
Hi, guys, i need some help, as i can't find a mistake in my code for some hours. I'm expiriencing a problem in function makeCodes, which should make huffman codes for my symbols. In my head this works just fine, recursively making codes, but my Visual Studio crashes on the … |
|
Hi, guys, i need some help, as i can't find a mistake in my code for some hours. I'm expiriencing a problem in function makeCodes, which should make huffman codes for my symbols. In my head this works just fine, recursively making codes, but my Visual Studio crashes on the … |