49,761 Topics
| |
Hey, I just started learning C++ a couple of days ago and I'm interested in making an automated bot for an MMORPG ie. Runescape, MU Online, Silkroad Online, Last Chaos etc. It would be for personal/private use, so only I would use it. I was wondering, is there a quick … | |
write the program in c++ to define a class called toString with the following data member, class variable str1 and str2 member function get string, compare string, and concatenate String | |
Dear All, I need your asistance. I need to develop an application that takes input from text box into an array and calculcate the values (using Visual c++ GUI development). I really need yoru help. Thanks | |
void change(char* input){ memset(input, 'a', strlen(input)); } int main(){ char* p = "foo"; cout << p << endl; change(p); cout << p << endl; } | |
Hello ,,,i need programming open source or any source code ,please | |
In C++ we provide names for the entities we create, the variables, functions and types in our programs. These names, or identifiers, are required to conform to some simple rules. [b]Valid Characters [/b] An identifier must start with a letter and is comprised of a sequence of letters and digits. … | |
Hi Friends I am new to c++ coding, please tell me, i need to create project, if any body can help me, which condition we use the class, when we use the struct, how can use the function, how can think and get some idea, see brother i am study … | |
Hello. I'm having trouble with creating a program based on Prim's algorithm. This is the program and got the following error: #include<iostream> #include<stdio.h> #include<conio.h> using namespace std; int weight[20][20],visited[20],d[20],p[20]; int v,e; void creategraph() { int i,j,a,b,w; cout<<"\nEnter number of vertices"; cin>>v; cout<<"\nEnter number of edges"; cin>>e; for(i=1;i<=v;i++) for(j=1;j<=v;j++) weight[i][j]=0; for(i=1;i<=v;i++) … | |
Write a program, which will imitate an ATM machine. The program will ask for a password. Assume that only password 123456 is accepted. If the password is correct, display the following menu Menu ATAM Bank ABC 1. View Balance 2. Deposit 3. Withdraw 4. Transfer Fund Your choice : _______ … | |
hai. anyone can help me ? I run my coding but it be invalid option even I already declare my coding. Can I know which part I wrong ? #include <iostream> #include <string> using namespace std; void printintromenu(); void login(); void mainmenu(); int main () { cout << "Welcome To … | |
#include<stdio.h> #include <iostream> #include <string> using namespace std; int main() printf("Password: \n"); if (scanf_s("Hello")); printf("Good Job \n"); string Migas; cin >> Migas; else (scanf_s("Hello")); printf("Wrong!"); return 0; // Help please I don't know what to do! I've been trying to learn C language and I can't find the probrem here! … | |
hi i am a beginner with c++. i have a csv file. i want to read particular set of values from a particular column. how can i do it. if possible kindly help me with some sample codes. thanks in advance | |
Hi All, I am looking for a design approach to implement TCP socket server which is going to serve requests based on multiple ports. (1) port1 : dedicated for video streaming (2) port 2: dedicated for audio streaming (3) port 3: dedicated for data streaming. In above scenario do i … | |
hello, i just set goal of mastering algorith and i just get started i have an algorhtm for insert sort and i when i write it in c it is not sorting this is the algorith for j D 2 to A_length key = A[j] // Insert A[j] into the … | |
#include <cstdlib> #include <iostream> #include <string> using namespace std; int main() { cout << " WELCOME TO GPA CALCULATOR \n\n"<< endl; int x, nument; float GPA, TotalHrs = 0, GEP = 0, CrHours, X, Y, TotalPts; char Grade, A, B, C, D, E, F; char choice = 'Y'; cout << … | |
A [n] [m] matrix of natural numbers (2 <= n, m <= 100) is given by the fine A [i] [j] at each passing point (i, j). You are required to enter the first line of the first line from the n-string line. In addition, moving from the current drawer … | |
Hi, I need help playing a sound in Visual C++ 2008. (Windows Forms App). I've tried many things searching on google, I used this method: [CODE]PlaySound("beep.wav", 0, SND_LOOP|SND_ASYNC);[/CODE] Then I get the error, "'PlaySoundW' : cannot convert parameter 1 from 'const char [9]' to 'LPCWSTR''. Can anyone help me play … | |
In below code i am writing file contents in backup serialize file through boost serialization library, but what i observed that every time i need to store all the data in file then only i would be able to read the entire data. so in case if i perform single … | |
Write a C++ program implementing the use of Object Oriented Programming that would simulate a supermarket cash register receipt. The program should start by displaying the Supermarket's Name and business motto ... for example BRODIES - SERVICE, VALUE , SATISFACTION. Then goes on to ask the user enter the customer … | |
I am learning to code and found interesting task, but i do not know where to start in solving it. So i have a file with some titles and comments which need to be placed under the right title. So the first line of the input contains a number N … | |
I want to create a program that enables user to input 90 entries (90 questions' answer ranging from A to D)(1 answer per Question) and when it feeds the input, the program checks the entries with its randomly generated answer keys. (+4) for every correct entry (-1) for every wrong … | |
hi all, im realising motion detection that compare two successive frame saved in directory , using OpenCv but, the code is successfully debugged, but when i run the app it displays an exception, any help please ![fd.png](/attachments/large/4/15ef48aa38ace106bfefbeb623106185.png "align-center") my source code #include <iostream> #include <fstream> #include "opencv2/opencv.hpp" #include "opencv2/highgui/highgui.hpp" #include … | |
`1ph ## and I need you guys to explait it into detailt ## ` | |
I have input string in shape of:polygons=[(4,5),(6,8),(5,3),(11.4,6);(3,8),(2,9),(1,2)],each semicolon tells me 1polygon entered user can input up to 100 polygons and 100 points in each polygon i want to store the x- coordinates of all points in 2D array how can i do that in c++? User can input any value … | |
Write a program that will ask the user to enter lower limit and upper limit in form of integers. The program will calculate and show the prime numbers within the range from lower limit to upper limit. All the prime numbers within the specified range should be displayed on the … | |
Requirements: Use a class, an array, file input/output. Goal: Compare the student answers (.txt) to the answer key (.txt) and output the students name, missed questions and overall score to a .txt. Firstly, is my design decent? What I need to do now is to compare student answers to the … | |
I need help with some questions.They were 20 of them but this 5 have been so hard for me. Any help I get will be highly appreciated. Cheers!!! 1.When mergesort is implemented on a linked list it is possible to implement it as a stable sort. True or False? These … |
The End.