急急急
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#include <iostream>
|
||||
|
||||
using namespace std;
|
||||
|
||||
typedef struct
|
||||
{
|
||||
string id;
|
||||
string name;
|
||||
double price;
|
||||
} book;
|
||||
|
||||
void swap(double &num1, double &num2)
|
||||
{
|
||||
double temp = num1;
|
||||
num1 = num2;
|
||||
num2 = temp;
|
||||
}
|
||||
|
||||
book sort(book &books)
|
||||
{
|
||||
book new_books[100];
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user