C:\Users\clementine\Desktop\数据库\watertime.cpp(93) : error C2664: 'save_data' : cannot convert parameter 1 from 'struct point_set' to 'struct point_set *' No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called Error executing cl.exe.
时间: 2023-12-03 10:47:16 浏览: 42
这个错误提示是因为函数 `save_data` 的参数类型是指针类型 `struct point_set*`,而你传递了一个结构体类型 `struct point_set`,两者类型不一致,导致编译器无法进行隐式转换。
解决方法是将参数类型改为指针类型,将函数调用改为传递指针。具体来说,可以将函数声明改为:
```
void save_data(struct point_set* pset);
```
然后在调用函数时传递结构体的地址,如:
```
save_data(&pset);
```
这样就可以避免编译错误了。
相关问题
Clementine安装教程
Clementine是一款跨平台的免费音乐播放器,支持各种音频格式,包括MP3、AAC、OGG、FLAC等。以下是在Windows操作系统上安装Clementine的步骤:
1. 打开Clementine官方网站:https://www.clementine-player.org/,点击下载选项卡。
2. 在Windows下载区域,选择您的系统版本,然后单击下载Clementine按钮。
3. 安装程序将开始下载。一旦下载完成,双击执行文件以启动安装。
4. 在安装向导的第一个屏幕上,您可以选择是否要在您的计算机上创建桌面快捷方式。选择您的首选项,然后单击下一步。
5. 在下一个屏幕上,您可以选择安装位置。默认情况下,Clementine将安装在“C:\Program Files\Clementine”目录中。您可以更改此位置,或者保留默认值,然后单击下一步。
6. 在接下来的屏幕上,您可以选择是否要在安装期间创建启动菜单项。选择您的首选项,然后单击下一步。
7. 在安装过程中,您会看到进度条。请耐心等待直到安装完成。
8. 单击完成以退出安装向导。现在,您可以在开始菜单或桌面上找到Clementine图标。
9. 启动Clementine后,您可以通过单击“文件”>“添加本地媒体”或“文件”>“添加远程媒体”来添加音频文件或流媒体源。
10. 您现在可以使用Clementine来播放您的音乐集合了!
Clementine solution
我不确定你是否想问的是 Clementine solution 还是 Clementine satellite ,我来分别回答一下。
如果你想问的是 Clementine solution,那么我不知道你具体指的是哪个领域的问题。Clementine 是一个英文单词,它的意思是月球上的一种钾铁长石,也是美国宇航局和美国国防部在1994年共同启动的一个月球探测计划的名字。如果你能告诉我具体的问题和领域,我会尽力回答。
如果你想问的是 Clementine satellite,那么它是美国宇航局和美国国防部在1994年共同启动的一个月球探测计划中使用的一颗卫星。Clementine 卫星是第一颗利用自主导航系统绕月飞行的人造卫星,它主要任务是进行月球表面和空间环境的测量和观测。Clementine 卫星还搭载了一台相机和一台激光测高仪,可以对月球表面进行高分辨率成像和三维地形测量。该卫星于1994年1月25日发射升空,经过15个月的运行后于1996年5月7日退出运行。
相关推荐
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)