slayerteart
Centipat
- Katılım
- 16 Ağustos 2024
- Mesajlar
- 57
- Çözümler
- 2
Daha fazla
- Cinsiyet
- Erkek
Arkadaşlar C++ ogrenmeye başladım fakat daha baslayamadan bir kod yazdigimda kod calismiyor, ozel harf bulunmasi sikintiymis ve ismim Yiğit, bu kodu nasıl calisir hale getirebilirim?
Hata bu:
Yazdigim kod ise bu:
Hata bu:
Kod:
PS C:\Users\Yiğit\Documents\1 Saatte C+++> cd "c:\Users\Yiğit\Documents\1 Saatte C+++\" ; if ($?) { g++ Merhaba_C++.cpp -o Merhaba_C++ } ; if ($?) { .\Merhaba_C++ }
C:/Users/Yi: cannot find C:/Users/Yi: Illegal byte sequence
C:/Users/Yi: cannot find C:/Users/Yi: Illegal byte sequence
C:/Users/Yi: cannot find -lstdc++: Illegal byte sequence
C:/Users/Yi: cannot find -lmingw32: Illegal byte sequence
C:/Users/Yi: cannot find -lgcc_s: Illegal byte sequence
C:/Users/Yi: cannot find -lgcc: Illegal byte sequence
C:/Users/Yi: cannot find -lmingwex: Illegal byte sequence
C:/Users/Yi: cannot find -lmsvcrt: Illegal byte sequence
C:/Users/Yi: cannot find -lkernel32: Illegal byte sequence
C:/Users/Yi: cannot find -lpthread: Illegal byte sequence
C:/Users/Yi: cannot find -ladvapi32: Illegal byte sequence
C:/Users/Yi: cannot find -lshell32: Illegal byte sequence
C:/Users/Yi: cannot find -luser32: Illegal byte sequence
C:/Users/Yi: cannot find -lkernel32: Illegal byte sequence
C:/Users/Yi: cannot find -lmingw32: Illegal byte sequence
C:/Users/Yi: cannot find -lgcc_s: Illegal byte sequence
C:/Users/Yi: cannot find -lgcc: Illegal byte sequence
C:/Users/Yi: cannot find -lmingwex: Illegal byte sequence
C:/Users/Yi: cannot find -lmsvcrt: Illegal byte sequence
C:/Users/Yi: cannot find -lkernel32: Illegal byte sequence
C:/Users/Yi: cannot find C:/Users/Yi: Illegal byte sequence
collect2.exe: error: ld returned 1 exit status
Yazdigim kod ise bu:
#include <iostream>
int main() {
std::cout << "Merhaba, C++!" << std::endl;
return 0;
}