当前位置:网站首页>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);
}边栏推荐
- JS component
- JS to verify whether the string is a regular expression
- Clipboard tutorial
- Tencent cloud builds a Socks5 multi IP proxy server to realize the perfect building of a game with a single window and a single IP. Tutorial attached tool "suggestions collection"
- Deconstruction assignment of variables
- Share the code technology points and software usage of socket multi client communication
- 15 -- 最接近原点的 K 个点
- 网上股票开户安不安全?有谁知道呢
- 从0到1完全掌握 XSS
- [deep learning] multi task learning of multiple datasets data sets missing labels
猜你喜欢

Kubernetes understands kubectl/ debugging

【Try to Hack】vulnhub DC1

Pourquoi les programmeurs devraient - ils être plus doux?

shell 变量 入门

如何裁剪动图大小?试试这个在线照片裁剪工具

Shell array

Why should programmers be softer?

How to crop GIF dynamic graph? Take this picture online clipping tool

JS recursion and while

使用sphinx根据py源文件自动生成API文档
随机推荐
Heavyweight! The domestic IDE is released and developed by Alibaba. It is completely open source! (high performance + high customization)
TSDB在民机行业中的应用
Which is better and safer, GF easy gold rush or flush
Mysql database compressed backup_ Summary of MySQL backup compression and database recovery methods
In 2022, the score line of Guangdong college entrance examination was released, and several families were happy and several worried
Basic usage of markdown (plain text and grammar)
【Try to Hack】vulhub靶场搭建
2020-03-20
开餐馆
Shell array
14 -- 验证回文字符串 Ⅱ
Page 112 machine learning - review of fundamentals of mathematics pptx
[HBZ sharing] use of 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
分享自己平时使用的socket多客户端通信的代码技术点和软件使用
None of the MLIR optimization passes are enabled (registered 2) solutions
laravel8实现图片验证码
重磅!国产 IDE 发布,由阿里研发,完全开源!(高性能+高定制性)
Haven't you understood the microservice data architecture transaction management +acid+ consistency +cap+base theory? After reading it, you can completely solve your doubts
What is the difference between escape, encodeuri and encodeuricomponent?