648 Unanswered Topics

Remove Filter
Member Avatar for
Member Avatar for sankar2000

Hello. I am trying to build a simple UDP multi-threaded echo server in `C` using `libhv` (library is using non-blocking events). Basically i am trying to combine https://github.com/ithewei/libhv/blob/master/examples/udp_echo_server.c with the threading of https://github.com/ithewei/libhv/blob/master/examples/multi-thread/one-acceptor-multi-workers.c I do this because i will have high amount of traffic and multiple threads will be needed …

1
105
Member Avatar for Ahmad_77

I wonder if there is any solution to drop an oracle table trigger using c# windows application project

1
99
Member Avatar for LiterallyGuts

Hello everyone, I'm currently working on a project, and I have to edit a table,by merging certain cells. Below is a picture summarizing my situation as well as a snippet of my code where my code works for the right cell but not the left one : ![Capture.PNG](https://static.daniweb.com/attachments/4/9f5139ba3eb9b255246a1c5f9c3b3e2f.PNG) private void …

0
77
Member Avatar for AntonyCode

RICHTEXT1: Am_______________________________________E7 On a dark desert highway, cool wind in my hair G__________________________________________D Warm smell of colitas rising up through the air F______________________________________________C Up ahead in the distance, I saw a shimmering light Dm My head grew heavy and my sight grew dim RICHTEXT2: On a dark desert highway Cool …

0
26
Member Avatar for dimitrilc

I came across this [article](https://developer.ibm.com/articles/messaging-protocols/) from IBM. It states that a **protocol** describes the **format of the bytes** that are transferred over the wire. > A protocol is sometimes referred to as the wire protocol, and it describes the format of the bytes that are transferred over the wire, and …

1
45
Member Avatar for jagathg

> import numpy as np > import scipy.io.wavfile > from scikits.talkbox.features import mfcc > sr1,x1=scipy.io.wavfile.read("filename.wav") > ceps1,mspec1,spec1=mfcc(x1) I can obtain MFCC values as above. Now, I have 100 songs with 2 different music genres(electronic,jazz). And, I want to create a dataset with using these songs. I suppose I will use …

0
29
Member Avatar for Prakriti_2

It will be an interactive system where model restaurant will take order from its customer and generate bill. System will also generate daily menu list based on the sales of veg and non-veg items during last 15 days. I am unable to figure out second part of generating daily menu. …

0
32
Member Avatar for pragya.gupta15

How can I write the code such that - 1. I am reading the file which may contain numbers such as 23 34 45 56. 2. After reading the contents of the file, the contents of the file get stored to struct array such as struct abc in the above …

0
58
Member Avatar for LowTds

Hello, I have been trying to get this robot to work out and be able to move around. I am just so confused as to how to get my arrow to get even displayed and moved when pressed by one of the directions to go. One area that I struggle …

0
79
Member Avatar for Cindy20

Can you help me decrypt the message with the given information. I figured out the first line is using Xor ciphers but how do I figure out the rest? Y[ZU[XZWZ\XXZjZ[[WWVWU Ogaqkxpgbqbfiof! Cyw'ss bun! Zqksxl cywd lnepwvs uozneh. Qjc mgabiy nfx vmz-djrhkfalfq. Xnjfx ai qjvi viqi uat pgw odjwp. The radio …

1
139
Member Avatar for codekiln

i am trying to get gstreamer to capture frames and have them put into a picture box on a glade form , this is my Code snippet so far , can anyone give me come guidance GstCaps *caps = gst_sample_get_caps(sample); // Get a string containg the pixel format, width and …

0
15
Member Avatar for Polo_2

this is my code that takes from the terminal directory and extension of the file (s) to search ... the problem is in the path .... print for example /home/ciccio/prova.txt .... instead of ...... / home / ciccio / dir / subdir / prova.txt This is because I only pass …

0
95
Member Avatar for Dipesh_6

Hi, I made this game in c++ but i have some issues when i ask player if they want to play again. i want the game to reset when they press y but keep their bankbalance from previous game. here is the pastebin link: https://pastebin.com/pmhVKwxF sorry if the code is …

0
121
Member Avatar for Saba_6

Hi, I am getting erros in coverting the following C++ code to C language. Also what is the alternative of #include<bits/stdc++.h> library in C language? // C++ Implementation to find the // XOR of the two Binary Strings #include<bits/stdc++.h> using namespace std; // Function to find the // XOR of …

0
109
Member Avatar for TheHDTrip

I'm creating a program that maintains student scores. I've created a class called students that stores the data and displays it in a list box. Once the user clicks btnAdd a new form (frmAddStudent) loads that allows them to add the user by name and their scores and display it …

0
311
Member Avatar for dongtrien

Suppose I create an asp.net website project that loads data into griview from the class library, declaring the library to use loading data for griview //file: ChitietSP.aspx using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Diagnostics; // …

0
288
Member Avatar for mldardy

I am starting a website where an image shows on the home page and when I scroll to hover over the image it opens a newpage. I’m trying to figure out a way to do a slow dissolve from the home page to new page and also if the user …

0
389
Member Avatar for cppgangster

Hi I am trying to get windows positioned in specific order as show below ![desired.PNG](/attachments/large/3/6447240b1491d04046fa904f31659f9b.PNG) but I am unable to get and get always this ![wrong.PNG](/attachments/large/3/71f4b92c4f40a6afeeab7e3c2f136526.PNG) the code below is shown HDWP cmdWnds; cmdWnds = BeginDeferWindowPos(col.size()); for (int i = 0; i < col.size(); i++) { if (i == 0) …

0
330
Member Avatar for mahdi_2

Hi guys I was having issues with reading 3 files and merging them into an array, I tried fgetc, which then let me to have issues with sorting them so I tried to change my array and allocate a counter variable to get the size of it but not sure …

0
298
Member Avatar for dongtrien

I have show example merge cell the datagridView but actually deleting the duplicate line (demo: https://stackoverflow.com/questions/16774966/how-to-merge-datagridview-cell-in-winforms), I want after merge cell the text in the middle of the cell as the image file attached to the code write how ? http://www.mediafire.com/view/h005tuc3aawaray/1.PNG/file

0
321
Member Avatar for dongtrien

I get the employee list from SQL Server problem with fields: ID: id employee Employee: name employee after filter the kernel list dv.RowFilter = "set condition unique 1 recoder" at the command if (dv.Count == 1) at this assignment id and the kernel name is not correct the unique file …

0
273
Member Avatar for mohammed_46

:menu echo 1) start echo 2) intro echo 3) exit set /p menu= if %menu% == 1 goto game if %menu% == 2 goto help if %menu% == 3 exit :help cls echo hit the correct answer and press enter. pause :game echo what is your name? set /p name= …

0
145
Member Avatar for bobby_6

Hi all, How would I read a bin file(which contents are attached below), and then from that bin file create an html file with a table of that bin files content(html format is attached as well)

0
158
Member Avatar for Chef Boyardee

I've been studying the [XEmbed protocol specification](https://standards.freedesktop.org/xembed-spec/xembed-spec-latest.html#lifecycle), as well as [Gtk reference manual](https://developer.gnome.org/gtk3/stable/GtkSocket.html), but I'm having some difficulty. I'm using Gtk+ 3. I've created a Gtk socket, got its window ID, but that's where I'm stuck. I'm using C. If I understand this correctly, the program I'm writing that contains …

0
170
Member Avatar for subha_2
Member Avatar for Zaal

Hi guys, want to convert PYTHON to C and RUBY anyone can help me with this? I have tried to find some online services, but can't find.. if someone can recommend free service, i'll be happy. I want to convert this simple code to C, RUBY,NODE JS http://hastebin.com/kibaraganu.pl Someone can …

-1
146
Member Avatar for Kersten

Hello, this question is related to an older post of mine ([Click Here](https://www.daniweb.com/programming/software-development/threads/505499/getopenfilename-freezes-at-second-execution)). In this question i stated that my program freezes at the execution of GetOpenFileName. After struggeling a while with that problem and doing other more important stuff first, i came back to the original problem and found …

0
217
Member Avatar for nitin1

Hi, I have been working on JNI. I have one doubt. When I call any native method from android activity (Java code), then we get jclass object from jobject instance we get in the native method as a parameter. Why do we need it actually? Here is a snippet from …

0
178
Member Avatar for Mark_48

I am trying to ask for a float input and valididate if it is a float if it is... continue, and if it is not ask for another input. My program tells me my input is invalid, which is correct... it then prints the two statements but it skips the …

0
131
Member Avatar for Maria_15

Write a program that accepts five input values and stores them into an array. The program should then display the average of the five numbers. Finally, the program should display all the numbers in the array that are larger than the average of the five numbers. So I did the …

0
97

The End.