Tatuck
Still having errors
Tatuck
can't open the origen file (error code "curl/curl.h"). (dependency of "cpr/cpr.h")
Tatuck
Using a library is REALLY difficult, I think I have spent like 3 days only to use this library. Is there any other way to use REST api or make get, requests... to http???
olli
Using a library is REALLY difficult, I think I have spent like 3 days only to use this library. Is there any other way to use REST api or make get, requests... to http???
well, you need to understand how compiling works. You can search for a header only library which might be easier to use. If you need ssl there's no way around integrating them into your build process tho.
Tatuck
Compiling is REALLY difficult, and I need to know where my limits are. I have spent 3 days doing que same thing, COMPILING, with no success. I think I am going to leave this project or spend other 3 days searching how to do something as simple as compile. Any way thanks all for your help 🙂😊
Thor
I tried this but can't do it pls help.reply if you guys know it.
Thor
I am opening the file and reading it.And printing it. I implemented stack data structure for spaces comparison purposes.
olli
I am opening the file and reading it.And printing it. I implemented stack data structure for spaces comparison purposes.
If you want help you should spend at least enough time for others to reproduce your issue. my solution works, I can't reproduce your issue ¯\_(ツ)_/¯
Reham
I want to throw an error whenever the player's move is going towards a wall but now it is throwing it also with correct moves
Reham
welp
Anonymous
/report screenphoto
Nils
Hi: what exactly is wrong here in pure C? extern unsigned char rawpck_checkheader(FILE *thisfile);
olli
Hi: what exactly is wrong here in pure C? extern unsigned char rawpck_checkheader(FILE *thisfile);
what should be wrong? This function declaration looks correct to me
XxoxX
Anonymous
😂
Rashu
Can anyone tell me why 0 used?
Anonymous
hi
Konstantin
Can anyone tell me why 0 used?
Line 13 is the answer.
Merazi
Can anyone tell me why 0 used?
It's used to print a 0 (look at the %d in the same line)
Anonymous
Lmao. But you'll get warn for this. Add translation or something
Rashu
Oh..if i enter 100 then he print N[0]=100.0000
Konstantin
Fabi
Hi! Not exactly 100% c/c++ but does anyone have some suggestions for creating a ESP32 (ESP8266) LoRaWAN gateway sketch that can be uploaded on the board? Thanks. I would like a tutorial about it, I know how to upload a working Arduino sketch on a single LoRa node.
Fabi
Something that I can look at Monday
Sky
How do I come out to my parents and friends as a C++ programmer? They all thing poorly of it and say its for those who can't do other things in life :(
Zigzag
Hello! Would you say me how thats reading? slot is int = 3 finger is const int * ps = &sloth int *const pt = &finger
Sky
Its not.
Zigzag
Thats their problem what they don't like programming. Do what u like and thats all.
klimi
Its not.
I didnt think youre a c++ programmer....
Sky
I didnt think youre a c++ programmer....
I'm actually more so a Java programmer, sir. But I also like C++
Sky
Its because my brother is a brain surgeon and they think programming is the easy way out, I dont want to be in school that long when I can just watch YouTube.
Anunay
Without which your brother probably wouldn't have been a brain surgeon
Anunay
Anyway, let's move this to #ot
Sky
Whats ot?
Anunay
Off topic chat
Anunay
#ot
Sky
And thank you sir i will put that in my apology letter to them, i need to make a few pages worth.
Anunay
Bishal
Mahesh
hi any one have android developing group can i ask android related issues here ?
Matin Rzaev
Hi
Matin Rzaev
template<typename T> void Clear(T* ptr, T* new_arr, const int size, int new_size, int index, int n) { for (int i = 0; i < index; i++) { new_arr[i] = ptr[i]; } for (int i = index; i < new_size; i++) { new_arr[i] = ptr[i + n]; } delete[] ptr; for (int i = 0; i < new_size; i++) { cout << new_arr[i] << " "; } } int main() { double size, index, new_size; unsigned int n; cout << "Input size:"; cin >> size; while (size <= 0) { cout << "Please,input positive number\n"; cin >> size; } cout << endl; double* ptr = new double[size]; ArrayCreator(ptr, size); PrintArray(ptr, size); cout << "Which index do you want to clear elements:"; cin >> index; while (index<0 || index>size) { cout << "Please,input again\n"; cin >> index; } cout << "How many elements do you want to clear:"; cin >> n; while (n < 0 || n + index > size) { cout << "Yeniden daxil edin:"; cin >> n; } new_size = size - n; int* new_arr = new int[new_size]; Clear(ptr, new_arr, size, new_size, index, n); system("pause"); return 0; }
Matin Rzaev
The algorithm of these codes is correct. Functions get "int" type but I want to functions get "double" type. I write double that's why I get some errors.Could you help me to fix errors?
Matin Rzaev
Thanks.Codes run succesfully :)
Matin Rzaev
error on line 54, assigning to int a double
Which websites or aplication is this?
Kudasai
thank you for the invitation
Andrew
Thanks.Codes run succesfully :)
yeah ? it give more errors to me
Matin Rzaev
Matin Rzaev
I use Visual Studio
Matin Rzaev
But it doesn't give me more errors.It gave me just one error )))
Andrew
visual studio code is faster
Matin Rzaev
visual studio code is faster
But it is complicated ))
Andrew
you have to compile manually your code
Andrew
using g++ file.c
V01D
Start using makefiles
Andrew
Start using makefiles
yes i have to learn how to make makefiles
V01D
yes i have to learn how to make makefiles
Want a resource to learn it?
Andrew
yes, i wil be very thank, i have to learn makefiles for my exam also
V01D
http://nuclear.mutantstargoat.com/articles/make
V01D
This really helped me.
Andrew
thanks i will read
V01D
Np
Deleted Account
Isn't class inheritance too bad?
Deleted Account
Deleted Account
It feels like there's too much inheritance
Andrew
what is this?
Deleted Account
I wrote a program and I found that I seemed to use too much inheritance and that the code was not well maintained.
Anonymous
SocketServer is an intrusive ptr? Really?
Anonymous
Learn about SOLID principles