CodePudding
Home
front end
Back-end
Net
Software design
Enterprise
Blockchain
Mobile
Software engineering
database
OS
other
Home
>
Back-end
> Vs running code in vc6.0 bugs. Getline functions might be the problem?
Vs running code in vc6.0 bugs. Getline functions might be the problem?
Time:09-16
#include
#include
#include
#include
#include
using namespace std;
Struct node {string name;//title
String publication;//publish date string Warehousing;//warehousing date
String press; String actor;
} a, [100000].
int i=0;
String STR.
Int CMP (node x, node y) {//custom sorting way return x.p ublication & lt; Y.p ublication;
}
Void () {//input function in
Cout & lt; <"Please input the title" & lt;
Getline (cin, a [I] name);
Cout & lt; <"Please enter the date of publication (format: xx (year). Xx (month) (day) xx)" & lt;
Getline (cin, a [I]. Publication);
Cout & lt; <"Please enter today's date (format: xx (year). Xx (month) (day) xx)" & lt;
Getline (cin, [I] a Warehousing);
Cout & lt; <"Please enter the press & lt;"
Getline (cin, [I] a press).
Cout & lt; <"Please enter the author" & lt;
Getline (cin, a [i++]. Actor); Cout & lt; <"Included complete" & lt;
This is I think it is part of the problem,
CodePudding user response:
I to send a post, there are all the code and the problem description, this post don't know how to delete, just come,,,,,,,
Page link:
https//www.codepudding.com/Backend/1419.html
Prev:
Vs run successful code running in vc6.0 have a bug
Next:
Of the new turn
Tags:
The C language
Related
Links:
CodePudding