Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
JBXC
How do I read a text file into an array Cpp?
I'm doing a project in C++ and it involves reading a text file into an array. The text file contains 30 Records, including a Date, the name of a person and 3 integers. i.e : 25 01 1996 Bobby 3 5 7.
I have created a date structure for the date so the array will contain 'Date String Int Int Int' if you can understand what I mean. Now I am trying to read that file into an array titled 'collection[30]'. How do I do this is the question.
Thank you...
Programming & Design7 years agoFood I ate today appeared in stool?
About 10 hours ago I ate Mushrooms and Tomatoes along with Sausages and Potatoes. Just there, I had a pain in my stomach, a crampy sort of feeling. It felt like something was trapped. When I went toilet anyway the pain went away. However, I noticed that there was what appeared to be Tomato and Mushrooms in my stool. What could this mean?
I haven't got pains in my stomach as of late, this was the first. And I have absolutely no pain in my stomach now that I went toilet. Just before I went, I drank some Coke which sometimes gives me a pain in my stomach anyway.
Basically, should I be worried, or is this normal?
1 AnswerOther - Health7 years agoIs 1 Bottle of Coke a week okay for Teeth?
I am getting a few fillings next week in the dentist. I haven't drank Coke in over a week now. Is 1 bottle of coke a week okay for my teeth? Also, should I wait after drinking to brush or do it straight away?
2 AnswersDental8 years agoBlood on Toilet Paper when I whiped?
I'm a 17 year old guy. I whiped my behind last night and there was some blood when i whiped, I whiped again tonight and there was blood again. I did go a few times inbetween and no blood. My behind was a bit sore so I presume I just cut something because I have been constipated. How long should I wait before I go to a doctor? If I went to a doctor for every little thing Id be bankrupt so I need to know how long should I allow it to continue before going, I reckon if i improve my diet (which hasnt been good lately) it will get better. What do ye think?
1 AnswerMen's Health8 years agoCant do simple differenciation?
I missed a week in school, we are doing differenciation and i dont know the basics. Just say, how do you differenciate X + 2? how is it done?
4 AnswersMathematics9 years agoCan I take my retainer out to eat.?
My dentist told me to leave my retainer on when I eat but I have read several places that I should take it off. It is incredibly annoying trying to eat with it in as the food is just hitting off the retainer on the roof of my mouth. Is it okay to take it out for 20 minutes while I eat something?
6 AnswersDental9 years agoWrestling Fans please subscribe to this Wrestling Radio Channel?
http://www.youtube.com/user/WrestlingRadioWeekly
A friend of mine just set it up and wants people to subscribe. It would be appreciated, the first episode will be posted up next week, you will be allowed ask questions in the comment section that will be answered in the next show. The owner said any questions you want to ask now will be answered in the first show.
2 AnswersWrestling9 years agoA Dog bit me (more details, please answer)?
Well i wrote the last one in panic. I can explain it a bit more now
The dog is very small and I didn't recognise if he had a collar or not. He is very small, my dog's name is Tiny and this guy is smaller. I was holding my dog he jumped and bit my left arm. I am looking at the bruise now, it looks like my hand is a bit cut( tiny bit) and a small bit of purple. The purple on my hand is smaller than 1 cent coin. Now it doesn't sting or anything and doesn't really bother me. I have seen this dog before around my house, I was just outside my garden remember ready to walk my dog, my dog wasn't even on a lead yet he was just sitting in the garden when the dog came up to him (which i know is my fault). I am not worried about animal control or anything at the moment, just my arm. Now, I am at home, I am 15, my mam and dad are at work, my mother should be home in about an hour, i cannot just run to a hospital or something, I will show my mother when she comes home. Now remember it doesn't hurt, NO BLOOD at all came out and it is very small bruise, what do ye think?
7 AnswersDogs10 years agoA dog just bit me (what should i do)?
Heres the deal, i was just about to walk my dog and another dog started fighting with him, i picked my dog up and ran in home and the other dog just ran after him in to my house. I had my dog in my hands desperately trying to get the other dog away, he was jumping up trying to get at my dog. Anyway he jamp up and bti me on my hand, the place where he bit me has now gone completely purple, what should i do about my hand?
14 AnswersDogs10 years agoI can't download Windows XP Mode (Please Help)?
Well I go onto the page that allows me to download Windows XP Mode and Windows Virtual PC.
I click Download Windows XP Mode and it says Windows Validation Required. So I download that and now it tells me I already have it installed. So I close it which is the only option I have and it still tells me I need Windows Validation Requied, so I click it again and the same thing happens, so I cannot get past that even though I have it installed, therefore I cannot download XP mode.
1 AnswerSoftware10 years agoWWE SummerSlam 2011 Predictions Game.?
We are going to predict the results of the 5 official matches, for the right result you get 5 points and for how the match ends another 2 points. Also you have to guess 1 Mystery Match that will take place as we expect there to be one. For example I will post my predictions. Whoever gets most points wins. Also you have the guess the time of the match. Pick either 0-10 minutes, 10-20 minutes or 20-30 minutes. 2 points for those.
Match 1. Sheamus defeats Mark Henry by Pinfall (0-10 Mins)
Match 2. Bet Pheonix defeats Kelly Kelly by Pinfall (0-10 Mins)
Match 3. Daniel Bryan defeats Wade Barret by Submission (10-20 Mins)
Match 4. Randy Orton defeats Christian by Pinfall (10-20 Mins)
Match 5. John Cena defeats CM Punk by pinfall (20-30 Mins)
I think the one Mystery Match will be Rey Mysterio vs. The Miz. Mysterio will beat The Miz by pinfall it will last (10-20 Mins)
---If you guess correctly the match you get 5 points, other rules follow.
6 AnswersWrestling10 years agoWhat Apps come free with Mac OS X Lion?
I am getting an iMac very soon and it comes with Mac OS 10.7 Lion and I was wondering what apps come free with Mac OS X Lion. I know apps like iCal, Facetime, Safari, iTunes and Photo Booth etc. come free with Lion but whatelse does and are apps in the Mac Store very expensive (Living in Ireland).
Can i possibily get apps from the mac store using safari to get them for free?
Basically I just want to know if i pay the €1150 for the iMac will it cost me a lot more for apps so i wont get bored of it in a month.
1 AnswerSoftware10 years agoCan I buy Mac from US Store while living in Ireland?
I want to buy the Mac mini which is 600 Euro but also 600 Dollars on the US Store. Am I able to buy it from the US Store for 600 Dollars. Would I be charged at customs or delivery?
2 AnswersOther - Computers10 years agoCan anybody help me with this Maths Junior Cert question.?
It is in the 2009 Paper 1 of Higher Level Maths, I cannot work out how to do this, I need an explanation.
Q=
Graph on the Number line the solution set of:
-3 < 4x+7 < 23, x=R
And also this
Solve the following Simultaneous equations:
x=-1/2y+36
y=2x+12
3 AnswersMathematics10 years agoI'm always afraid I will get cancer for some reason?
Well I am 15 and reject the idea of an afterlife so death is something i do not want to happen.
For some reason I always fear cancer. I mean I am healthy, i obviously do not drink or smoke or anything. Nobody in my family has ever got cancer and I always think I am the first and I can always imagine how i could be sick because of cancer. Its strange. I dont ever plan to smoke or drink. I am aware that because of advancements in technology we have a cure to cancer by 2030. Basically what are my chances of getting cancer before I am 34 while not smoking or drinking a lot. I know it is ridiculous thinking about it because it is something that i do not have much control over. But i always here the stories of perfectly healthy people getting cancer and dying and it frightens me.
5 AnswersCancer1 decade agoJapan Nuclear Power Plant (Tsunami)?
We all know about the nuclear disaster in Japan and it is probable if not already true that the nuclear reactor in the power plant could explode. If this is true and radiation spreads, what areas would be affected. The reactor is said to be 100 times stronger than the one at Chernobyl. Will I living in Ireland be affected by a radiation spread from Japan. The centre of Ireland is something like 5900 miles away from the centre of Tokyo.
5 AnswersCurrent Events1 decade agoNumbness on my right foot?
In the past 4 or 5 days i have been feeling a bit of tightness on my right foot near my toes, just above them on my foot if you understand what i mean. It used to happen for a while a few months back on both feet. It now only happens on the right foot. It is always during the day while in school. It only stays the way it does for about five minutes before going away again. It it anything to worry about.
1 AnswerOther - Health1 decade agoI sometimes cough when I laugh really hard but i dont think i have asthma?
i dunno its kind of funny, if i laugh really badly i sometimes cough but it is gone away after a second like you know. I dont think I have asthma because i mean i could hold my breath for a very long time, i often play sports so i could run around a soccer pitch for an hour, often throw darts for about 10-12 hours a day, i never feel like i need an inhaler or anything.
1 AnswerOther - Health1 decade agoI noticed something funny about the Nexus storyline?
Well CM Punk lost the WWE title 2 years back to Undertaker after he insulted John Cena's dress code. Anyway The Nexus caused taker to lose the buried alive match against Kane and then CM Punk became leader of the group that attacked John Cena. It seems like Punk s getting his revenge.
Something else funny is that Cena was fighting Punk when The Nexus debuted
6 AnswersWrestling1 decade agoI think I have a lymph node?
I am 14 never had any medical conditions or anything serious. I have been coughing a bit lately so that might have something to do with it. I have a tiny lump on my nec underneath my ear on the left. it was sore yesterday but not anymore and it seems to be much smaller. Is it something to be getting worried about. Again I am 14 so cannot just go to a doctor if i want to.
2 AnswersMen's Health1 decade ago