- Strength to Increase Rep
- +3
- Strength to Decrease Rep
- -0
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
Hello, I need to encrypt an image but my program is accepting 16 bytes of data for encryption from a file named plaintext.txt.. The program is encrypting data in blocks of 16 bytes that is the 1st 16 bytes are read then it is encrypted and saved in the ciphertext.txt … |
|
Re:
hello, can anyone help me how to encrypt an image that is how the values in the image are read and saved in a file... I need to load an image and then the program will extract the pixel values and save it in a file and then the values … |
|
Hello, I need to simulate a stream which behaves exactly like a ostringstream, except when handling objects of type color. What is the best way to do this? [code] user.display() << color() << "Name: " << color(color::Red) << setw(10) << left << str_name << endl << color() << "Date: " … |
|
Re:
Basically the idea is to center a string. I selected the total length to equal 80. I know there is no fail safe placed into this program. I know there is another way to do this. I am stuck in a way. The program works, but I think I am … |
|
Re:
Hello, I am trying to compile a set of files. I got fustrated to the point of taking the actually instructor files from the book and compiled them. I am using AndLinux and the g++ compile to run my programs. If anyone is familiar with the book "Accelerated C++" I … |
|
Re:
Got most of this done. I just can't see why my advance_date() method is only partially working...I think it's something with all my bools....but I don't know how else to get this condition met. Project is to Design, implement, and test an ADT that represents a calendar date..Integers are fine...include … |
|
Re:
hi everyone I am writing a program using C++. The program converts a text file into a xml file. it reads in one input file and outputs it to another file. The thing is I have 10 folder and each of these 10 folders consists of 58 text files, I … |
|
Re:
I am teaching myself C++. I am writing a lotto program to read in dates and numbers and update a file. This code snippet: [CODE]int numberset[6]; cout<<endl<<"now, enter the 6 numbers. Hit return between each number:"; for(int i=0;i!=6;i++){ cin>>numberset[i]; while(numberset[i]<1 || numberset[i]>53){ cout<<"the number is not a valid, lotto number! … |
|
Re:
How to cal the examid like i want to call 001 and count how many exam 001 clash with 002, 003, 004...? [code] // Filename : ConflictMatrix.cpp #include <iostream> #include <fstream> #include <string> #include <vector> using namespace std; struct student { string studentid; vector <int> examcode; }; int main() { … |
|
Re:
I am starting to develop a calculator in C++ which accepts the expression in the form: 2+3 or 2/3 ,etc. ( for the time being, only two operands and one operator) Once i get that done, I will begin the process of continuely expanding it :) The problem I am … |
|
Re:
i would like to copy the contents of a byte array to a long variable. my code looks like this: [code] long key = 0; for (i = 0; i < 8; i++) { key <<= 8; key |= (long)(buffer[i]); //<- this line causes the problem }[/code] however, when i … |
|
Re:
hey guys im new here can anyone teach how to start.(cus i want to learn c++ programming how will i start). |
|
Re:
well i got some problems: 1. instead of 6 7 or 8, i get a value of minus 3 millions. 2. the money function isn't working 3. the for-loop of the program either never ends, or is only run once 4. and many more smaller problems (sorry that all the … |
|
Re:
the title says it all.. if any1 happen to see one , can post the link to me? thanx!! i need it to do my assignment .. but i cant find any program as long as that! tq! my assignment task is to find a program written by other ppl … |