49,757 Topics
| |
Alright so I'm working with a program that works with various email programs and I'd like to use it to automate the login process. I know I can open a browser using ShellExecute(NULL, "open", "https://various.email.com/", NULL, NULL, SW_SHOWNORMAL); but how would I actually parse the login/password strings into the text … | |
You are to design a class class called Employer data members: char name[] long int ID double salary , and two constructors _Default construtor Person () _Copy constructor Person ( char n[30],long int id,double s) _setPerson (char n[30],long int id,double s) that allows user to set information for each person … | |
Hello, I unfortunately failed my advanced c++ class last semester so I need to retake it. Our first assignment is to "Define a base class person that will contain universal information, including name, address, birth date, gender and identification (student, worker etc). Derive from this class the following classes: Student … | |
Here's my function that i call from main. However i'm getting an error "stackType undeclared" Does anyone know what i'm doing wrong ? [CODE="CPP"] template<class Type> void removeX(queueType<Type>& Q) { stackType<Type> stackQ; while (!Q.isEmptyQueue()) { stackQ.push(Q.front()); Q.deleteQueue(); } } [/CODE] | |
Hi, I am hopign someone will take this on as a simple little project as it would be of great help to me. I have a CNC plasma machine which cuts sheets which are about 4ft by 10ft. however, sometimes we only use about 4*4ft of the sheet. I would … | |
I am writing an app right now that needs winmm.lib. I tried typing winmm.lib in the project properties under the correct section, but kept saying that does not exist. So i did a little research and found that if i type -lwinmm it works. I am using dev-c++. Can anyone … | |
I'm looking for some sample code which would demonstrate AES encryption using SHA 256 as the hash. 1 or two .cpp or .h files would be appreciated, I prefer not to mess with huge libraries or folders of unnecessary headers. I looked on google and found a semi-functional AES example, … | |
can someone help me create pseudocode. Im writing pseudocode representing a payroll application, this includes over time hours, payrate, tax and social security deductions. I need to now incorporate.................................... Your pay calculation pseudocode must be changed to accept input from a file. You need to read each record from the … | |
Here is my code.... #include "stdafx.h" #include <iostream> using namespace std; #include <iomanip> int _tmain(int argc, _TCHAR* argv[]) { int a,b,c,d; cout << "Previous odometer reading: "; cin >> a; cout << "New odometer reading: "; cin >> b; cout << "Gallons added to the tank to fill: "; cin … | |
Hi, I have created a windows service in Visual studio 2005 C++, which will encrypt a file and send it to a server using socket. For this I am using OpenSSL, I am running in to following issues 1) I could not find the library method of OpenSSL which can … | |
There is clearly something wrong with the else statements in this code. This program essentially mirrors the attack/defense rules in the game risk. The attacker roles 3 times. The defender 2. The best two roles of the attacker are taken and compared to the defender's two roles. The defender wins … | |
| Hi, I am trying to extract data from a text file into an array or even a vector. The example data in the file "data.txt" is in the following manner Home number = 123456 Mobile number = 789012 Office number = 567987 Balance = 46.56 ... ... ... I want … |
I wonder if anyone know if VC++ 2008 express edition have the possibility to use Secure FTP (SFTP). As I have understood that is not possible. (I am not talking about the SSL cerificate over FTP). If not, I am searching for a library that goes with this. I have … | |
Working on creating a matrix with given paremeters and then solving the matrix. The matrices A and C come out just fine, but there is a seg fault when I try to run the lud files. Can anyone help? Thank you very much! [code] #ifdef HAVE_CONFIG_H #include <config.h> #endif #define … | |
Hi guys, Is there any special method in c++ called get and which doesn't require instantiation? I'm investigating a c++ code and a found this method ((!h264Decoder.get() || !params.get() || !in.get() || !out.get() || !splitter.get() || (!color && !No_CC_Flag))) When i tried to find this method, I couldn't find it. … | |
Well, once again, hello. I'm trying to figure out why when i use 2 cin.getlines after eachother it skips one of them and I cant use it. Take a look if you will: [CODE] void Join() { char* Username = new char[255]; char* Password = new char[255]; ofstream DataBase("DataBase.txt", ios::app); … | |
How would it be possible to disable the closebutton(X) in the upper right corner of the form. I dont want to use this property because it takes the minimize and maximize button away also. [code] ControlBox = false; [/code] The only thing I will need on the form is the … | |
Hello, I've been struggling with a problem for a while now. I'm trying to print out information which is contained in a binary file. This what I get when I open it in notepad. [CODE]Marjorie Gestring D201 Ă°Âż Ă°Âż Ă°Âż Ă°Âż Ă°Âż Patricia McCormick D202 Ă°Âż Ă°Âż Ă°Âż Ă°Âż Ă°Âż … | |
| Dear All, I'm starting a new project and would like to know where can i get some IT books on antivirus and network programming. Is there some basic source code for antivirus software? where can we get the list of viruses, trojans, malware so that to remove them on the … |
Hi Guys, I need your help again. There is a project I'm working on for my job attatchment. It requires that I use a progress bar to show the progress of the file I am currently uploading to the database. The program's code also contains a line counter which counts … | |
I am passing a dynamically sized 2D array into a function. How would I be able to tell the row size and column size the array. I know I can do this to find the total number of elements in the array: [CODE] foo(const _T ***m_data) { int dataSize = … | |
I need to use recursion to find the largest int in an array. What I have so far is [code] #include <iostream> using std::cout; using std::endl; int maxArray(int anArray[], int size); /** *The main method * *@param myArray[] The array we are searching * *@param sizeOfArray The size of the … | |
//Write a function: int max(int list[], int n) that recursively finds the largest integer between list[0] and list[n]. Assume at least one element in the list. Test it with a main program that takes as input an integer count followed by that many values. Output the original values followed by … | |
please can anyone tell me how to plot a graph in c++. in input i am having values in two dim array. i want output in the form of points.on the screen. | |
How do i sort a vector based on the frequency of its elements example my vector contains 10,11,12,10,11,13,11 i need to get the sorted out put as 11,11,11,10,10,12,13 the normal sort is sort(vec.begin(), vec.end()); how do i sort it in that way | |
Hello, This is for an assignment I have to do, I have completed most of it just can't get one part to work correctly. The assignment is: The TextFieldLoader class will have only one constructor and MUST accept the following parameters only: 1. filename (const char *) that will be … | |
Hi i have this code below i am encountering that my int a,b; got error because they are delcare in private. but the code turn out fine if i delcare them in public. is there anyway i can make them remain in private. i think need to use reference or … | |
Hey, Im trying to get the user to type in a file name, and then the program will copy the file to some where else like C:\ or USB or something. So far this is what I've come up with: [CODE] #include <iostream> #include <windows.h> #include <stdlib.h> #include <conio.h> #include … | |
please help me solving this i want to show the composition,aggregation,simple association between the classes see attatched gif image plz help me i shall be very thank full to all | |
I have a backgroundworker that is running. The problems comes when you press the closebutton on the form in the upper right corner. This makes the form stuck completely. The problem is that the Worker doesn´t get a chance to finish and return the backgroundWorker1_RunWorkerCompleted event. How can I come … |
The End.