132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for apurva agarwal

insert a node in circular link list without traversing it. :?: you have to insert the node at any place "without traversing it help me out!!! in this

Software Development c
Member Avatar for Chainsaw
2
163
Member Avatar for Blood Night

Crazy notions Time Limit: 1.0 second Memory Limit: 1 000 КБ For five days robot-loader JK546L54p has been buried under the thick layer of the Sibelian plutonium slag. The terrible strike of the atmospheric electricity has led to the depressurization of the robot’s fuel elements. Who will examine this heap …

Software Development c++
Member Avatar for Fili
2
262
Member Avatar for Neofite

I have an interest in learning a programming language in order to write programs to manipulate a fairly large set of numbers. For instance, I would like to write a programs to sort and maniuplate in various ways different baseball statistics on all of the active players in the last …

Software Development c++
Member Avatar for FireNet
2
198
Member Avatar for mrprimo55

Hey I have this program that I'm having some trouble figuring out so maybe someone can give me some helpfuls hints. Here goes: I have to find all numbers between 1 to 999 who when their digits are cubed individually and then all added together, equal the original number. For …

Software Development c++
Member Avatar for Dave Sinkula
2
150
Member Avatar for dooda man

[COLOR=Navy][/COLOR]hii, i am computer science student and i am doing win console application program "Project" by c++ compiler "mic visiual 6", the project is like a small data base which stores student names and thier grades and search for names, add, delete,edit and other things. i am asking if i …

Software Development c++ data-science
Member Avatar for FireNet
2
517
Member Avatar for Peewee

Well I have looked around the forums. But I cant find the answer to my question. It has been asked many a time. Im a complete novice to the world of programming (I am, lololol) I am trying to decide which path to go down, c, c++, vb, etc. Please …

Software Development c++
Member Avatar for Slade
2
320
Member Avatar for meff_04

:rolleyes: right, im goin 2 sound like a right dunce now but here goes... what exactly is Visual C++? i've found things about it, but nothing which is easy to understand. any help would be appreciated

Software Development c++
Member Avatar for meabed
2
313
Member Avatar for priya

Hello everyone, iam a new one into this forum. Can anyone tell about what is the significance of programming c in UNIX

Software Development c unix
Member Avatar for alc6379
2
86
Member Avatar for Lost Chyld

I'm working on a program with menus, but I don't know how to clear the screen before displaying the next menu.

Software Development c++
Member Avatar for wildrider30
2
221
Member Avatar for ctlajoie

"difference patching" is my word for the method used by patch makers that take only the differences in two files, and apply them to a patch file. RTPatch is an example of a program that does this. I've been trying to create one myself, but I'm stuck on the logic. …

Software Development c
Member Avatar for BountyX
2
417
Member Avatar for pablojim

I have just written some classes in visual c++ with MFC that give me out data I want to plot in excel. Are there any tutorials out there that will help me write a macro in excel that will pass the data to my classes then read the results given …

Software Development c++
Member Avatar for BountyX
2
576
Member Avatar for popo_prince

////having trouble with this one after first input starts a crazy loop malf. #include <iostream.h> #include <conio.h> const int MAX_ITEMS = 5; typedef int InventoryArray[MAX_ITEMS]; void DisplayOpeningMessage(); void DisplayEndMessage(); void OutputInventory(const InventoryArray items); // const used to protect the array from being changed void InputInventory(InventoryArray items); void ProcessChoices(); void OutputOneInventoryAmount(int …

Software Development c++
Member Avatar for BountyX
2
179
Member Avatar for rickykoh1983
Member Avatar for Dani
2
128
Member Avatar for Dani

What are some best practices for optimizing memory management when working with large datasets? I am tagging this topic both with php (because that is my language of choice, and the one I work with big data with) as well as c++ (because I know DaniWeb has a large low …

Software Development c++ data-science php
Member Avatar for ThinkWriteGrow
1
201
Member Avatar for Steph102

Hi everyone. I am just learning Python on class so I am really at the basic. I need to write a python program that will flip a coin 100 times and then tell how many times tails and heads were flipped. This is what I have so far but I …

Software Development python
Member Avatar for Reverend Jim
1
16K
Member Avatar for James_228

I’ve been working on a mid-size React project and started noticing performance lags and bloated component trees. I optimized a few things like: Using useMemo() and useCallback() smartly (but not overusing) Breaking components into smaller reusable ones Lazy loading routes and components But I’d love to know: What are your …

Software Development javascript
1
36
Member Avatar for Mr.M
Member Avatar for toneewa
1
204
Member Avatar for LiLo1001

In your opinion, what are industries use/benefit the most from automation, specifically intelligent automation?

Software Development artificial-intelligence-llm
Member Avatar for Dani
1
170
Member Avatar for Audun

Hi I want to make use of GitHub-programs, and so I downloaded a bunch of Python-tools. When I run this command in "Python 3.12", which looks like CMD to me, I get a syntax error. "To create a virtual environment, Python supplies a built in venv module which provides the …

Software Development github gui python
Member Avatar for pathofbuilding
1
94
Member Avatar for complete

I want to use C# do to a necessary mass emailing of hundreds of receiving email addresses. I have a gmail account and I believe my message will be better received if it comes from my personal gmail account instead of from one of my website's email accounts. But if …

Software Development c# visual-studio
Member Avatar for vivetool
1
83
Member Avatar for tjeckley

Hello DaniWeb community. I haven't been on the site in quite some time - it's so intense now that I almost feel a bit silly for asking a simple question but here goes. I have a personal account set up with Microsoft 365 and all is well for the most …

Software Development microsoft-office
Member Avatar for tjeckley
1
67
Member Avatar for TSC_Chazz

I have posted this question elsewhere and gotten zero helpful responses. Specifically on an Apple, with Python 3.9.10, I am using the socket sendall method to send a data buffer on a network connection that has successfully opened to a server. The data that I am sending does not reach …

Software Development apple json python
Member Avatar for rproffitt
1
44
Member Avatar for momentum2024

have an annoyance that I i'd like to know a workaround for please: -often/frequently/ nearly everytime i use MS 365 sign in or gmail sign in it takes me to a password reset. i have no wish to change my password { also previously did but it still kept wanting …

Software Development microsoft
Member Avatar for Salem
1
57
Member Avatar for kamaksha1

Hi.. I've to remove a very long path. I've written the below to try that but its giving WindowsError: [Error 206] (I've pasted it below). I've prepended "\\?\" to the actual path but still I'm getting the exception. Please let me know the solution... ++++ import os import shutil os.rmdir(os.path.realpath(r"\\?\D:\Kamesh\test-1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950\test-1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950\kkkkkkkkkkkkkkkkkkkkkkkkk\kllkppppppppppppp\long_path_test")) …

Software Development python
Member Avatar for Reverend Jim
1
8K
Member Avatar for complete

Using the Microsoft.SharePoint.Client namespace in a C# code, I am trying to access a SharePoint List but I am getting a 403. Is it because the Microsft List I am trying to access is on a different computer on the internet and the program has to be on the same …

Software Development c# microsoft-access sharepoint
Member Avatar for complete
1
82
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 () …

Software Development c
Member Avatar for rproffitt
1
52
Member Avatar for pritaeas

Anyone here that wants to share if they use AI Code Assistants professionally, which one and why? I'm looking for experiences with backend .NET development in Visual Studio to be specific.

Member Avatar for antwanlee
1
144
Member Avatar for Olive34

This is not really a question, since I can make it work. It's just something I have not seen before and I think it is odd. I'm writing some unit tests. One test works fine, but when I change a parameter for another test, it gives an error. The parameters …

Software Development c#
Member Avatar for Ellsaheranny
1
197
Member Avatar for Fergus_1

ok so i have a page with a gridview on it and it displays rows from sql table. i have also a link assigned to each row: <asp:GridView ID="GridViewMatters" runat="server" AutoGenerateColumns="False" OnRowDataBound="GridViewMatters_RowDataBound"> <Columns> <asp:BoundField DataField="client_ref" HeaderText="Client Reference" /> <asp:BoundField DataField="our_ref" HeaderText="Our Reference" /> <asp:BoundField DataField="client_name" HeaderText="First Name" /> <asp:BoundField DataField="section_name" …

Software Development asp asp.net
1
36
Member Avatar for cambalinho

these is the VB6 function for RayCasting: Private Sub DrawRays() Dim StepX As Double Dim StepY As Double Dim VertX As Double Dim VertY As Double Dim HorizX As Double Dim HorizY As Double Dim MapX As Long Dim MapY As Long Dim HorizDist As Double Dim VertDist As Double …

Software Development vb.net visual-basic
1
44
Member Avatar for Audun

Hi I downloaded Tkinter Designer, but there´s no exe there. I´ve used Thonny as a "compiler" for running scripts, and I used it to "make" a a simple program, but I don´t know how to save as an exe, and I don´t know how I would put these files into …

Software Development github python tkinter
Member Avatar for Reverend Jim
1
49
Member Avatar for cambalinho
Member Avatar for cambalinho
1
115
Member Avatar for Tom_45

I am trying to extract three values from the td tags in an html downloaded file. <tr align="right"><td>236</td><td>Roy</td><td>Allyson</td> <tr align="right"><td>237</td><td>Marvin</td><td>Pamela</td> <tr align="right"><td>238</td><td>Micah</td><td>Kristine</td> <tr align="right"><td>239</td><td>Collin</td><td>Raquel</td> I am using the pattern match = re.findall(r'<td.?>([\d+])([.?])*<\/td>', file) The file is created with a read() statement. The output should look like (236, "Roy", "Allyson") (237, …

Software Development python regex
Member Avatar for Tom_45
1
187
Member Avatar for Tom_45

I am trying to extract three values from the td tags in an html downloaded file. <tr align="right"><td>236</td><td>Roy</td><td>Allyson</td> <tr align="right"><td>237</td><td>Marvin</td><td>Pamela</td> <tr align="right"><td>238</td><td>Micah</td><td>Kristine</td> <tr align="right"><td>239</td><td>Collin</td><td>Raquel</td> I am using the pattern match = re.findall(r'<td.*?>([\d+])([.*?])*<\/td>', file) The file is created with a read() statement. The output should look like (236, "Roy", "Allyson") (237, …

Software Development python regex
Member Avatar for Tom_45
1
157
Member Avatar for cambalinho

how can i convert cursor files to image? i need see the cur\ani on picturebox?(just for learning) Private Sub btnChooseImage_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnChooseImage.Click If (ofdChooseFile.ShowDialog = Windows.Forms.DialogResult.OK) Then If (ofdChooseFile.FilterIndex = 6) Then Dim cur As New Cursor(ofdChooseFile.FileName) PicShowImage.Image = cur 'error yes Else …

Software Development image visual-basic
Member Avatar for cambalinho
1
68
Member Avatar for cambalinho

how can i convert these C line: (py>>6)<<6) to VB6?

Software Development c++ visual-basic
Member Avatar for pritaeas
1
117
Member Avatar for cored0mp

I was thinking that one way that a coding team could work would be that coders would be rotated through several roles. This would prevent people from getting too comfortable towards the goal of preventing problem areas (code quality wise) from developing in the department. * Architecture * Production Coding …

Software Development developer-tools software-architecture
Member Avatar for chuckc
1
154
Member Avatar for cambalinho

heres my RayCasting function: Private Sub DrawRays2() Dim AY As Double Dim AX As Double Dim StepX As Double Dim StepY As Double Dim VertX As Double Dim VertY As Double Dim HorizX As Double Dim HorizY As Double Dim MapX As Long Dim MapY As Long Dim HorizDist As …

Software Development visual-basic
Member Avatar for cambalinho
1
81
Member Avatar for jkon

Hello , I always had a distant relationship with C++ (writing in it small programs (or libs for other languages) only when performance really matters) but I have found myself writing more and more C++ bots. I learned that you need to separate the definition of the class (interface in …

Software Development c c# c++ file-system
Member Avatar for jkon
1
192
Member Avatar for Apoorva_K

THIS IS THE LINK FOR QUESTION:https://practice.geeksforgeeks.org/problems/subarray-with-given-sum/0 #include <iostream> using namespace std; int main() { long long int s,n,a[10000000000],e,d,l,flag=0,t; cin>>t; while(t--) { cin>>n>>s; e=0; flag=0; for(long long int i=0;i<n;i++) { cin>>a[i]; } for(long long int j=0;j<n;j++) { e=a[j]; for(long long int h=j+1;h<n;h++) { e+=a[h]; if(e==s) { l=j; d=h; flag=1; break; } …

Software Development c++
Member Avatar for Ethanbrody
1
189
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 …

Software Development c github
1
227
Member Avatar for Joaquim_5

how can i use CopyMemory() on VB6? i have these funcion: Public Sub Clear(BGRColor As Long) Dim i As Long For i = 0 To (Width * Height) - 1 CopyMemory ByVal PixelData(0) + (i * 4), vbGreen, 4 Next i End Sub how can avoid the 'for' loop? i …

Software Development visual-basic
Member Avatar for Gulshan_6
1
378
Member Avatar for potatochips

Hi, My Crystal Report is using VB.NET and Sql server 2005. The report can be displayed but everytime it will prompt me to key in the Username n Password.. is there anyway to automatically pass the login information to reports? thanks =)

Software Development sql vb.net
Member Avatar for lauryfriese
1
12K
Member Avatar for yehuda_2

Hi everyone, I'm happy to fill in any gaps in programming for quantum computers ("quantum programming"). I'm sure all have heard lots about, but unless you are in the field already there can also be misinformation involved. The bottom line - many the field of quantum programming is exciting, emerging, …

Software Development quantum-computing
Member Avatar for AndreRet
1
86
Member Avatar for Ganesan_5

I am reading a JSON file containing Family details and I am trying to fill them in a std::map. somehow the keys are accepting data but the values are showing null. please help. **code: test.cpp** ------------------ #include <iostream> #include <string> #include <fstream> #include <cstdio> #include <conio.h> #include "nlohmann\json.hpp" #include "extmodule.h" …

Software Development c++ data-structure json
Member Avatar for AndreRet
1
80
Member Avatar for Ahmad_77

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

Software Development c c# oracle vb.net
1
112
Member Avatar for biplabjackie

I have excel sheet where all pivotcharts are combined by slicers. i want to copy individual pivot charts from the excel sheet to a word document by image to placeholder Thank you in advance I have tried with win32 & openpyxl but error message came Object attribute charts is not …

Software Development microsoft-access python seo
Member Avatar for AndreRet
1
50
Member Avatar for Zeroday-AIAST

Interactive application security tool

Software Development asp.net java
1
62
Member Avatar for amarkevans

I am having a problem in Delphi with the use of multiple monitors. My application consists of a main form, with several different kinds of child forms. If I started running my application (not from Delphi – the executable), and I then enable a second monitor, and then move from …

Software Development delphi display pascal
Member Avatar for Tobie
1
935
Member Avatar for Johnny2x4

Uh. Hi! I am sort of new here. I post maybe once in a blue moon. This place is honestly 100x better than StackOverflow. Anyway. I won't post my entire resume here but I will post relevant details. Graduated two years ago, currently *under*employed, but happy. No internships. My first …

Software Development agile-development career engineering
Member Avatar for compshooter
1
222

The End.