49,761 Topics

Member Avatar for
Member Avatar for Good Bye

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 …

Member Avatar for Nihat_1
0
3K
Member Avatar for STEPHANO_1

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

Member Avatar for rubberman
0
420
Member Avatar for Mohamed_88

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

Member Avatar for thines01
0
804
Member Avatar for Devon_4

void change(char* input){ memset(input, 'a', strlen(input)); } int main(){ char* p = "foo"; cout << p << endl; change(p); cout << p << endl; }

Member Avatar for deceptikon
0
157
Member Avatar for Ehsanullah_1
Member Avatar for Mohammad_33
Member Avatar for rproffitt
0
87
Member Avatar for Bob

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. …

Member Avatar for JamesCherrill
0
1K
Member Avatar for Maha_5

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 …

Member Avatar for rubberman
0
191
Member Avatar for thinkerman

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++) …

Member Avatar for Aiman_1
0
1K
Member Avatar for azeez_2

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 : _______ …

Member Avatar for thines01
0
616
Member Avatar for zurena

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 …

Member Avatar for thines01
0
768
Member Avatar for Miguel_7

#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! …

Member Avatar for tinstaafl
0
155
Member Avatar for kashif_4
Member Avatar for Nantha_1

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

Member Avatar for DeanMSands3
0
2K
Member Avatar for Yohanes_1
Member Avatar for can-mohan

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 …

Member Avatar for rproffitt
0
556
Member Avatar for chrisschristou

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 …

Member Avatar for rproffitt
0
417
Member Avatar for Eric_19

#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 << …

Member Avatar for Eric_19
0
310
Member Avatar for Giga_1

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 …

Member Avatar for Reverend Jim
0
113
Member Avatar for Wiki_Tiki

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 …

Member Avatar for sahana_3
0
681
Member Avatar for can-mohan

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 …

Member Avatar for can-mohan
0
329
Member Avatar for Leeroy_1

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 …

Member Avatar for rubberman
0
2K
Member Avatar for Josh_3

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 …

Member Avatar for tinstaafl
0
434
Member Avatar for Supremo_1

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 …

Member Avatar for rproffitt
0
177
Member Avatar for yosri_1

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 …

Member Avatar for rproffitt
0
3K
Member Avatar for Phuzzy_1
Member Avatar for Khaled_9

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 …

Member Avatar for AssertNull
0
248
Member Avatar for Naeem_1

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 …

Member Avatar for thines01
0
142
Member Avatar for Joe_29

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 …

Member Avatar for thines01
0
283
Member Avatar for Mirty

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 …

Member Avatar for Mirty
0
290

The End.