Nils
Yeaaaahhh. 😅
Anonymous
see in BulkQuote you are using Quote::net_price() even though BulkQuote inherits from Discount. so if Quote, Discount, and BulkQuote are defined in separate headers, you need to look at Quote to write BulkQuote. this is why i asked whether it was a good design using using to make a small manpage of Quote inside Discount
Anonymous
ye you said that, but back then i didn't know about using to explicitly list base class members.
Anonymous
Nils
How do I create a dynamic array without a kernel?
Nils
All I can find uses kernel functions…
klimi
well you need somehow to manage memory... and thats what kernel does afaik
Nils
Asdew
https://osdev.org/ is a very useful resource.
Nils
I found a much better way now anyways 😉
Nils
(At least better for my fits)
Anonymous
> paragraph 1
oh
> The way you are thinking of using declaration is actually an abuse.
😅 okay
Anonymous
thanks
MᏫᎻᎯᎷᎷᎬᎠ
No puzzles tonight?
Nils
Are char arrays filled with zeros by default?
MᏫᎻᎯᎷᎷᎬᎠ
Hahaha
Nils
Yeahhhh I definitely have undefined behavior somewhere…
Nils
Anonymous
/report
Anonymous
Anonymous
How to print this Pattern in c or cpp
Pavel
How to print this Pattern in c or cpp
A loop for y coordinate and probably two loops inside.
So for each line you need some amount of spaces (std::string have a constructor from two arguments to help with that), first inner loop for inserting the left part, one more string of spaces, and then the second inner loop for inserting the right part of the line
Anonymous
#include <iostream>
#include <math.h>
using namespace std;
int main() {
int i,j,t,n;
cin>>n;
for(i=-n+1;i<n;i++)
{
t=2*(n-1)-abs(i);
for(j=-2*(n-1);j<2*n-1;j++)
if(abs(i)+abs(j)>=n-1 && abs(i)+abs(j)<=t)
cout<<abs(i)+abs(j)-n+2;
else
cout<<" ";
cout<<endl;
}
return 0;
}
Anonymous
I have done but i want another logic
Anonymous
Hello
Anonymous
Let’s programming
Anonymous
I’m good in C#
Samat
klimi
Brian
Hello guys
Brian
Anybody pls send me a source code of a running program written in C. Waiting....
klimi
Brian
klimi
klimi
Brian
Brian
I wanted a program code of more than 1000 lines😭😭
klimi
Anonymous
Brian
alright
Can i have that. I neef to test whether a certain IDE over here is functional
Asdew
Try with the Linux kernel. You can find it on kernel.org.
Brian
Why? 😅
I am new to programming
klimi
YK Y
Anonymous
Nikolay
Ciclonite
i've read the rules, can i past a link to pastebin?
Dima
Ciclonite
the bot have removed my post, reason external link
Dima
Dima
Ciclonite
Ok thanks a lot, sorry for disturb.
Ciclonite
Anonymous
Who is a freak in programming ?
Anonymous
Reason
Anonymous
Console.WriteLine(„Tell me the reason“);
Console.Readkey();
MᏫᎻᎯᎷᎷᎬᎠ
You could've just use comments
klimi
Nikk
/adminlist
lotuslwt
hello
Anonymous
What’s the passion of this group ?
lotuslwt
I get a segmentation fault, anyone tell me why?
lotuslwt
sorry, I can't send more messages or image...
lotuslwt
How to upload an image?
lotuslwt
I am newcomer😆
lotuslwt
this group so quiet
Asdew
lotuslwt
yes, I guess, too. but I have no idea to fix it.
lotuslwt
I want to show my source code, but I can't
lotuslwt
Anonymous
lotuslwt
not initialised is allowed