当前位置:网站首页>C language LNK2019 unresolved external symbols_ Main error
C language LNK2019 unresolved external symbols_ Main error
2022-06-25 14:46:00 【m0_ fifty-nine million nine hundred and forty-nine thousand fou】
LNK2019 Unresolved external symbols
#include <stdio.h>
#include <math.h>
void mian()
{
double x, s;
printf("input number:\n");
scanf("%lf", &x);
s = sin(x);
printf("sin of %lf is %lf\n", x, s);
}
Upper code error : LNK2019 Unresolved external symbols _main, function "int __cdecl invoke_main(void)" ([email protected]@YAHXZ) The symbol is quoted in
reason :main Misspelling of words .
#include <stdio.h>
#include <math.h>
void main()
{
double x, s;
printf("input number:\n");
scanf("%lf", &x);
s = sin(x);
printf("sin of %lf is %lf\n", x, s);
}边栏推荐
- 【HBZ分享】LockSupport的使用
- For the first time in China, Chinatelecom 5g underground personnel positioning project is officially commercial: it can track the position in real time to ensure operation safety
- Position (5 ways)
- 【世界历史】第一集——石器时代的人们
- 第一次读 “Clean” 系列,并没有觉得这是一本多好的书
- About reconnection of STM32 using lan8720a plug-in network cable
- 移除区间(贪心)
- 还没弄明白微服务数据架构事务管理+ACID+一致性+CAP+BASE理论吗,看完彻底解决疑惑
- NBD Network Block Device
- 112页机器学习-数学基础回顾.pptx
猜你喜欢

Thymeleaf Usage Summary

JGG | 河北大学杜会龙组综述植物泛基因组学研究

两种方法实现pycharm中代码回滚到指定版本(附带截图展示)

Shell array
![[try to hack] vulhub shooting range construction](/img/fc/6057b6dec9b51894140453e5422176.png)
[try to hack] vulhub shooting range construction

Page 112 machine learning - review of fundamentals of mathematics pptx

It's not easy to understand the data consistency of the microservice architecture for the first time after six years as a programmer

Logistic Regression VS Linear Regression

'NVIDIA SMI' is not an internal or external command, nor is it a runnable program or batch file

TSDB在民机行业中的应用
随机推荐
分享自己平时使用的socket多客户端通信的代码技术点和软件使用
Heavyweight! The domestic IDE is released and developed by Alibaba. It is completely open source! (high performance + high customization)
Let and const commands
2020-03-20
Jaspersoft studio installation
【中国海洋大学】考研初试复试资料分享
Report on Hezhou air32f103cbt6 development board
None of the MLIR optimization passes are enabled (registered 2) solutions
Flexible layout (display:flex;) Attribute details
JS functions
Open a restaurant
广发易淘金和同花顺哪个更好,更安全一些
【世界历史】第二集——文明的曙光
Thymeleaf Usage Summary
Where is it safe to open an account for buying funds? Ask for guidance
For the first time in China, Chinatelecom 5g underground personnel positioning project is officially commercial: it can track the position in real time to ensure operation safety
Cool assembly tutorial - concise x86 assembly language tutorial (1)
112页机器学习-数学基础回顾.pptx
Partager les points techniques de code et l'utilisation de logiciels pour la communication Multi - clients socket que vous utilisez habituellement
Gif动画怎么在线制作?快试试这款gif在线制作工具