Ludovic 'Archivist'
I did it at some point but I don't know where I put the LibreOffice Calc file for it
Somya
Ok
Anonymous
Hello
Anonymous
Please am a Beginner in programming I really want to know more about C++ any help please
Ludovic 'Archivist'
Please am a Beginner in programming I really want to know more about C++ any help please
https://www.youtube.com/watch?v=W2tWOdzgXHA https://www.youtube.com/watch?v=2olsGf6JIkU
Anonymous
Ohk sir
Karan
Calling all coders. At 6 PM today play Coderulon organised by IIT Roorkee and Dare2Compete Online Hackathon Festival (OHF) Season 2 and stand a chance to win prizes worth INR 50K, eCertificates to Top 100 for excellence and to all for Participation. To register and to play head to https://d2c.pw/wH22n #OHF #OnlineHackathonFestival #D2COHF #Dare2Compete #StayHome #StaySafe #KeepCoding
𝕻
Qualcuno che parla italiano?
𝕻
Ok
M
Hi who of you can create ESP Cheat for pubg mobile using c++ memory i will pay
Anonymous
Thanks for the help
Remember to remove the static if you want to run it in a loop
Feyintola
Thanks a lot
...
nobody will solve your homework here, also its perfectly clear if you read the text.
Feyintola
Thanks
Anonymous
i m actually facing a problem in a render algorithm. for a given distance, position and view angle. i create a triangle with Point A = (Player_x, Player_y) and according to this position i calculate B(left end) and C(right end) with sin/cos. Now i wanted to rasterize the hypotenuse, such that it is split into n-equal parts. Now here comes my struggle, can I just start at point B and use sin/cos * i/n where i is a counter to rasterize it?
Anonymous
the distance is the max range i want to render the scene at that moment & yes A is the position :)
Anonymous
for example B_y = sin(angle)*distance + A_y B_x = cos(angle)*distance + A_x
Anonymous
the triangle is in this case always right angled that was a given property i forgot to mention
Anonymous
ok! but thank you anyway :)
M
Hi who of you can create ESP Cheat for pubg mobile using c++ memory i will pay
M
No
what no?
Anonymous
what no?
/report
Anonymous
ad
M
ad
i just sent what i use😑
Anonymous
i just sent what i use😑
nobody asked for a recommendation => ad
Dima
you are late, bruv
A
Hey
Anonymous
How to learn data structure in c programming
ydgjjjjjj
This site is very interesting😂😂😂
13✙666
People, I need help. Currently i am writting a library and don't know (maybe don't remember) how to fill c type array inside the function
13✙666
When i used directx it was something like double pointer
Asdew
What do you have and what do you exactly want to do?
13✙666
something like that: Card cards[6] Test(nullptr, &cards); int Test(cv::Mat* data, Card** card) { // PEOPLE HOW I CAN FILL IT return -1; }
14•08
😢
13✙666
I want to call this function
13✙666
😢
Could you please, don't troll me. I lost this wisdom
Dima
lol
14•08
Could you please, don't troll me. I lost this wisdom
Yo question tseem complex may be I didn't understand
13✙666
Oh yes, my english it's something special)))
13✙666
I want to put cards to function Test, but don't remember syntax. MAybe do you know how i can fill(set by 1 for example) this array(Card cards[6]) inside function
Dima
memset could do
13✙666
Can you demonstrate syntax, i can try memset(cards[0], 1, sizeof(Card))?
13✙666
C:\Workspace\*\Plugins\CardDetector\3rdparty\card-detect-library\main.cpp(85,42): error C2664: 'int Test(cv::Mat *,Card **)': cannot convert argument 2 from 'Card [6]' to 'Card **'
13✙666
yes yes, i know. My question about syntax of *,&,** and all what happens with pointers
Artöm
Argument should be Card* card_arr
13✙666
I don't know how to put array to ...
13✙666
13✙666
Got it, I fix my issue with pointer, but i was thinking before i can't use pointer for filling all array int Test(Card* card) { Card* out_card = card[count_card]; // error C2440: 'initializing': cannot convert from 'Card' to 'Card *' // What did i wrong? out_card->angle = 0; out_card->pos_x = 0; out_card->pos_y = 0; out_card->size_w = 0; out_card->size_h = 0; return 0; }
Dima
you need to take an address card* out_card = &card[count_card];
13✙666
I did
13✙666
data won't change
13✙666
int Test(Card* card) { size_t count_card = 0; Card* out_card = &card[count_card]; out_card->angle = 0; out_card->pos_x = 0; out_card->pos_y = 0; out_card->size_w = 0; out_card->size_h = 0; return 0; } int main() { Card info[6]; const int qty = Test(&Frame, info); //const int qty = detect_fn(src, info); std::cout << qty << std::endl; for (size_t i = 0; i < 6; ++i) std::cout << info[i].angle << " "; // Here i had not initialized data return 0; }
13✙666
I see 😌
But you don't hear )))
stear
#include<iostream> #include<string> using namespace std; class saving{ private: static float rate; ///nerkh bahreh float savebal; //mezanmojode public: saving (float fund, float inirate) {savebal=fund;rate=inirate;} float Calculate() { savebal = (savebal * rate) / 12; return savebal; } static float modify(float newrate) { rate = newrate; return rate; { }; float saving::rate; float saving::modify(); main() { saving s1(10000,3); cout<<"mojode "<<savebal<<"\n"<<"bahreh"<<rate<<"\n"; saving s2 (15000,3); s1.Calculate(); saving.modify(4); s1.Calculate(); s2.Calculate(); saving.modify(4); s2.Calculate(); }
14•08
But you don't hear )))
txt can sound nothing why shud I hear 😂
13✙666
#include<iostream> #include<string> using namespace std; class saving { private: static float rate; ///nerkh bahreh float savebal; //mezanmojode public: saving (float fund, float inirate) { savebal=fund; rate=inirate; } float Calculate() { savebal = (savebal * rate) / 12; return savebal; } static float modify(float newrate) { rate = newrate; return rate; { }; float saving::rate; float saving::modify(); main() { saving s1(10000,3); cout<<"mojode "<<savebal<<"\n"<<"bahreh"<<rate<<"\n"; saving s2 (15000,3); s1.Calculate(); saving.modify(4); s1.Calculate(); s2.Calculate(); saving.modify(4); s2.Calculate(); }
Artöm
ERROR: expected initializer before main
main is a function, you have to indicate its return type
Gulbakhor M
Gulbakhor M
Hello friend
Gulbakhor M
Gulbakhor M
Can you fix the problem
Gulbakhor M
Will you help,please
Gulbakhor M
it shows some error
Gulbakhor M
.
Ибраги́м
https://www.youtube.com/watch?v=ew3wt0g99kg
toytta
Could someone give me a hand in a simple C program? I'm getting wrong answer in some tests here but I can't find the error
toytta
Books??
.png file reading