I have been on this program pretty much the whole day started it from scratch now i am stuck getting
"Unhandled exception at 0x7531812f in testingCodes.exe: Microsoft C++ exception: std::bad_alloc at memory location 0x00211370.."
but i can't figure it out so before i change some of my codes I will hope someone could point out the problem here.
Thanks in advance...
//This program open three files each has 1000 names that i utilize to create email as many unique email addresses i could get
//2000 first names and 1000 last names i have come to the point where i could generate the email addresses but I still have lef//t to let the user enter how many millions of email wants to generate based on that generate that amount
Then your tutor should choose more appropriate homework assignments!! These pages are public viewable so again, no help provided for a program that could be used to generate spamming emails!
This is my homework assignment no intention what so ever to spam anyone...
Keep in mind most of us that have been here a while have been through school and seen lots of homework, both assigned to us and posted to others here. Also keep in mind, most of us make our living because we're relatively intelligent. With those things in mind, please go away.
really u guys don't believe me? I am not insulting anybodies intelligence here, I am honestly seeking for help. I could scan my homework and post it here if that is necessary.
really u guys don't believe me? I am not insulting anybodies intelligence here, I am honestly seeking for help. I could scan my homework and post it here if that is necessary.
This is a forum for legitimate programming and takes a really dim view of hacking and spamming. Go ahead and scan it and it if you like, but if that's really homework, your teacher has some serious problems with ethics and judgement.
Crazy. Well I'll give you a kick in the right direction. Look at the difference in size between MAX and some of the arrays you're looping over MAX times.
OK, Thanks that is a pretty good clue... I know it's crazy and this class is not even programming intensive class even though I like the challenge. Regards, -aK>
OK, Thanks that is a pretty good clue... I know it's crazy and this class is not even programming intensive class even though I like the challenge. Regards, -aK>
Why not just ask you to generate random strings, random numbers, etc.? Why emails? Why certain ones such as hotmail, gmail, etc.?
The teacher is using you to generate emails to spam with. If I'm wrong let him/her come to this forum and explain why this type of assignment was given.
I don't know what his intention is but I think he is trying see we could actually implement something with that magnitude and the Algorithms to make it fast. My previous homework last week was generating unique ip address. I was able to generate as many ip address as i can but wasn't able make it unique getting rid of the duplication and fast so didn't submit that. That's why i am seeking for help now, I am trying make it through this class hopefully.
I am really frustrated because I have other four programs I have to write from another class and not enough time in the day to do all of them. I don't mind sitting down here and figuring it out if i could get it done on time.
I don't know what his intention is but I think he is trying see we could actually implement something with that magnitude and the Algorithms to make it fast. My previous homework last week was generating unique ip address. I was able to generate as many ip address as i can but wasn't able make it unique getting rid of the duplication and fast so didn't submit that.
And did this teacher show his/her solution? And again, why ip addresses? Why not an assignment to generate n sets of numbers, where each set is unique?
This generation of ip addresses, emails with hotmail, gmail, and yahoo addresses, etc. sounds like your teacher is into spamming, and seeing if you can spam with the best of them. There are much better ways to teach algorithms than to ask you to write spamming programs. What's next, teach you OS internals by writing a virus?
Its no good sending me private emails asking for help either. Whether this is a genuine assignment or not is irrelevant. I repeat, no help given for any code relating to spamming for whatever reason.
If this is a genuine assigment from a tutor my advice is to ditch the class and take another whch has an ethical approach to teaching programming!
Bookmarks