I was trying to write a code for union and intersection of two sets but i got an error which states clrscr and exit are not declared in scope. I have included the header files but still i get this error. Can some one help me out in this?
Prithvi.R.K
0
Newbie Poster
Recommended Answers
Jump to PostPost your code.
Jump to PostChange
void main()
toint main()
On line 35.if(i<3)
, if i is >=3 then you'll never enter that section of code. I assume that what you want to do is to keep displaying the menu until 3 is chosen. An easy way to do this would …
All 5 Replies
nullptr
167
Occasional Poster
Prithvi.R.K
0
Newbie Poster
nullptr
167
Occasional Poster
Prithvi.R.K
0
Newbie Poster
Prithvi.R.K
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.