helo
juz want to ask
if i write like this
cout<< ' \n 1-package a \n2- package b " ;
then what should i put in cin??
frenzra
0
Newbie Poster
Recommended Answers
Jump to PostSorry your question does not make sense. How can we know what you want to pass to cin?...also, you open the "string" with a ' and close with a ".
Jump to PostYou dont put things in cin. cin is a stream operator; you use it to extract elements from a stream.
As an aside, the language of your post will (in the general case) cause less people to respond seriously. 'Q' is not a suitable substitution for 'Question'; juz is …
All 5 Replies
Javam
frenzra
0
Newbie Poster
L7Sqr
227
Practically a Master Poster
WaltP
commented:
I put the title in when I split it from a hijack...
+15
triumphost
120
Posting Whiz
mrnutty
commented:
bad code
-1
WaltP
commented:
And why do his homework for him?
-3
Derek Elensar
commented:
Global variable = bad, bad, bad.
+0
frenzra
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.