Files
data-structures-and-algorithms/实验一/test2.cpp
T
2024-09-25 21:49:10 +08:00

23 lines
276 B
C++

#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];
}