995 Recommended Topics

Remove Filter
Member Avatar for
Member Avatar for Alicia_14

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

Software Development c print
Member Avatar for DGPickett
0
96
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. …

Software Development binary-tree c heap insertion
Member Avatar for DGPickett
0
306
Member Avatar for snah19

Hi, I'm transitioning to assembly, starting with processor 8086. The attached code is Masm 5 compatible and is a step up from Hello World, which linked and ran okay. An endless loop exists, giving credence to this note. Any comments or suggestions to resolve it would be appreciated, thanks! .model …

Software Development assembly
Member Avatar for snah19
0
121
Member Avatar for cambalinho

see these 'for' loop: Public Function SetTransparentColor(color As Long) Dim X As Integer Dim Y As Integer Dim c As Long Dim h As Long Dim w As Long Dim temp As BGRAQUAD ' substitua BGRColor pelo tipo de dado correto usado em bDibBGRA h = Height - 1 w …

Software Development visual-basic-6
Member Avatar for Reverend Jim
0
96
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++
Member Avatar for jkon
1
116
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
161
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 …

Software Development c c++
Member Avatar for Dani
2
223
Member Avatar for kukuruku

Is it OK to have if statement in the constructor Thanks [CODE] public class CTime { private int start_hour; private int end_hour; private int start_minute; private int end_minute; public CTime(int h1,int m1,int h2,int m2){ if(h1>=7 && h2<17 && h2*60+m2>h1*60+m1){ setStartHour(h1); setStartMinute(m1); setEndHour(h2); setEndMinute(m2); } }[/CODE]

Software Development java
Member Avatar for Washington AM
0
8K
Member Avatar for marrywillson

AI is good for content writer. but some time AI have not perfect solution . so AI not good for future as a content writing prospective.

Software Development images seo visual-basic
Member Avatar for Dani
0
44
Member Avatar for Ashley_31

1. Analyze the problem below and make a c++ program to enter on the keyboard the required data for process. Compute the time of flight of a projectile and its height above the ground when it reaches the target. Display all the inputed data and the processed or compute data. …

Software Development c++ homework
Member Avatar for Olive34
0
210
Member Avatar for mnoizinum

I use apple's x code, my system is OS X 10.4.11 Im getting a warning you must be familiar: [CODE]"#ifdef __DEPRECATED #warning This file includes at least one deprecated or antiquated header. \ Please consider using one of the 32 headers found in section 17.4.1.2 of the \ C++ standard. …

Software Development c++
Member Avatar for Dani
0
252
Member Avatar for LXSXX1024

I'm making a software similar to Grammarly in C++. I want to get data from the clipboard, then if a certain sequence of data that is a certain number of letters is contained in it, then it has to be replaced by a predefined string.

Software Development c++
Member Avatar for Anthony6534
0
160
Member Avatar for nathaliecolemadrigal.lopez
Member Avatar for Clarar
0
469
Member Avatar for rproffitt

https://thehill.com/policy/technology/4162573-ai-art-cant-earn-copyright-judge-rules/ give us a preview that those that use AI, ML, GPT and such may be on uncertain ground if they want to copyright the code. You may not be aware that most of the online AI/ML/GPT systems keep copies of what you generate. So if you are creating code …

Member Avatar for Reverend Jim
3
255
Member Avatar for akkbkht

I am preparing a CSharp based desktop app in VS 2019. I have 4 ComboBoxes. On the form load, the comboBox1 fetches folder names in root directory in D drive. The structure is Folder The sub folder Then sub folder then MS word documents in the 4th folder. For example, …

Software Development auto-populate autocomplete combobox
2
66
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-6
Member Avatar for Gulshan_6
1
212
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
1
105
Member Avatar for Mohammad_21

Hello I want to print some data that appear in Form. I print some data( image, labels....) then at point y = 415, I will print all rows of datagridview, at here all is right, but when i want to print rows that need more page, i had wrong result, …

Software Development datagridview print
Member Avatar for Hossein_7
0
656
Member Avatar for Sajid_21

As we transition from a monolithic architecture to a microservices-based approach one of the main challenges we're facing is implementing an efficient Continuous Integration/Continuous Deployment (CI/CD) pipeline. In a monolith, we had a single codebase that made it straightforward to manage automated builds, tests, and deployments. However, with multiple loosely …

Software Development microservices
Member Avatar for Sajid_21
0
71
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 login password sql-server vb.net
Member Avatar for lauryfriese
0
12K
Member Avatar for abhishek_s_n

heyy guys.. m implementing PEER TO PEER FILE TRANSFER.. What protocol should I use? TCP or UDP? And why?

Software Development java socket-programming tcp udp
Member Avatar for Sofiia
0
1K
Member Avatar for raj_41

If any of you have hands-on experience in developing texting platforms or have insights into the considerations involved, I would greatly appreciate your input. Factors such as real-time capabilities, scalability, integration with messaging protocols, and compatibility across devices are of utmost importance.

Software Development database java python
Member Avatar for Sajid_21
0
211
Member Avatar for TENG JUN

TITLE Simple Login System .MODEL SMALL .STACK 64 .DATA USERNAME DB 20 DUP('$') PASSWORD DB 20 DUP('$') INPUT_BUFFER DB 20 DUP('$') PROMPT_USER DB 13,10,"Create a username: $" PROMPT_PASS DB 13,10,"Create a password: $" LOGIN_NAME DB 13,10,"Enter your username: $" LOGIN_PASS DB 13,10,"Enter your password: $" SUCCESS_MSG DB 13,10,"Login successful!$" FAILURE_MSG …

Software Development assembly
Member Avatar for Dani
0
124
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-programming
Member Avatar for AndreRet
1
79
Member Avatar for fx.eko

hi.. I have a problem when compiling the program created in VB6, an error message suddenly appears visual basic has stopped working the condition of the laptop that I use with 4GB memory specifications does this correlate directly while executing the process compile, while if I compile the program with …

Software Development visual-basic-6
Member Avatar for AndreRet
0
71
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++
Member Avatar for AndreRet
1
62
Member Avatar for cambalinho

heres a sample of using pointers on VB6: Option Explicit Private Const BI_RGB = 0 Private Const CBM_INIT = &H4 Private Const DIB_RGB_COLORS = 0 Private Const USE_BITMAP_ALPHA = &H1000000 Private Type BITMAPINFOHEADER biSize As Long biWidth As Long biHeight As Long biPlanes As Integer biBitCount As Integer biCompression As …

Software Development visual-basic-6 win32
0
85
Member Avatar for cambalinho

i build a class for create a static control(label). and i't cool. but why the SetTextColor() and SetBkColor() are ignored? case WM_PAINT: { PAINTSTRUCT ps; HDC hdc = BeginPaint(inst->hwnd, &ps); // TODO: Add any drawing code here... SetBkColor(hdc, RGB(0,255,0)); SetBkMode(hdc,TRANSPARENT); SetWindowText(inst->hwnd,"hello"); EndPaint(inst->hwnd, &ps); } the inst is the class(label) pointer …

Software Development c++
Member Avatar for pmmarc
0
3K
Member Avatar for mankind33

Hi there, I am a beginner and need your kind support to build an application in VB6. I want to know how to attach a VOLUME CONTROL to a MMcontrol of VB6 in the form. Please reply to [email removed] Thanks and atb.

Software Development visual-basic-6
Member Avatar for frank_49
-1
370
Member Avatar for Lucius_1

[Click Here](https://github.com/Schol-R-LEA/Ranged-Numeric-Types-for-CPP) I've started working on a basic template class that can help automate range checking in specialized numeric types. My inspiration for this comes from the ranged types found in languages like Pascal and Ada. Currently, the focus is on integer types, but I've designed it to be adaptable …

Software Development c++
Member Avatar for Alex_169
0
113

The End.