当前位置:网站首页>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);
}
边栏推荐
- Heavyweight! The domestic IDE is released and developed by Alibaba. It is completely open source! (high performance + high customization)
- Does stream even have application advanced learning? As a programmer, you know what
- 【中國海洋大學】考研初試複試資料分享
- Logistic Regression VS Linear Regression
- How to crop GIF dynamic graph? Take this picture online clipping tool
- Jaspersoft studio adding MySQL database configuration
- 中国电池技术取得重大突破,日韩美都落后了,中国巩固了领先优势
- 网上股票开户安不安全?有谁知道呢
- 第一次读 “Clean” 系列,并没有觉得这是一本多好的书
- [world history] Episode 1: people in the Stone Age
猜你喜欢
随机推荐
How to make GIF animation online? Try this GIF online production tool
Remove interval (greedy)
Biscuit distribution
Ideal L9 in the eyes of the post-90s: the simplest product philosophy, creating the most popular products
关于win10 版本kicad 卡死的问题, 版本6.x
The best time to buy and sell stocks
Garbage collection mechanism
ffmpeg protocol concat 进行ts流合并视频的时间戳计算及其音画同步方式一点浅析
[HBZ sharing] use of locksupport
Clinical chemistry | zhangjianzhong / Xu Jian develop single cell precision diagnosis and treatment technology for Helicobacter pylori
Logistic Regression VS Linear Regression
【Try to Hack】vulnhub DC1
About the problem of kicad stuck in win10 version, version 6 x
Biscuit distribution
Reading the "clean" series for the first time, I didn't think it was a good book
Thymeleaf Usage Summary
Which is better and safer, GF easy gold rush or flush
None of the MLIR optimization passes are enabled (registered 2) solutions
定位position(5种方式)
Open a restaurant