HaiNahi
which cllg?
Lovely Professional University
ninja
😂
HaiNahi
😂
._.
ninja
you may do this type of talk in OT grp
HaiNahi
kk
HaiNahi
Anyone know to install SDL in android studio in C/C++ language
klimi
is android studio a c/c++ ide?
HaiNahi
is android studio a c/c++ ide?
Android ndk will allow c/c++ by that we can put SDL
HaiNahi
But not happening
klimi
and what is not working then?
ninja
is android studio a c/c++ ide?
no it's not but you can write android code in c/c++
klimi
https://github.com/georgik/sdl2-android-example
klimi
this seems related
HaiNahi
and what is not working then?
App is compiling and is installed, but SDL error is coming
klimi
.... what error?
HaiNahi
Dalvik. ....Coundnt find libhidapi.so
klimi
https://discourse.libsdl.org/t/android-error-libsdl2-so-failed-to-load/25680 this?
.
Any one has a code of bfs for shortest path in graph please help
.
Any know a good repository of data structures in c++ kindly share
HaiNahi
Plz share
You got that, I changed the pseudocode a bit so that it consider only one final node
Anonymous
Thank you
HaiNahi
like any google result
I saw in Google they will solve for full graph
Anonymous
Sir sorry but I am learning
Not bad lord kartik
Anonymous
"Sir" is like medieval ages
Anonymous
For me it is
klimi
For me it is
OK, then keep it to yourself
Anonymous
But sir reminds
GHAMDAN_NSHWAN
I need file the Library of <SFML/Graphics.hpp>
GHAMDAN_NSHWAN
GHAMDAN_NSHWAN
🥺🥺🥺🥺
Anonymous
Shit 😕
GHAMDAN_NSHWAN
😶
GHAMDAN_NSHWAN
Where are programmers 🥺
olli
I need file the Library of <SFML/Graphics.hpp>
you probably need more than this single file, the source code to SFML is here https://github.com/SFML/SFML Also, check out the tutorials for various platforms and IDEs https://www.sfml-dev.org/tutorials/2.5/
Heli𓂀
GHAMDAN_NSHWAN
?
Heli𓂀
?
Which site has better learning?
GHAMDAN_NSHWAN
Ud
GHAMDAN_NSHWAN
Which site has better learning?
Build Automation Framework with Cucumber BDD using Python and Behave for Selenium WebDriver and API Testing on Demo Site What you’ll learn You will be able to create Cucumber BDD testing framework using Python, Behave, Selenium WebDriver, …. You will be able to read and write Cucumber BDD style tests in Python You will be […] via WordPress https://ift.tt/2X5yV3n
Earl B
Can anyone point me in the direction of a beginners explanation of bubble sort? I am reading C programming for absolute beginners and I still can't wrap my head around how and why it works even after reading and rereading the section a bunch
Muhnnad2
I'm trying to learn c++ and I thought its coding words and some numbers but I supras with to much numbers its mathematics T_T
Hanz
relax
MᏫᎻᎯᎷᎷᎬᎠ
/report
Hanz
#ASK (C++) I'm trying to implement operator= overloading inside a struct in x.h file. The thing is, i don't know how to write its functionality in x.cpp file. EX: /* x.h file */ struct X { X& operator=(X other); }; /* x.cpp file */ #include "x.h" struct X { X& operator(X other) { /* define here? or how? */ } };
Muhnnad2
relax
No no I'm so excited for learning but I need some guide
HaiNahi
Anyone know how to run SDL in android
HaiNahi
what if i move the struct to the .cpp file? WIll it still works when the .h file #included?
#include is just copy pasting file may be in the current file
HaiNahi
Like #include is replaced by the file content
Hanz
#include is just copy pasting file may be in the current file
hmm understandable, i think the DOs and DONTs for .h file is just programming convention then. I will read the book again 🤦‍♂️
HaiNahi
# would mean any change would happen due to include would be resolved before compliation
Hanz
ah im going forward declaration of that struct instead.
Ncamiso
Anyone who can help with file handling?
Anonymous
Is it possible to change the size of the vectors inside an array??
Anonymous
Is it possible to change the size of vectors std::vector<int> Aofvec[5];
z
Is it possible to change the size of vectors std::vector<int> Aofvec[5];
The size of Aofvec can't change. But the size of the vector itself can be dynamically resized. What I mean by size here is the number of elements each vector can contain. You can have std::vector<std::vector<int>> Aofvec; as well, if you want to resize it.
Ncamiso
Im doing a project on file handling... given a list of bank customers names and list of each customer transactions how do read each transaction and calculate/update on a file because I am only able to output the result in console screen
z
Im doing a project on file handling... given a list of bank customers names and list of each customer transactions how do read each transaction and calculate/update on a file because I am only able to output the result in console screen
This question can't be answered because it's lack of details. How are transactions stored? What kind of list given to you? Where is the minimal working example?
Anonymous
how do i link freetype to harfbuzz in cmake? as i keep getting Could NOT find harfbuzz (missing: HARFBUZZ_INCLUDE_DIRS HARFBUZZ_LIBRARIES)
Heli𓂀
Udemy
Thank you
mito
Can anyone give me an example , of how to use default parameters in function prototypes in CPP ?
mito
void foo(int x = 0);
Thank you. I have seen some examples in online which use something like void foo(int = 8); Without the variable... Is that correct ?
Pavel
Thank you. I have seen some examples in online which use something like void foo(int = 8); Without the variable... Is that correct ?
That's probably technically correct, but not very readable and not common. Better to always name the variables in the function declaration.
Alejandro
Thank you. I have seen some examples in online which use something like void foo(int = 8); Without the variable... Is that correct ?
It compiles I think, but If you don’t name the argument you won’t be able to use it, meaning that assigning a value is totally pointless