Sherlock
I personally think that it is a way to practice arrays and pointers that way
Sherlock
otherwise you sometimes don't even need to create an array sometimes in certain problems
Raj
We sell all types of app clone like Tiktok, Tinder, Whatsapp, zomato, zoom app, UBER cab, Grocery app and many 800+ products with admin panel, license and professional codes.
Anonymous
can i make facebook clone with c++?
V01D
No
V01D
Facebook is mainly a webapplication, try html, css, js, php and sql
Alex
can i make facebook clone with c++?
of course, you can do everything with any Turing completeness language
Alex
actually Facebook uses c++
V01D
Really?
Alex
https://www.cuelogic.com/blog/how-facebook-is-not-using-php-by-still-using-php
Nils
How do I use an extern class?
V01D
Yeah, for backend. I was talking about front end. Probably every big company uses C or C++ one way or the other. It is a must. Thanks for sharing though, I didn't know that
Nils
How do I use an extern class?
extern std::vector<commsyPost> libCommsy::posts; static data member definition cannot specify a storage class
Alex
probably you can use c++ webassembly, or don`t use Javascript at all. anyway is possible
din va lu
Minimum how much languages we want to learn while going for job interview?
din va lu
None
I mean for developer
Anonymous
I mean for developer
Again: none for you
Anonymous
If you ask questions like this, you won't get a job interview right now
Anonymous
Why?
Because you do not understand how developers work and what developer you want to be
Anonymous
Lol
Anonymous
Don't judge a person
I'm not judging you I'm just stating a fact
Tobias🐾🚲
Minimum how much languages we want to learn while going for job interview?
You're not proficient in a single language, you should be proficient in the concepts that apply between them, Working with a developer to teach them a new language is half a year if not less, but having someone learn the logic behind it that is a much less forgiving task.
Tobias🐾🚲
If you dont know the theories, concepts and co behind the language(s) and your computer however there's always wordpress template designer positions open.
din va lu
But I know C, C++, java, Csharp, python
Anonymous
din va lu
din va lu
Anonymous
I know it
namespace details { template <typename B> std::true_type test_pre_ptr_convertible(const volatile B*); template <typename> std::false_type test_pre_ptr_convertible(const volatile void*); template <typename, typename> auto test_pre_is_base_of(...) -> std::true_type; template <typename B, typename D> auto test_pre_is_base_of(int) -> decltype(test_pre_ptr_convertible<B>(static_cast<D*>(nullptr))); } template <typename Base, typename Derived> struct is_base_of : std::integral_constant< bool, std::is_class<Base>::value && std::is_class<Derived>::value && decltype(details::test_pre_is_base_of<Base, Derived>(0))::value > { }; What this code is doing and how to use it?
Nils
How do I define exceptions in another object file?
Nils
Like i have libcommsy.o and main.o And libcommsy.o has specialised exceptions
Alex
How do I define exceptions in another object file?
what do you mean "define exceptions"?
Alex
add class as usual
Nils
what do you mean "define exceptions"?
like extern <exception> Which does not work
Nils
add class as usual
Undefine reference
Alex
#include <exception>
Anonymous
I know it
If you are able to solve problems from hackerrank using C++, it doesn't mean you know it
Nils
#include <exception>
My class in the header file: class libCommsy { public: ... // Exceptions class invalidSIDError; class invalidRoomError; class invalidPostError; class descDownloadError; }; libcommsy.cpp: // Exceptions class libCommsy::invalidSIDError {}; class libCommsy::invalidRoomError {}; class libCommsy::invalidPostError {}; class libCommsy::connectionFailError {};
Anonymous
How can u say I solved C++ problem in hackerrank
Because I don't think you have written anything besides hackerrank-like problems
Anonymous
https://t.me/programminginc/320558 Again, if you claim that you know C++, answer the questions
Anonymous
How can u say I solved C++ problem in hackerrank
You just need to learn to be realistic
din va lu
Anonymous
So you do not know C++?
din va lu
Great
din va lu
Anonymous
Then answer the questions https://t.me/programminginc/320558
Anonymous
If you know C++
Anonymous
If you do not answer, you do not have a clue about C++
Anonymous
I know the code
ANSWER THE QUESTIONS
din va lu
I don't want to show u
din va lu
I know it
Anonymous
Ok so you're officially admitted that you do not know C++
Anonymous
Good luck with finding a job
Dima
Lol
Anonymous
It's a type trait to determine if one class is base of another struct Base {}; struct Derived : Base {}; struct NotDerived {}; is_base_of<Base, Derived>::value // == true is_base_of<Base, NotDerived>::value // == false
Anonymous
Type traits is not a basic topic of C++
Anonymous
You don't have to know what they are unless you claim that you KNOW c++ or have a specific job with templates in C++
Anonymous
I think the person even do not know what undefined behavior is and never saw a C++ standard document
Anonymous
#include<stdio.h> struct array { int A[10]; int length; int size; }; int reverse (struct array *p) { int i,o ; for(i=p->length;i<=0;i--) { o= p->A[i]; return o; } return 0; } int main() { int q; struct array s={{3,4,5,6,7,5},5,10}; q=reverse(&s); printf("%d",q); }
Anonymous
would this print array in reverse order?
Anonymous
i am getting error like the loop will run atmost 1 time
Anonymous
U r right I know only to solve C++ fundamental codes
Hackerrank problems are NOT fundamental
Anonymous
Hackerrank problems are NOT fundamental
Yes I did a mistake there but i corrected it later and again the compiler responded that increment never executed
din va lu
Hackerrank problems are NOT fundamental
Can you tell how grow in coding
Anonymous
U r right I know only to solve C++ fundamental codes
If you do not what undefined behavior is you're a noob in C++
Anonymous
Can you tell how grow in coding
Read books and code projects, not only hackerrank projects
din va lu
Can you provide a path on your experience
Anonymous
Sorry for the bump