49,761 Topics

Member Avatar for
Member Avatar for Mr.M

Hi DW, I'm having an issue here, I have 3 forms namely `start.h`,`home`,`Form1` in their order of execution, the problem starts when I include Form 1 to any of these forms then I get `LNK2005 'unsigned short MyprojectName::m_hservice' (?m_hservice@MyprojectName@@$$Q3GA) Already defined in home.obj` NB these forms are completely different, the …

Member Avatar for Mr.M
0
222
Member Avatar for Mr.M

Greetings, I'm having an issue, I want to set my form to display at the very top right hand side corner of a screen, I've achieved this in vb.net using this code `Location = New Point(Screen.PrimaryScreen.WorkingArea.Width - Width, 0)` Does anyone know how I can do this in VC++?

Member Avatar for Reverend Jim
2
72
Member Avatar for kz07

hey.. im new in c++ and im doing an engineering journal as my assignment.. i dun know how to do this.. Entries in the journal are private, so the journal is encoded and protected using a pin. When the program is executed it will ask for a 4-digit pin. The …

Member Avatar for jonathan_57
0
2K
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 Sejal_8

to create a code in c++ for representing an adjacency matrix using templates and delete node function

Member Avatar for Reverend Jim
0
28
Member Avatar for Raj_578
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
50
Member Avatar for TheRoyalFalcon

I found some code on the web a while back. But I don't know who wrote it. The code below looks for worksheet names in a excel file. I am not familiar with C++ (and do little to nothing with binary files). Can someone help me convert the code below …

Member Avatar for liangting03
0
1K
Member Avatar for baranoya

Hi, I'm trying to start learning C++ on "Sublime Text" an error came out "file not recognized: File format not recognized collect2.exe: error: ld returned 1 exit status" what can I do about it

Member Avatar for baranoya
0
49
Member Avatar for Oven

Im trying to code a lem-in project. https://github.com/01-edu/public/tree/master/subjects/lem-in Im coding in go lang. But its okay in another language tho. I can convert it to go. Me and my friends cant even solve the algorithm neither. ChatGPT is stuck and in the web i found a 800 rows of code. …

Member Avatar for toneewa
1
71
Member Avatar for Nishi_2

The choice of programming language for developing a Ludo game will depend on the specific needs of the project, the skills of the development team, and the target platform. Here are some of the programming languages that can be used for Ludo game development: **C++:** C++ is a high-performance programming …

Member Avatar for m2host
0
815
Member Avatar for Airlike

Hello everybody I'm a student and having problems with an assignment - I have at the moment no idea how to achieve an appropriate solution. I'm aware that you shouldn't help me by showing some code. That's okay for me since I want to solve it by myself but I …

Member Avatar for trueframe
0
7K
Member Avatar for Michael_80

In Unity 3D, utilizing the Starter Assets package, I am trying to swap the mesh on the Starter Asset character that I duplicated in the scene. I unpacked a prefab so that I could utilize the mesh filter of the new prefab that I imported. I realized that there are …

1
48
Member Avatar for Thomasio

I want to figure out what Windows does when you right-click a video file and check properties and I would like to write a similar piece of code in C++. I should be able to figure out how to read the file type and size, but I'm lost in how …

Member Avatar for Thomasio
0
198
Member Avatar for SHWOO

Hi, I am trying to get a cat walking back and forth between the screen using a left and right tileset of bitmaps. Also, I am supposed to be able to control two caveman sprites that appear to walk left and right as you press the left and right keys. …

Member Avatar for Pavel_11
0
330
Member Avatar for ដំណើរ
Member Avatar for Dani
-1
20
Member Avatar for SEO_935

AI-powered code reviews are bringing about a revolution in the way developers collaborate, enabling more efficient, accurate, and thorough evaluations of code prior to its integration into the central project repository. This transformation is made possible by leveraging machine learning and artificial intelligence to automate and enhance different facets of …

0
44
Member Avatar for verrandhack

So im working on functions for the first time in vscode using c++. i'm want to declare functions and having trouble understanding some things. i'm very new to programming so i still don't understand commands like str, file, value, void, readName, and so forth but i know i need to …

Member Avatar for learnerya
1
68
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
74
Member Avatar for sammieb

I am trying to enter a single string in C++ in which I give a URL citation. the entire line is as follows: cout << 'furey, edward "sphere calculator" at https://www.calculatorsoup.com/calculators/geometry-solids/sphere.php from calculatorsoup, https://www.calculatorsoup.com - online calculators' << endl; I am getting the error: character constant too long for its …

Member Avatar for rproffitt
2
95
Member Avatar for cambalinho
Member Avatar for nomoshi

hii guy i want a loader injector connect with keyauth, you guy can give me a source code ? please and i also a student in a hightschool. i just want to learn about that please help me .

Member Avatar for rproffitt
1
84
Member Avatar for digitalfolks
Member Avatar for sri_213
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 …

Member Avatar for jkon
1
151
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
349
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; } …

Member Avatar for Ethanbrody
1
181
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. …

Member Avatar for Olive34
0
220
Member Avatar for Ndidiamaka_1
Member Avatar for Reverend Jim
-1
24
Member Avatar for Isis_1

Hi everyone, was wondering if maybe someone could help me. I'm new to coding and have an assignment to do. The assignment is as follows: Write a program that lets the user enter the total rainfall for each of 12 months into an array of doubles. The program should calculate …

0
126

The End.