Aman
Can anyone suggest me about the free courses of C language on youtube ?🙂
Anonymous
check out his channel
Kiss
Anyone with experience related to Extended Page Tables and windows programmimg ?
Yasas
#ot
.
Anyone know how to delete after a given position element in linked list implementation.
Mahi_way❤
void printmaxofcurrentAndBelow(int R, int C, int *matrix){ for(int i=0;i<R-1;i++){ for(int j=0;j<C;j++){ if(matrix[i][j]<matrix[i+1][j]) matrix[i][j]=matrix[i+1][j]; } } for(int i=0;i<R;i++){ for(int j=0;j<C;j++){ printf("%d ",matrix[i][j]); }printf("\n"); } }
Mahi_way❤
Help me with the error fr the above👆
Mahi_way❤
What error are you getting as this is not the complete code I can't test it even.
subscripted value is neither array nor pointer nor vector
Talula
subscripted value is neither array nor pointer nor vector
How are you calling printmaxofcurrentAndBelow function?
Mahi_way❤
Call by its value
Talula
Is it a multi dimensional array?
Mahi_way❤
Yes
Mahi_way❤
Let me dm u👍
Anonymous
Why unit testing is difficult in case of singleton pattern??
ᛈᛊᚹᛚᛊᛋ
Why unit testing is difficult in case of singleton pattern??
Are you talking about testing a singleton or testing a project with a singleton?
ᛈᛊᚹᛚᛊᛋ
Testing on a singleton class
You can read about it here. Paragraphs 2 and 3. https://dzone.com/articles/singleton-anti-pattern#:~:text=The%20use%20of%20Singletons%20makes,Singleton%20and%20other%20is%20not.
Mazen
Can anyone suggest me about the free courses of C language on youtube ?🙂
https://youtube.com/playlist?list=PLo80fWiInSIM9bqj3mh-lSpMWqyn9Euo3
Diego
@Singhajeet23 PM'd me without permission /report
強さと決意
Los desiertos de comida por los que cada año mueren miles de personas en Estados Unidos - BBC News Mundo https://www.bbc.com/mundo/noticias-56781149
J.K. – Tessier-Ashpool Customer Support
J.K. – Tessier-Ashpool Customer Support
@ch0ngyang PM'd me without permission /report
Anonymous
what is PM?
J.K. – Tessier-Ashpool Customer Support
what's the reason?
I have no reason to provide to you. You should already know what you did. And I think the other members don't even care about our issues. So, according to the disrespectful treatment I received from you I friendly request you to stop talking to me ever again. Thank you.
強さと決意
Why?
J.K. – Tessier-Ashpool Customer Support
I don't even remember you lol, and I also did nothing disrespectful Sorry if I insulted you
I don't know what might have happened yesterday but in case what you're telling is true I may suggest you to be careful with your device or your open sessions so you don't let others message under your name.
Pavel
Why unit testing is difficult in case of singleton pattern??
Because singletones are very difficult to mock. Imagine you have a singleton that handles connection to a database, and you want to unittest some code that works with database. If this code works with this singleton directly it will be really difficult to test with having a "fake" connection. To test it you would need to create a real connection or to make big changes to this singleton class
hello guys,how I can request the user to enter a string consisting of non-white-space characters ?
Diego
You can use string.IsNullOrEmpty or string.IsNullOrWhitespace to check if it doesn't contain any letters or numbers at all first
Diego
But if you want to ensure that they are not present at any point of the string... then use a Regex that matches whitespace, and if it finds ANY match, it should be invalid
Diego
If you want to test Regex patterns, try Regex Hero, it's plenty useful imo I'm not sure if there are any better alternatives but its worked for me
Adarsh
#include<bits/stdc++.h> using namespace std; int maxpiecies(int n,int a,int b,int c) { if(n==0)return 0; if(n<0)return -1; int res=max(maxpiecies(n-a,a,b,c),maxpiecies(n-b,a,b,c),maxpiecies(n-c,a,b,c)); if(res==-1)return -1; return res+1; } int main() { cout<<maxpiecies(23,11,9,12); return 0; } I am getting this error in this :- error: '__comp' cannot be used as a function if (__comp(__a, __b)) ~~~~^~~~~~~~ Can Anyone suggest what changes i have to make in this?
Diego
Well for starters I think better indenting would go a long way in making your code readable to begin with
Anonymous
``
Diego
Hey there's this person here called pushpendra Singh Chauhan I can't seem to @ them, but they DM'd me without permission 😒
GXUP320
max(a,max(b,c))
Ayush Kumar
max(a,max(b,c))
@am_adarsh Use this or you can learn more from here: https://codereview.stackexchange.com/questions/26100/maximum-of-three-values-in-c
Os Os
Hi
klimi
Hi
Nohello.com
Os Os
Hllo
Os Os
Nameful
klimi
Hllo
What?!?!?
Os Os
Of you a common Arab
Os Os
Of you arab her..
klimi
Of you arab her..
I dont understand you any thing
Os Os
there from here from the Arab countries?
Os Os
..
Os Os
You'r donki
Os Os
Oobs
Os Os
👋🏻
Os Os
Fu...............🤦🏻‍♂️
Anonymous
Can anyone help me make a program
Hanz
Can anyone help me make a program
share your problem here, some should help you
佳辉
😊
Anonymous
Hii , I want to make AI virtual assistant can you help me . Please..
Anonymous
A class has one data member and one method member This class is used in a program that declares 10 objects of this class The number of addresses for data member and method member are, respectively?
Anonymous
Anyone??
Anonymous
Homework?
Yess bruh
Anonymous
Actually exam
Anonymous
Need help can i ping you please