Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~86 People Reached
Favorite Forums
Favorite Tags
c++ x 1
Member Avatar for qwerty05

how can i do this ? the error was lvalue required. [code]#include<iostream.h> #include<sting.h> #include<conio.h> #include<stdio.h> struct movies_t { char title[50]; int year; } mine, yours; void printmovie (movies_t movies_t); main () { clrscr(); struct movies_t mine, yours; mine.title="The Curious Case of Benjamin Button"; mine.year=2008; cout<<"Enter title:"; gets(yours.title); cout<<"Enter year:"; cin>>yours.year; …

Member Avatar for rxlim
-1
86