Anonymous
# in C or C++ means...
Arjun
I,m doing my industrial training in MEAN stack. Is it good? And how do I develop skills??
Igor🇺🇦
Anonymous
Cool i agresse
Anonymous
How can i clone a website please
Ariana
clone a website what?
Anonymous
i think it is not true
Anonymous
Hello. Can someone suggest any tool for false sharing detection? Thanks.
Anonymous
Im programming in C
Anonymous
Good morning friends 😄
Prince_Charan_yadav
Hi admin
1
Hi admin
It's bot
Davixcky_dev
😂
Roxifλsz 🇱🇹
I think that link is fine because it is for education, as long as he doesn't spam it. No need to report it.
Anonymous
Hey everyone. I need a small help. Is there any way to initialize a SCL signal for I2C comminuication in Arduino based Teensy 3.2 in Keil?
Anonymous
Top T : Trollface Was Real
can you send me the link?
Sure. Text me in pm👍
Anonymous
Hey marie
Max
Hey marie
she likes you
Mr.Anonymous
😂😂
Anonymous
Sumeet
Anyone have the link to the aurduino channel..?
Anonymous
Anyone have the link to the aurduino channel..?
You main microcontroller arduino programing channel
Nik
👍
Anonymous
#include<stdio.h> int main() { char ch; foo1bar1__1foobar(2, 0, ch); std::string something; something += ch; foo2bar2__2foobar(something); std::vector<std::vector<std::vector<std::string> > > svec; std::vector<std::vector<std::vector<std::string> > >::iterator= svec.begin(); something += foofuncffuuuu33(svec); foo2bar2__2foobar(something, true); foocollectestimatedonesforsomeotherpurposes(something, something, something, something); something += 'c'; something += p3(); something += (char)78; something += p3(); something += (char)98; something += p3(); generate_foo_generate_bar(something); generate_next_symbol(something); jenerate_5th_symbol(somesing); generate_6th_symbol(something); std::cout << "\n\nLOGIN == " << something << std::endl << std::endl; return 0; } Error with:- compilation
Anonymous
Solve this program
Anonymous
what is eror bro
Anonymous
Compilation
Anonymous
jx
😂😂
Anonymous
Good morning all
Anonymous
tru
Anonymous
Hey everyone I need help with this. I've made my own STL like array but I'm unable to realloc the size and use subscript operator and assignment operator to assign a value
Anonymous
template<typename type, const int size> struct array { private : type *t ; public : array() {} array(const array& arr) { t = new type[size] ; this->t = arr.t ; this = arr ; } array(std::initializer_list<type> lis) { t = new type[size] ; try { if(lis.size() > size) throw("Array Overflow") ; } catch(const char* e) { printf("%s", e) ; exit(0) ; } int j = 0; for(int i : lis) { t[j] = i ; j++ ; } } array(type *tie) { t = new type[size] ; t = tie ; } void operator = (const array &arr) { t = new type[size] ; this->t = arr.t ; } type operator [] (int index) { return t[index]; } type get(int index) { return t[index] ; } int set(const int index, const int num) { t[index] = num ; } ~array() { delete t; } };
Anonymous
Why not using using namespace std; in headers...? Std:: will not required then.
Because "using namespace std" imports all the names in std and can cause ambiguity
Mbock
using std::<insert name here>; Edit: forgot semicolon
Anonymous
Mbock
Whats the purpose of creating a vector of a vector of a vector of a string?
Igor🇺🇦
Whats the purpose of creating a vector of a vector of a vector of a string?
When you need vector of vectors of vectors of strings
olli
Anyone here who can help me with this code?
In your copy constructor you are allocating memory and copy the pointer, resulting in both arrays using the same memory and the allocated memory being leaked. The same applies to your copy assignment operator. Furthermore you probably don't want to reassign this. Your tie constructor does leak as well. Make sure your pointer points to valid memory and the access should be fine. Apart from those concerns, you could make use of heap Ellison, since you know the type and size your array might be completely allocated inside your class by using T data[size];
Anonymous
Omg this is hard to understand well I got that memory is leaking How if I allocate the memory without using pointer
olli
A good idea might be to replace type *t; with type t[size]; So in your copy constructor and copy assignment operator you can do this to copy all the elements array(const array & other) { for (size_t i = 0; i < size; ++I) this->t[i] = other.t[i]; }
Zero
Which app is this?
Anonymous
hiii
Anonymous
hiii
hi bro
Anonymous
how to learn c ?
Dima
simply
Dima
Anonymous
Anonymous
Solo learn
Mhh its good?
Zero
Solo learn
Other c++ compiler avalible ? Offline onlu
Zero
Only*
Anonymous
Html offline & c++ is online
Dima
lol what
Dima
just download any ide
Anonymous
Only html offline
Dima
Books are offline resource
Anonymous
Other languages is online
Anonymous
ho
Anonymous
Hello programmers
Anonymous
Hi clanies
Anonymous
Anonymous
Anonymous
why is this
Anonymous
Riccardo
Is there anyone that can help me with a GLFW problem?
Anonymous
friends largest of 3numbers ? pls send me program
Riccardo
Lol