49,766 Topics
![]() | |
Hi all, I'm a very early user of Daniweb, and after a long break, and I'm hoping to participate a bit more in this forum again. I'm here specifically for some advice before starting a new project of mine. I'm an experienced C++ / Win32 developer, but seem to be … | |
guys please help me i have an assignment to register students in c++ with the following first name middle name last name id sex age year section the id have to be sorted include chapters interactive with user thanks! | |
I have been trying to compile this code but all my attempts failed, can someone please explain to me what's the meaning of randvar in this code: int upper_range = 255; for(int i=0; i<256; i++){ upper_range -= i; int delete_list_entry(temp_head, randvar); } | |
Using function write a program to take two arrays of integer numbers and multiply each corresponding values and put the result in a third array. | |
This program should calcuLate users amount of watts consumed based on their appliances and the aprroximate number of hours each appliance is used in a day, week or month. The basic requirements are as follows: Give user option of selecting predefined home appliances or entering their own and corresponding watts … | |
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  my source code #include <iostream> #include <fstream> #include "opencv2/opencv.hpp" #include "opencv2/highgui/highgui.hpp" #include … |
The End.