my friend, thank you for the pointer on Clear().... you saved me from redesigning a vb interface at the last minute.
Type: Posts; User: Crawdawg
my friend, thank you for the pointer on Clear().... you saved me from redesigning a vb interface at the last minute.
my appologies, i meant ifstream, and i think seekg may be the answer, but i have got to go out, i will post my result for any who are interested.
is there a way to set the istream back to the begining of the file?
a simple understanding is a ball... the class would say a ball is round, it has a color, a weight... the object would be that fould ball you caught at the red sox game, another object is the kick...
writing your own function to clear the array would be rather simple as well....
void clearCharBuff(char *buf)
{
for(int x=0;x<33;x++)
{
buf[x]='\0';
}
}
Making an operator (in your case the '=' sign) work with classes requires you to write an overloaded operator. The same operator can be overloaded multiple times for the same class, as long as the...
My appologies all, i didnt realize giving someone a nudge on a hw assignment was so taboo... i will refrain from such nudges in the future...
~Craw
I appreciate both of your help, i got it going.
~Craw
well im not gonna do your homework for you, but here is the basic idea....
void main()
{
int huge=0,large=0,medium=0,small=0,doofs=0;
cin>>doofs;
while(doofs>0)
{
...
I own a good portion of the books listed above by members... but i always return to my Deitel&Deitel book for reference. Please note that does not make it the best book for newbies... try Learn C++...
I feel a little silly... but how do i input the file as binary as opposed to ascii???
A general rule to keep in mind is that all true number systems start from zero. You will save yourself many headaches by following this rule.
I am writing a file encryption program for my senior project (don't worry we are encouraged to seek outside help). but i am having a problem that many files (such as .doc and .exe) use multiple null...