Anonymous
Anonymous
Come from means
Deves
SMS
strupr() are no a C standard function
Mohini Thakur
Hello guys
Anonymous
hello guys
Anonymous
are you in the afternoon?
Anonymous
it's afternoon in my area
Zed
Hey guys
Fox
/get cppbookguide
Fox
/get ide
Deves
/get
Anonymous
hello guys... somebody send c++ notes please
McLean
/get
McLean
/get -cpp
McLean
/get cpp
Sahil Agarwal
https://hack.iiitl.ac.in/
To register for HackOFiesta
Prince Of Persia
/get best
Prince Of Persia
/get best-book
Emmanuel
Thank you ma'am
Prince Of Persia
😂
Prince Of Persia
/get gcc9
Grigoriy
Does it make sense to mark a function as inline if it contains a static variable?
Grigoriy
Ali
1. What is the time complexity of the following function? int partialsumofsquares( int* arr, int n ) {
int result = 0 ;
for (int i=0; i<n; i++)
if (arr[i]<0)
result +=arr[i] * arr[i];
return result;
}
Ольга
Good day. I need your help. Maybe someone knows whether C has an analogue of the function X. sort (key = product), ie sort by key. I will be glad to answer
Anshul
Can I plot graphs using c++?I have an array indexed from 0 to 1439 and I want to plot a graph, array elements versus array index
Kaashᅠ
Nana
Hello guys
Nana
I created this template program
Nana
template <class T>
double sum(T num1, T num2)
{
return num1 + num2;
}
template<class T>
T sum(T num1, T num2, T num3)
{
return num1 + num2 + num3;
}
Nana
One has a double return type and the other T as a return type but it works perfectly
Nana
can someone explain the difference between the T and the double return type in templates?
Nana
This is the full program
Nana
熔岩
it's same when input Double, but different in Int? you may have a try
Ольга
Sorry for the bag, maybe someone can tell me how to sort the columns in C depending on the product. Example:
1 4 5
6 2 3
3 1 1
Products : 18, 8, 15
Output:
4 5 1
2 3 6
1 1 3
Please I hope you can help
Anonymous
/notes
Δημήτριος
Слава Украине
{ЅᎯⅅⅅ-ℰ}
Δημήτριος
Anshul
%Nikita
Hi
%Nikita
Of course I sympathize with you, but unfortunately
(gdb) call printf(“%d”, myVallet == empty);
1 > 1
Anonymous
have u any resources for practicing OOPS concepts problems?
I learnt golang first and then worked in a company, golang isn't a strict object-oriented language. But I came into contact with oop design everywhere in my work. I suggest mayby you can try to learn DDD design and the frequently-used Design patterns like Factory Pattern, Adapter Pattern, Builder Pattern and so on. They are useful to understand OOP in my work.
nurhikmah
/notes
Anonymous
👌🏻
Horace
/get howtoprogram
Kaashᅠ
A.M UMAR
Sampad
#gcc9
Carlos 🃟
Hey everyone
Ilia
Hi. Who can explain this?
Because the amount of stack space grows and shrinks over the program’s execution as functions are called and returned from, the stack part of memory is typically allocated near the bottom of memory (at the highest memory addresses)
Ilia
Why "near the bottom"
Ilia
Lol I got it. Thanks
Anonymous
Somebody knows about
Anonymous
C4droid
Anonymous
?
klimi
?
don't ask to ask... i might know the app but that information is useless to you as you have asked useless question
Ilia
I want to understand one subtle thing
I red about pointers in C and i understood the idea but:
int* pc, c;
pc = &c;
c = 3
printf("%d", *pc); // 3
This works like expected but why below example not produces error?
*pc = 2
I know what it does but cant understand why in such way dont we have here 3=2? How we can asign 2 to 3? I expected error
ss..
Any specific website for learn cpp
Ilia
I red about it from sites of course and didnt find answer about this moment
Ilia
I see i need to learn about placeholders there is magic with pointers maybe
\Device\NUL
Ilia
\Device\NUL
what?
it's same like char *ch = (char *)3
\Device\NUL
It's UB since you don't know what inside address 3
klimi
valgrind is a nice tool
Ilia
Ilia
I think that it behaves in this way. If *pc is lValue then it is not reads data from that address. It sets data to that address.
\Device\NUL
Ilia
nope everything works like expected
J
Stay Forward
/getcbook
ss..
thanks 😊😊 J
Deves
#howtoask
Jasur Fozilov 🐳
/get cppbookguide