Can anyone solve this issue ? c++

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Onaylı Üye
Katılım
2 Eki 2021
Mesajlar
66
Tepki puanı
8
Ödüller
1
Yaş
26
4 HİZMET YILI
212121.PNG

Soo I was trying to build esp for modern warzone 2 and i ended up having 4 errors I tried everything on the internet but nothing is working can anyone help me with this Error on VSC 2022
 
ERROR PROBLEM FIXER
Support
Katılım
25 Eyl 2018
Mesajlar
5,366
Çözümler
1,450
Tepki puanı
2,351
Ödüller
20
Sosyal
7 HİZMET YILI
Onaylı Üye
Katılım
24 Kas 2022
Mesajlar
51
Tepki puanı
4
Yaş
26
3 HİZMET YILI
maybe show your code too , you cant know your problem with the error text only , missing ";" can give you alot of problems
 
Onaylı Üye
Katılım
27 Kas 2021
Mesajlar
53
Tepki puanı
6
Ödüller
5
Yaş
22
4 HİZMET YILI
if you want, I can give you a friend who will help you, he understands this for a small amount
 
Sssshhhh
Ultra Üye
Katılım
9 Şub 2022
Mesajlar
1,540
Çözümler
1
Tepki puanı
95
Ödüller
3
Yaş
24
4 HİZMET YILI
maybe if we can see the code as well, then we will be able to help in a much better way
 
Słyszę, słyszę letni powiew.
Kurucu
Katılım
20 Haz 2015
Mesajlar
7,666
Çözümler
136
Tepki puanı
20,724
Ödüller
25
10 HİZMET YILI
It seems you're facing with 2 different errors.
1.You do not know differences between char and wchar_t.
2.You didnt check your pasted "RenderText" function.

First of all, wcsmp is a C function that compares two utf16 (wide-character) strings. In the screen shot you've provided, it seems you're trying to push char* to wcsmp function which will not work. You need to use wchar_t if you want to use wcsmp. In the other hands using string compare will eats a lot performance. Instead of comparing 2 strings, just get their hash and check if they equal or not...

For your other error, I cant help you without seeing what is your RenderText code and how you're trying to call it.
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Üst