2,720 Recommended Topics

Remove Filter
Member Avatar for
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" …

Member Avatar for AndreRet
1
77
Member Avatar for abu taher

In HTMl from I have a Input field type month. When I select a month and click on search button then total days of selected month show in HTMl table with backend data. This table contain salary. I want the salary is calculate with Total days. I write a script. …

Member Avatar for Jane_11
2
222
Member Avatar for rproffitt

This just in from an AI researcher. Given the impact GenAI has had, it's been odd to see how unwelcome discussions about GenAI are here and other places. Then again, it is an existential threat to new and old programmers that don't add these new tools to their repertoire or …

Member Avatar for Hasan_25
2
269
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 …

0
113
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 …

Member Avatar for pmmarc
0
3K
Member Avatar for Sam_163

Create a C++ class called "Rectangle" with private attributes width and height, and public member functions to set and get these attributes. Include a function getArea() that calculates and returns the area of the rectangle.

Programming c++
Member Avatar for Alisha_8
0
117
Member Avatar for usmanmalik57

Data annotation for text classification is time-consuming and expensive. In the case of smaller training datasets, pre-trained ChatGPT models might achieve higher classification accuracy on test sets than training classifiers from scratch or fine-tuning existing models. Additionally, ChatGPT can aid in annotating data for fine-tuning text classification models. In this …

Member Avatar for AndreRet
3
678
Member Avatar for jimmyhen77

First, I'm a passionate gamer and professionally a game developer. It's a dream of me to create games like assassin creed series, I also own a [website](https://skydownloading.com/) which basically all about gaming. You might know how much I'm into gaming. If I start working out than how many Days or …

Member Avatar for AndreRet
2
415
Member Avatar for Steve_63

My site is on Apache, the host has enabled 'mod_unique_id' My CSP runs in the root .htaccess. My host has given me 2 lines of code to put in the CSP to make an unrecognisable base64 NONCE code each time it's needed - particularly for PayPal. What they sent (in …

Member Avatar for AndreRet
0
120
Member Avatar for Mindmade

Hi guyz, Why IoT is the future of mobile app development? Form your perspective

Programming c++ php python
Member Avatar for Reverend Jim
-2
299
Member Avatar for developer707

Hi, After searching for many days I was not able to find any good PHP JSON Schema Generator, most of them seems to have only the ability to validate schema with a JSON payload. I just found this [php-json-schema-generator](https://github.com/evaisse/php-json-schema-generator) today but it seems to be not maintained often, it does …

Member Avatar for AndreRet
0
157
Member Avatar for lenalauren22

Hi all, I am new to coding and I've been receiving the error message for Unexpected Token '<'. The problem seems to be located in the very first line in my <!DOCTYPE html>. I am not sure what I am doing incorrectly. I've checked settings, rewritten the code, etc. Help …

Member Avatar for AndreRet
0
144
Member Avatar for xamer

In the dynamic and ever-evolving landscape of cryptocurrency, where virtual fortunes are created and exchanged in the blink of an eye, the significance of security cannot be overstated. As the digital realm intertwines with the financial world, the need to protect digital wealth from potential threats and vulnerabilities becomes an …

Member Avatar for AndreRet
0
65
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.

Member Avatar for frank_49
-1
412
Member Avatar for fluids_

I am trying to make a drawing board in pygame but I want to be able to change the opacity using RGBA but it doesn't seem to be working, my code below: import pygame as pg import sys, os from pygame.locals import * pg.init() draw = 0 color = 0 …

Programming python
Member Avatar for Reverend Jim
0
148
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 …

Member Avatar for Alex_169
0
115
Member Avatar for Ahmad_77

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

1
106
Member Avatar for Joaquim_5

how can i read a file to StdPicture? and draw it on memory HDC? Public Sub LoadImage(strPath As String) Dim myPic As New StdPicture Set myPic = LoadPicture(strPath) NewImage myPic.Width, myPic.Height BitBlt MemoryHDC, 0, 0, Width, Height, myPic.Handle, 0, 0, SRCCOPY 'i get only a black background color End Sub

Member Avatar for rproffitt
1
117
Member Avatar for Smbom

After using GSC on my website, there is a "Submitted URL not selected as Canonical " problem on many pages, but I checked these pages, it showed that they could be indexed. Actually, they are not. And I don't know how to fix them, what should I do?

Member Avatar for becketharper585
1
110
Member Avatar for Reverend Jim

I came across this item while programming something that should have been very simple. VLC Media Player will save the last viewed position in a media file (assuming you have the resume option enabled). It maintains two lists, file names, and offset times. The file names are encoded such that …

Programming python
Member Avatar for rproffitt
0
47
Member Avatar for Pradeep_24

Hello guys i want to convert this string to boolean and i'm passing this string in if condition my Str = "row(0).ToString.Contains(""ABC"")" it should return me boolean result as the condition follows I'm Making use of this in Uipath

Member Avatar for ashishhhroe
0
347
Member Avatar for Joaquim_5

i use the RtlFillMemory(): Call RtlFillMemory(ByVal DataPtr, DIBInf.bmiHeader.biSizeImage, &H80) the '&H80' is the mid-grey color.... what are the others colors code?

Member Avatar for Joaquim_5
0
332
Member Avatar for Daniel_183
Member Avatar for ashishhhroe
3
143
Member Avatar for MasterHacker110

I have been using Game Maker for a few months now but want to go a bit more advance. Where can i get some nice looking textures? Oh and if you know a profesional, rather easy to use, free game engine. Please list it and where i can download it. …

Member Avatar for Tarık Can
0
190
Member Avatar for Zazy

I need some help from the IT gurus on this forum. I'm having trouble with my MS Windows menu's Edit menu item. What I'm trying to do is enable or disable the Cut menu item depending on whether the selectionlength of my textbox's text is zero or greater than zero. …

Member Avatar for fenichitofelini
0
141
Member Avatar for Gulshan_6

Hello this is Gulshan Negi Well, I am writing a program for making hangman game in python but it shows some error at the time of its execution. Here is my source code: import random def select_word(): words_in_computer_memory = ['magazine','stars','computer','python','organisation'] word = random.choice(words_in_computer_memory) return word def is_gussed(word, guessed_letter_list): count=0 for …

Member Avatar for AndreRet
1
154
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 …

Member Avatar for AndreRet
1
47
Member Avatar for Daniel_185

I'm developing a blogging platform and want to integrate image and video embedding capabilities. Can a JavaScript WYSIWYG editor help with this?

Member Avatar for Allin
0
113
Member Avatar for OscarIsac

I am currently facing challenges with cross-browser compatibility on my website https://learnaboutcat.com/about/, as it does not consistently perform as expected across different web browsers. Variations in rendering, layout, and functionality make the user experience inconsistent and hinder the website's effectiveness. I tried to optimize the code and adjust settings, the …

Member Avatar for Vipul_13
0
86
Member Avatar for Kirubel_2

<!DOCTYPE html> <html> <head> <title>Exercise V3.0</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <link rel="stylesheet" type="text/css" href="w3.css"> </head> <body> <div class="container"> <div class="header"> <ul> <li ><i class="fa fa-home" id="me"></i></li> <li><i class="fa fa-trash" ></i></li> <li ><i class="fa fa-close" id="he"></i></li> </ul> </div> <div class="title"> <span>Completed 15 of 67 Exercises:</span> </div> <div class="nav"> <ul> …

1
98

The End.