15,552 Topics

Member Avatar for
Member Avatar for YashSmith
Member Avatar for Likitha M
Member Avatar for CrystalKanger

good day - I am wondering if anyone can explain to me how to allow the user to change the name of the tabs in a tab control via a textbox? For example, at runtime the user will be able to change the title of the tab ("TabPage1") to "Baking" …

Member Avatar for pathofbuilding
2
53
Member Avatar for leni_co

Hi everyone, I’m curious to learn how others in the commercial real estate space leverage property analytics for better decision-making. Whether it’s identifying growth markets, assessing risk, or optimizing portfolio performance, I’d love to hear your insights and strategies. At Leni, we’re exploring innovative ways to analyze commercial properties, but …

Member Avatar for rproffitt
-3
12
Member Avatar for deceptikon

A common task in C or C++ is to get a string from somewhere and convert it to an integer. "Use `atoi`" is a common suggestion from the unwashed masses, and on the surface it works like a charm: #include <stdio.h> #include <stdlib.h> long long square(int value) { return value …

Member Avatar for Salem
8
2K
Member Avatar for Kajal_14
Member Avatar for rproffitt
0
11
Member Avatar for Hudasoft
Member Avatar for ASubhan

Hello !! "I want to learn Java data structures and algorithms (DSA). I have recently learned Java object-oriented programming (OOP). Suggest me best tutorials for learning.

Member Avatar for trueframe
0
60
Member Avatar for li_049

![图片1.png](https://static.daniweb.com/attachments/5/081db9c666339d60f2cf91f9b3413e60.png) The value of the Class variable is '0' 'I' '0' 'H' '0' '4' I hope the value of the Class variable is A' 'T' '0' 'H' '6' '9' I tried using sort_region to sort SelectedRegions1, but it still didn't work read_image (Image1, 'C:/Users/29185/Desktop/图片1.png') get_image_size (Image1, Width, Height) dev_close_window () …

Member Avatar for rproffitt
1
45
Member Avatar for zidan
Member Avatar for snah19

RE: ffmpeg-4.4 Andrew Wu DJGPP CROSS COMPILER, GCC v12.2.0 Host Macbook Pro, macOS Monterey [Click Here](https://ffmpeg.org/platform.html#DOS) DJGPP Cross Compiler 12.2.0 Fails to Recognize "certain" Parameters in FFmpeg Source Code Hi, I am using the DJGPP cross compiler 12.2.0, developed by Andrew Wu, github, to build the FFmpeg source code, and …

Member Avatar for toneewa
1
85
Member Avatar for learnerya

I am a first-year university student from China. My major is Computer Science and Technology. I have been self-learning C++and data structures and algorithms recently. May I ask how I can learn them well? Is anyone interested in being my teacher or learning with friends? (Machine translation, my English is …

Member Avatar for tinstaafl
1
83
Member Avatar for brooklyn1991

Hello, everyone!:) I am new to Daniweb and I would like a little help in implementing Binomial Heap subroutines in C, especially insertion in Heap. For my application it is necessary to implement max-heaps(i.e., roots storing the maximum value) in stead of min-heaps(i.e., root storing minimum value) in ANSI C. …

Member Avatar for DGPickett
0
320
Member Avatar for Alicia_14

what unique characters are there in c? So far, I've found these: ¦ ¯ • | ÷ ¶ £ ¢ € ¥ © ® ™ › » « ‹ ‰ % ˜ 8 §

Member Avatar for DGPickett
0
103
Member Avatar for sri_213
Member Avatar for Sunnyfish

Hello all. I'm relatively new to libcurl C++, and I have been hopelessly stuck. Bit of a background for this app. It is very legacy, having been made in the early 2000s. LPSTRs abound. It looks in FTPs for files from suppliers (who have an SFTP they interact with and …

Member Avatar for Dani
2
417
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
225
Member Avatar for Sairus_1

Here is my code: void do_print(int varnum, int *var) { printf("register %c: ", varnum+CH\_A); int i = 0; while(*var>0){ v[i] = *var%10; *var/= 10; i++; } I am trying to store each digits of a number into an array, but when I tried very large number such as 12478783917289471284, the …

Member Avatar for Reverend Jim
0
73
Member Avatar for Irata001

How to solve some errors in the code in c++ #include <iostream> #include <cstdlib> #include <ctime> #include <cmath> class Person { //creating a Person class with attributes like ID, latitude (X) and longitude (y) public: int x; int y; bool infected; }; Person(int _id, int _x, int _y, bool _infected) …

Member Avatar for AndreRet
-1
73
Member Avatar for Alex8585

It is to make some changes to an existing app, does anyone know how to use this tool? :)

Member Avatar for rproffitt
0
55
Member Avatar for Ahmad_77

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

1
108
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
80
Member Avatar for asifdaud2019
Member Avatar for seth_yu

[Click Here](https://github.com/codecat/catsight) Thank you very much if you can provide compiled Windows binaries or converted VS projects that are preferred

Member Avatar for rproffitt
0
177
Member Avatar for Amit_108

HELLO ALL ! I am new here and a Lerner,beginner. I need help from you all great mind in my project that i have a datatable dt. i retrieve data from sql to a data table named dt in vb.net. now i want to write result in notepad where user …

Member Avatar for Santanu.Das
0
161
Member Avatar for Anakin3463
Member Avatar for Anakin3463

I have a few 3-4 small C programs to write, i missed 2 days because of health and need to catch up, can anyone help? use older methods as scanf, printf,

Member Avatar for Dani
-1
88
Member Avatar for Billa_1

I am tasked with Integrating Servicenow with Docusign for sending Mutual NDA for digital signature. This is to be achieved through a request item. Does anyone know how to do that. I have tried ServiceNow Community and it has a cryptic answers. I am new to restful integrations and have …

Member Avatar for pritaeas
0
42
Member Avatar for priya1717

1 I have an array of char but values is decimal representation of a character. example: char bytes[4]={50,48,49,51} how to convert this to get char array like this: char bytes1[4]={2,0,1,3} c

Member Avatar for toneewa
0
129
Member Avatar for Angélica_7

H! I need to calculate the mean of the coverages of two types of particles that could be trapped on a square surface. They are particle #1 and particle #2. Such averages are taken after certain number of steps, for example, every 10 Monte Carlo steps, and considering a number …

Member Avatar for toneewa
1
134
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
29
Member Avatar for rproffitt

From https://www.reddit.com/r/ProgrammerHumor/comments/wupbvb/python_runtime/ ![image_2022-08-22_115014356.png](https://static.daniweb.com/attachments/1/23876285d9d923cc038ee98e099d4a8f.png) As time passed it looked to me that Python evolved past a C framework.

Member Avatar for Dani
3
415
Member Avatar for Bien Joshua

Ever since we started broadcasting professional races internationally, we've been getting complaints about how we only display speeds in kilometers per hour. In order to accomodate our international audiences, we're going to start adding more speed units to our broadcast! Namely: miles per hour, meters per second and yards per …

Member Avatar for Skillz_1
0
66
Member Avatar for sankar2000

I am trying to make a simple HTTP/HTTPS service discovery in C. For this app i use `pthread` as there is no other better cross platform options for this, but i get some strange errors. **PROBLEM1 : thread_submit has do be dynamically modified at the run time. Right now it …

Member Avatar for Skillz_1
0
40
Member Avatar for Ingmar_1

When I try to install webview2 package from nuget I get this output: Retrieving package 'Microsoft.Web.WebView2 1.0.1418.22' from 'nuget.org'. Adding package 'Microsoft.Web.WebView2.1.0.1418.22' to folder 'C:\Users\pc\Desktop\VS 2015 projects\dbtest\packages' Added package 'Microsoft.Web.WebView2.1.0.1418.22' to folder 'C:\Users\pc\Desktop\VS 2015 projects\dbtest\packages' Install failed. Rolling back... Package 'Microsoft.Web.WebView2.1.0.1418.22' does not exist in project 'webview2' Removing package 'Microsoft.Web.WebView2.1.0.1418.22' …

Member Avatar for rproffitt
0
225
Member Avatar for Aizoh1219

Create a menu driven program that has the following menus 1. Get number 2. Determine if Number is Even or Odd 3. Determine if number is positive or negative 4. Determine how many digits are in a number 5. Exit You must create the following functions 1. Display menu: This …

Member Avatar for Reverend Jim
-1
31
Member Avatar for Husnain_6

I have written code to append, prepend and update a linked list using c++. But I am unable to figure out the problem. Can anyone help me to run it. I will be grateful for the favor. The code is pasted below: #include<iostream> using namespace std; class node { public: …

Member Avatar for Reverend Jim
0
159
Member Avatar for nouran_2

A small airline has just purchased a computer for its new automated reservations system. You have been asked to develop the new system. You’re to write an application to assign seats on each flight of the airline’s only plane (the capacity of the plane is 10 seats of the same …

Member Avatar for rproffitt
0
112
Member Avatar for Dreamer_1

I want to remove elements from struct array. I have tried many different versions of my remove()function, but no of them work. This last deletes the element that user spcified and copies onther element to its place. in main() i have n=remove(a,n) int remove(Vegies a[], int n){ int i,input,j; while(1){ …

Member Avatar for Reverend Jim
0
26
Member Avatar for Sofia Ann
Member Avatar for rproffitt
0
51
Member Avatar for Senzo_1

find the sum of numbers until the number itself, the factorial of the number, and the ratio of the factorial to the sum with 1 fractional number. by using functions in the C language. For example, if the student enters 10, the program should display: The sum of numbers until …

Member Avatar for rproffitt
0
33
Member Avatar for Martin_53

How can I write in C++ a code in which a user select multiple similar names from a list of names.

Member Avatar for rproffitt
0
100
Member Avatar for olong tea

This questions contains probability and I dont know how to work with it in Java import numpy import random def cup_game(): cashprice = [0.5, 1.0 , 2.0 , 5.0] n_turn = numpy.random.randint(5,11) n_mult = numpy.random.randint(3,6) cups = list(range(0,15)) x = numpy.random.choice(cashprice, 15, p=[0.3, 0.4, 0.2, 0.1]) x = list(x) turn …

Member Avatar for JamesCherrill
0
95
Member Avatar for Mallika_1

// Texture segmentation using Uniform Local Binary Pattern #include<iostream> #include<stdio.h> #include<conio.h> #include<malloc.h> #include<math.h> struct cluster { /* data */ float i[10]; float cumi[10]; int memcount; }; //variable declaration unsigned char **allocateMem(int,int); void applyKmeans(unsigned char **,int,int, unsigned char **); void calculateTexturevector(unsigned char **, int,int,float *); void initializecluster(unsigned char **, struct * …

Member Avatar for Maria_36
0
59
Member Avatar for darshanghorpade

For a given array of integers, reach to the end of the array from the 0th index with minimum number of moves. Moves possible at each index: Move from index i to index (i+1) Move from index i to index (i-1) Move from index i to index j, if a[i] …

Member Avatar for Fifth Horseman
0
202
Member Avatar for Afonso_1

Does someone know how to download a file in c++? A simple way. i just need it to download and save it to a specific directory.

Member Avatar for Dani
0
2K
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
54
Member Avatar for Ben_913

I am a novice in assembler programing, I will will appreciate if someone could review these NASM assembler code for me. Is about encoder decoder. The encoder performs the following: 1. pads the shellcode with NOP opcodes so it is 4 bytes aligned 2. a random byte is generated for …

Member Avatar for Dani
0
118
Member Avatar for aimannafis12333

Can you guys help me to convert this C++ to C https://padlet.com/aimannafis12333/el9ytegudkw69o8e

Member Avatar for Dani
1
137
Member Avatar for jnbgames.dev

The program below is written in **C** and is used to convert numbers to words. These operations are beneficial during the development of word processing applications. The program takes the **input** file that contains the number and **outputs** the results in an output file. Let me know if you find …

Member Avatar for Dani
0
470

The End.