Anonymous
Anonymous
Asiman
🇺🇸
Hi everyone can someone helps me to solve the problem with SFML library and loading photo. Failed to load image "/Users/diyorbekmusayev/Desktop/University/HiSFML/2d.png ". Reason: Unable to open file
klimi
🇺🇸
You mean address of file?
Danya🔥
Chijioke
Hi everyone, pls, what is the difference between strupr() and toupper()? since both can make a string uppercase.
Chijioke
\Device\NUL
🙏Thanks
You can even create strupr function by yourself
Chijioke
dearfl
guys, can a function/template have different behaviours according to the noexcept attr of the calling site?🤣
Delious
Can u share c++ projects from basic to advance
Chat Boss
𝕱𝖗𝖔𝖟𝖊𝖓 sent a code, it has been re-uploaded as a file
\Device\NUL
How?
Learn about function in C/C++ and then come back to ask again how to do it.
IMPӨƧƬΣЯ
hello guys,i am a novice at cpp
IMPӨƧƬΣЯ
i am interested in how the memory adresses are associated to identifiers and the internal stuff behind c
IMPӨƧƬΣЯ
so can you suggest me some book which can give an introduction to how the internals work
Chijioke
Anonymous
so can you suggest me some book which can give an introduction to how the internals work
At assembly language level, the identifiers you use don't matter as all the instructions operate on memory directly. Labels do exist in assembly language but they are more of a convenience for hand written assembly code and are used to mark segments of code rather than individual values.
From your question, I gather that you either want to understand how compilers/interpreters work or you want to understand assembly language. You can read a good book on it (there are many) but I would suggest learning more of C rather than going into compilers at this stage. Once you become comfortable with C programming, some of these concepts would self reveal themselves at which point learning either assembly or compilers would be an easier task.
IMPӨƧƬΣЯ
IMPӨƧƬΣЯ
IMPӨƧƬΣЯ
Thank you for the guidance tho
IMPӨƧƬΣЯ
IMPӨƧƬΣЯ
IMPӨƧƬΣЯ
IMPӨƧƬΣЯ
signing off
Chat Boss
Bobo sent a code, it has been re-uploaded as a file
Chat Boss
Bobo sent a code, it has been re-uploaded as a file
Bobo
Hello everyone, I'm new to C, I mostly write in higher-level languages, but still, I ran into a problem in the XOR function, when I go through a string and XOR results in 0x00, then the length of the string is simply cut off, I understand that this is the end-of-line character, but anyway, how can I solve this problem, here is the function code (*len input_str == len xor_str)
Pavel
Hello everyone, I'm new to C, I mostly write in higher-level languages, but still, I ran into a problem in the XOR function, when I go through a string and XOR results in 0x00, then the length of the string is simply cut off, I understand that this is the end-of-line character, but anyway, how can I solve this problem, here is the function code (*len input_str == len xor_str)
Are you trying to use some string operation on the "XORed" string?
Instead you probably need to store the length of the strong and use operations with arrays
Chat Boss
♞♛♜ sent a code, it has been re-uploaded as a file
Bobo
I try to write without using libraries at all, but if some are used, I take them directly, then I just have stdlib disabled
Majid
♞♛♜ sent a code, it has been re-uploaded as a file
Hello, I'm going to face this problem. ‘__gnu_cxx::__normal_iterator<std::__cxx11::basic_string<char>*, std::vector<std::__cxx11::basic_string<char> > >’ is not derived from ‘std::istreambuf_iterator<_CharT>’
vector<string>::iterator *it = find(mycolor.begin() , mycolor.end() , "red");
Bobo
Well, there is an input_str of 3000 characters, for example, if after 4 iterations, it will result in xor 0x00, then the length of the string becomes 4 and is not added further
Majid
布丁
Bobo
size_t sl(const char* str) {
size_t len = 0;
while (*str++)
len++;
return len;
}
Bobo
The problem is not with the length everything is ok, in the debugger everything is ok, the length is correct
Anatoliy Gridin
Hello everyone, please advise articles or videos about SAST?
Bobo
Fuck, I'm a fool, it's just a debugger, for output it translated into a string and output a short value, but the data was still stored there
\Device\NUL
Anonymous
I have encountered an issue. I have been studying mobile app development and artificial intelligence, but unfortunately my laptop has recently malfunctioned. I was hoping you might be able to assist me in resolving this problem. Thank you.
Ehsan
while (*str++) is basically while (*str++ != '\0')
Yeah both of them are the same, was just a suggestion, however i asked chatGPT and apparently the null character method is safer but i couldn't understand why😕 i kept asking gpt for an example that *str++ fails and crashes but it didn't generate any good example that would prove 🤷♂️
Danya🔥
I think they are bots...
Ziky
Ehsan
Desmond
Ziky the red fox please dm me
\Device\NUL
Anonymous
launch json errors . in vscode.
help needed
P
coding community,
i need help to solve a problem. i solved the problem all the given testcase are passed but when i submitted it is giving wa
P
link:https://atcoder.jp/contests/arc159/tasks/arc159_b
P
my code:
```cpp
Chat Boss
P sent a code, it has been re-uploaded as a file
dimazava
Hello,
I'm passing local (not a class member) object using delegate pattern from A to B class, smth like (pseudocode)
delegate.didChangeSmth(QBrush(a, b, c));
Should this "brush" parameter be wrapped with std::shared_ptr?
914
This is an English-only group right?
klimi
914
go check group rule
heaoven
But i don’t speak English.
M O H I T
heaoven
Ziky
I think in QT you can pass any (qt) object by value. Potential big data will be shared until you alter them
Aadi♠️
I m not advertising☹️
klimi
I m not advertising☹️
you are advertising a job when you will pay someone for program. that is advertising, is it not?
Aadi♠️
My 10k$ are stuck in my wallet and i am unable to find my private key☹️
Dima
sus