Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now 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.
?
How To Search For A Word And Show The Text Under it In C++ ?
I'm Making a dictionary software in C++ .
I Have a plain text file containing all the words and their definitions. I Know how to open the file using ifstream or fstream, but the problem is i don't know how to search for a word and show it's definition written just below it.
It has the word written in All U3A ".
Can You tell me some code that can be used for getting the input from the user, the word that#39;s definition (if found).
Please Help!
Example of how the file looks like -
AAM
Aam, n. Etym: [D. aam, fr. LL. ama; cf. L. hama a water bucket, Gr.
Defn: A Dutch and German measure of liquids, varying in different
cities, being at Amsterdam about 41 wine gallons, at Antwerp 36½, at
Hamburg 38¼. [Written also Aum and Awm.]
AARD-VARK
Aard"-vark`, n. Etym: [D., earth-pig.] (Zoöl.)
Defn: An edentate mammal, of the genus Orycteropus, somewhat
resembling a pig, common in some parts of Southern Africa. It burrows
in the ground, and feeds entirely on ants, which it catches with its
long, slimy tongue.
AARD-WOLF
Aard"-wolf`, n. Etym: [D, earth-wolf] (Zoöl.)
Defn: A carnivorous quadruped (Proteles Lalandii), of South Africa,
resembling the fox and hyena. See Proteles.
AARONIC; AARONICAL
Aa*ron"ic, Aa*ron"ic*al, a.
Defn: Pertaining to Aaron, the first high priest of the Jews.
AARON'S ROD
Aar"on's rod`. Etym: [See Exodus vii. 9 and Numbers xvii. 8]
1. (Arch.)
Defn: A rod with one serpent twined around it, thus differing from
the caduceus of Mercury, which has two.
2. (Bot.)
Defn: A plant with a tall flowering stem; esp. the great mullein, or
hag-taper, and the golden-rod.
AB-
Ab-. Etym: [Latin prep., etymologically the same as E. of, off. See
Of.]
Defn: A prefix in many words of Latin origin. It signifies from, away
, separating, or departure, as in abduct, abstract, abscond. See A-
(6).
AB
Ab, n. Etym: [Of Syriac origin.]
Defn: The fifth month of the Jewish year according to the
ecclesiastical reckoning, the eleventh by the civil computation,
coinciding nearly with August. W. Smith.
ABACA
Ab"a*ca, n. Etym: [The native name.]
Defn: The Manila-hemp plant (Musa textilis); also, its fiber. See
Manila hemp under Manila.
1 AnswerProgramming & Design8 years agoI need help, should i ask her out for a date or just leave her or somethin else? Please read details?
Mail me at
bux3six@gmail.com .
We were in the same school
for 10 years. Till 4th or 5th
Standard, i didn't care but
From 6th standard i don't know why i started liking
her. I Never talked to her.
She Never talked to me
either. When we came in
11th
standard, she moved to some other school and now
it has been over an year
and we still haven't spoken
a word facing each other.
Even on the school's annual
function she took photos of other friends but not me.
Presently, We are friends on
facebook and the friend
request was not really a
friend request as she was
unable to see my friend request and hence i told her
to send me a friend request
and i don't know if she
really wanted to send me a
friend request or not. It was
like a forced friend request and possibly that was the
first time we "Talked" (Is it
talking Really?). And now
she has deactivated her
facebook account for some
unknown reason and we never talked after that. If
you had been in my
position what would have
you done?? Please help me
and tell me
what to do... Thank you for reading it all
and please tell me what
should i do?
She is my first and probably
the last love. I Like her way
too much that i don't like any other girl no matter
how good she is.
Thank you from the core of
my heart.
1 AnswerSingles & Dating9 years agoI need help, should i ask her out for a date or just leave her or somethin else? Please read details?
Mail me at
bux3six@gmail.com .
We were in the same school
for 10 years. Till 4th or 5th
Standard, i didn't care but
From 6th standard i don't know why i started liking
her. I Never talked to her.
She Never talked to me
either. When we came in
11th
standard, she moved to some other school and now
it has been over an year
and we still haven't spoken
a word facing each other.
Even on the school's annual
function she took photos of other friends but not me.
Presently, We are friends on
facebook and the friend
request was not really a
friend request as she was
unable to see my friend request and hence i told her
to send me a friend request
and i don't know if she
really wanted to send me a
friend request or not. It was
like a forced friend request and possibly that was the
first time we "Talked" (Is it
talking Really?). And now
she has deactivated her
facebook account for some
unknown reason and we never talked after that. If
you had been in my
position what would have
you done?? Please help me
and tell me
what to do... Thank you for reading it all
and please tell me what
should i do?
She is my first and probably
the last love. I Like her way
too much that i don't like any other girl no matter
how good she is.
Thank you from the core of
my heart.
1 AnswerSingles & Dating9 years agoI need help, should i ask her out for a date or just leave her or somethin else? Please read details?
Mail me at
bux3six@gmail.com .
We were in the same school
for 10 years. Till 4th or 5th Standard, i didn't care but
From 6th standard i don't
know why i started liking
her. I Never talked to her.
She Never talked to me
either. When we came in 11th
standard, she moved to
some other school and now
it has been over an year
and we still haven't spoken
a word facing each other. Even on the school's annual
function she took photos of
other friends but not me.
Presently, We are friends on
facebook and the friend
request was not really a friend request as she was
unable to see my friend
request and hence i told her
to send me a friend request
and i don't know if she
really wanted to send me a friend request or not. It was
like a forced friend request
and possibly that was the
first time we "Talked" (Is it
talking Really?). And now
she has deactivated her facebook account for some
unknown reason and we
never talked after that. If
you had been in my
position what would have
you done?? Please help me and tell me
what to do...
Thank you for reading it all
and please tell me what
should i do?
She is my first and probably the last love. I Like her way too much that i don't like any other girl no matter how good she is.
Thank you from the core of my heart.
5 AnswersSingles & Dating9 years agoNeed help in approaching a girl. We have not talked ever before but we were in the same school for 10 years?
Mail me at
bux3six@gmail.com .
We were in the same school
for 10 years. Till 4th or 5th Standard, i didn't care but
From 6th standard i don't
know why i started liking
her. I Never talked to her.
She Never talked to me
either. When we came in 11th
standard, she moved to
some other school and now
it has been over an year
and we still haven't spoken
a word facing each other. Even on the school's annual
function she took photos of
other friends but not me.
Presently, We are friends on
facebook and the friend
request was not really a friend request as she was
unable to see my friend
request and hence i told her
to send me a friend request
and i don't know if she
really wanted to send me a friend request or not. It was
like a forced friend request
and possibly that was the
first time we "Talked" (Is it
talking Really?). And now
she has deactivated her facebook account for some
unknown reason and we
never talked after that. If
you had been in my
position what would have
you done?? Please help me and tell me
what to do...
Thank you for reading it all
and please tell me what
should i do?
Thank you from the core of my heart.
1 AnswerOther - Society & Culture9 years agoPlease Help Me! Please answer the question! Please Read the Detail section, Please, It's my humble request.?
This is not fiction. This is what i'm facing in the reality. Mail me at bux3six@gmail.com .
We were in the same school
for 10 years. Till 4th or 5th
Standard, i didn't care but
From 6th standard i don't
know why i started liking
her. I Never talked to her. She Never talked to me
either.
When we came in 11th
standard, she moved to
some other school and now
it has been over an year and we still haven't spoken
a word facing each other.
Even on the school's annual
function she took photos of
other friends but not me.
Presently, We are friends on facebook and the friend
request was not really a
friend request as she was
unable to see my friend
request and hence i told her
to send me a friend request and i don't know if she
really wanted to send me a
friend request or not. It was
like a forced friend request
and possibly that was the
first time we "Talked" (Is it talking Really?). And now
she has deactivated her
facebook account for some
unknown reason and we
never talked after that. If
you had been in my position what would have
you done??
Please help me and tell me
what to do...
Thank you for reading it all
and please tell me what should i do?
Thank you from the core of
my heart.
1 AnswerSingles & Dating9 years ago