Posts
 
Reputation
Joined
Last Seen
Ranked #959
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #3K
~20.0K People Reached
Favorite Forums
Favorite Tags
Member Avatar for kartouss

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 …

Member Avatar for gnrsu
0
1K
Member Avatar for kartouss

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 …

Member Avatar for Zhassan
0
1K
Member Avatar for TimeFractal

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

Member Avatar for TimeFractal
0
2K
Member Avatar for Democles

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 …

Member Avatar for TimeFractal
0
13K
Member Avatar for Democles

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 …

Member Avatar for TimeFractal
0
153
Member Avatar for guitarrick

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 …

Member Avatar for guitarrick
0
253
Member Avatar for kalpana0611

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 …

Member Avatar for kalpana0611
0
197
Member Avatar for SteveDee

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

Member Avatar for WaltP
0
252
Member Avatar for nurulshidanoni
Re: exam

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() { …

Member Avatar for nurulshidanoni
0
109
Member Avatar for ankit_the_hawk

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 …

Member Avatar for TimeFractal
0
123
Member Avatar for jov0708

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 …

Member Avatar for TimeFractal
0
1K
Member Avatar for boyet1970

hey guys im new here can anyone teach how to start.(cus i want to learn c++ programming how will i start).

Member Avatar for TimeFractal
0
106
Member Avatar for sir avalanche

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 …

Member Avatar for Ancient Dragon
0
104
Member Avatar for snowy_shoryu

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 …

Member Avatar for TimeFractal
0
228