I have included "hello.cpp" in the application program, and everything is working now.. According to your new information.
But I have been only including the header file of the class ("hello.h" in...
Type: Posts; User: amirahasanen1
I have included "hello.cpp" in the application program, and everything is working now.. According to your new information.
But I have been only including the header file of the class ("hello.h" in...
// File: hello.h Greetings class specification
#ifndef HELLO_H
#define HELLO_H
class greetings{
public:
greetings(const char*); // constructor
~greetings(void); // destructor
private:
char...
Hey there,
I am building my own class called "greetings"..
When executing the application program, I get the following three errors..
What should I do? and what do those errors mean?
...
Okay, so I think that characters' printing out problem is not that important, I would try to handle it..
Now the main problem is that I can not understand this error part, on what basis did the...
Well, I have worked on that after discovering that we need to display a bright character if the value is from 0 to 4, and a dark character if the value is from 5 to 9..
So I have generated a code...
Sorry, but we have not studied displaying a greyscale image yet, and I did not understand the code at all, it sounds so advanced for me..
And I did not get the filter thing either..
Am sorry but...
Hi there,
I think my main problem is that I can not fully understand the prompt of the assigned program..
It says that I should choose a character such as '#' for the darkest character '0', and a...
Ahh, I got it, thanks a lot, Lithorien..
Oh, Thanks a lot for that Brain :)
[QUOTE=Lithorien]Looking at that prompt, I can tell you that you'd be allowed to use new and delete. They didn't restrict how large your x[] array could be, only how large the KEY could be.[/code]
...
Well, I do not think I can use this way, because i Am asked to stick to a certain way; given by the prompt, here is the original prompt of the program:
The Program still gives a missing encrypted/decrypted file !!
Oh yes, true.
I am thinking to replace this:
int j=0;
while(!source.eof() && j<32)
{
source.get(c);
file_array[j] = c;
j++;
}
That is part of what the prompt of the program is:
Well, I don't want to put a termination character in the array because when I have put:
while(!source.eof())
I wanted the loop to be repeated to read the next (n) characters everytime, where (n =...
I have thought of that too, before I post the code and I got this declaration outside the loop, but still no change, anyway, I will now place it outside the loop, it might be contributing to the...
Ah, well yea, I have no problem about that, it is only the boards that consider the [ i ] as italic so it cancels it and italize the font instead, sorry about not noticing that, but in my .cpp file...
Sorry, which part is that? I do not get this error and the program runs, so I don't know which part this compiler meant..
This program is to receive a .txt file from the HDD and encrypt it by 'XOR' (eXclusive Or) to another file throught a user defined secret key, and this program can decrypt the encrypted file as well...
Yes, you should not post code :) I just wanted to understand what the exercise itself requires me to do for now so that I start working on the code, but then if I faced problems with my code I'd post...
Hi there,
I have this exercise which I understand except a very small part at the end which is "for each x use e = 0.1 , 0.001, 0.00001."
Here am I required to get three cubic root values for each...
I did not need this command (which outputs data to files without erasing what inside it) in this program, but I strongly needed it in another program of mine, so really thank you so much Brain Cell :)
In the game I wanted to like put the win's & lose's in a report file so I used file streams, but there are some errors which I don't know the reason of..
All the error comes in this part when I put...
Many thanks guys :)