Lion
Well. Grub is, anyway, an OS indeed.
Lion
Filesystem, a shell, and even network driver.
Gulshan
#rose_as_my_girlfriend
Lion
Lion
Lion
It's always the matter of completeness of features.
Vahab
Hello, i want to use two multidimensional array as a parametr in function with unknown size how can i do it?Must i use pointer? or there is any other way. Thanks in advance
Lion
One could argue a multi-task scheduler is an OS. DOS: exists. One could argue a filesystem midlleware is an OS. But it's also not absolutely necessary.
Lion
'How complete is that thing to work as a general-purpose operating system' is a rather good perspective, IMHO.
Lion
Nondualism.
Lion
Lion
int arg[]
int arg[][100]
int arg[][100][200]
...
Lion
For three dimensional array types, you must specify the last two sizes.
Lion
It's tricky to deal with array types. It could be implicitly easily decayed to pointer types...
Lion
You'd better to encapsulate the matrix as a class or something like that.
Lion
And keep that "shape" information in the class
Lion
Accessing them with pointers, e.g. 4d: base + (i*P*Q*R + j*Q*R + k*R + l), or equally: base + ((((i)*P+j)*Q+k)*R+l)
Lion
Vahab
Anonymous
Can someone tell how convert these sentences to internal C++ Standard library?
Anonymous
vector<int> h_vec;
stringstream ss{text};
int n{0};
while (ss >> n) {
h_vec.push_back(n);
}
for (auto v : h_vec) {
if (v < 0) {
throw std::runtime_error("time less that zero");
}
if (v <= 8) {
hours += v;
} else {
hours += 8;
overhours += (v - 8);
}
}
fr << hours << " " << overhours << '\n';
}
fd.close();
fr.close();
return 0;
}
Anonymous
I want have this whole code without throw and vector, but interesting how to do it:/ Can't find solution
Anonymous
Does anyone have <tempo.h> library which is for RTS (real time system)?
The library is taught at my university. I want someone to send the source code.
Anonymous
Anonymous
Anonymous
Anonymous
I am new (c++)
I need help
Anonymous
Why
Lamar
Hi
SREU SREYLA
I want to learn C program
SREU SREYLA
SREU SREYLA
Ajay
#india
Anonymous
technically true
Verckys
/get cpp-vscode
Verckys
/get bingo
Gulshan
Shadow
guys anyone using codeblocks here?
Gulshan
Shadow
i got a problem in that that's why asking
Gulshan
You may ask, maybe someone will reply to your question
Gulshan
The one who uses codeblocks
Talula
/report Spam of Python
Anonymous
/get cppbookguide
SREU SREYLA
/report
klimi
What
SREU SREYLA
Hamza
Can anyone explain about copy constructors
Anonymous
Anonymous
#cppbookguide
Hamza
Nicolo'
Nicolo'
Utsav
/report
klimi
/report
what are you reporting?
Utsav
Anonymous
Ибраги́м
What are u reporting ?
Lion
When you click on a command link and the command will be automatically directly sent. This feature in Telegram always surprises me...
itsmanjeet
hey all,
i have a variant<int, double, string> var_t
and var_t var1 = "Hello ", var2 = 65
now any way to do
var1 + var2
= "Hello 65" (of var_t)
itsmanjeet
me ?
Igor🇺🇦
abdullah reveha
Hello everyone, I want to ask a question. Can you suggest a book which has a lot of questions to practice
abdullah reveha
for c programming
Anonymous
Yes it was link to stack overflow containing list of cpp books.
Anonymous
Dima
lol
Anonymous
Am I supposed to type the link manually then? Won't it be a pain though?
Anonymous
Anonymous
for c programming
C Programming Language by Brian Kernighan & Dennis Ritchie is good.
Anonymous
How much time can it take to become an intermediate cpp developer?
Anonymous
Edward
Anyone familiar with E-pub?
OnePunchMan
Is there any way to log the folder we have copy or cut.
Eg. I have copied folder A to pendrive then log file has entry of that.