Hizmu(Vlad)
Yooo, std::format is exist on c++17 ?
no. only at 20 because I tried to use it in g++, it doesn't support it yet, only mvsc supports it, so I use boost::format. if I'm not mistaken of course.
Hizmu(Vlad)
https://stackoverflow.com/questions/63724059/does-gcc-support-c20-stdformat
VantaSoft
Hi can someone please convert this few lines of c++ code to c#? https://github.com/mq1n/DLLThreadInjectionDetector/blob/master/DLLInjectionDetector/DLLCheck.cpp
It's just an simple dll injection check using win32 api It's just 34 lines of code I need it as additional security in my c# softwares
VantaSoft
And unfortunately I don't have anything in my wallet to pay someone to do it for me
VantaSoft
I'll be really appreciated if someone could do it for me
Hizmu(Vlad)
Hey! guys! Can somebody help me to solve this problem? https://stackoverflow.com/questions/73502557/how-to-forward-the-micro-args-to-format-func
I have built a project #define FMT_HEADER_ONLY #include <fmt/core.h> #include <fmt/format.h> #define LOG_INFO(str,...) \ NewLogStateMent(FILE, LINE, str, \ ##__VA_ARGS__) template<typename... Args> void NewLogStateMent(const char * filename, const int len, Args &... arg){ std::cout « fmt::format("{}, {}",filename,len,arg...); }
Anil
Which app i can use on my android mobile to execute C
Anil
Hizmu(Vlad)
👍
Anil
cxxdroid or code editor
Which code editor there are many in playstore
Hizmu(Vlad)
Are they free
Yep, in play market
Hizmu(Vlad)
Code Editor - Compiler & IDE
Hizmu(Vlad)
cxxdroid - C/C++ compiler IDE
Gani
i could't set up vs code
Gani
i watched a lot of videos but i could't
²
hey everybody, how i can merge two file side by side? i try something like that https://wandbox .org/permlink/t3piZcmiQLPt0R34, but i get not like i expect firststr:secondstr .... (check out) C lang gcc archlinux
Gani
i don't understand you
klimi
i don't understand you
don't use this group for journal posts, put then at your blog or something. it is considered spam here
fan
It really helpful for me!
Kriss
I want to get into competitive programming, I understand basic maths and algebra and have a basic understanding of c++ up to classes, what else should I learn before going for cp?
adnanhossainme
mov w0, #-1 What will be the value of x0? And why?
adnanhossainme
Oh sorry got it now.lol😅
adnanhossainme
Youtube or any book
²
hey everybody, how i can merge two file side by side? i try something like that https://wandbox .org/permlink/t3piZcmiQLPt0R34, but i get not like i expect firststr:secondstr .... (check out) C lang gcc archlinux
\Device\NUL
mov w0, #-1 What will be the value of x0? And why?
Depends, -1 will be (unsigned)-1 or UINT32_MAX on w0 because it has different bits
\Device\NUL
https://developer.arm.com/documentation/102374/0100/Registers-in-AArch64---general-purpose-registers
\Device\NUL
Idk, I never dive into RISC stuff
Kriss
Okay ,got it , thanks
Hizmu(Vlad)
hey everybody, how i can merge two file side by side? i try something like that https://wandbox .org/permlink/t3piZcmiQLPt0R34, but i get not like i expect firststr:secondstr .... (check out) C lang gcc archlinux
do you want it to be output to a file without line breaks? like this RE1St8v8hBG9qEhGBp9K:6OTyqLRsVArmvU994R69 OLYcLYgFKHaYaPJsngmC:k1jHrqQ1N6Tsbo2IhMAo dg2iaLJAlWPIWhgGV1dn:2MsewqSZhK0Mj5ly1XA7 eMIPJC3btiPkpRf7Xkiy:dYKcpeZkaoLHnuQnfWZq BdsXrhrDXckZ5hIcFdkk:ydyes3zmf1I3vNLuE2BP
HENIL
I need an e-book to practice C. I m a beginner.
Hizmu(Vlad)
yes
add condition if (*t != EOF && *t != '\n')
Hizmu(Vlad)
thx for help
because you read \n and because of the condition *t != EOF you skip it and it turns out that like \n\0
k4leg
because you read \n and because of the condition *t != EOF you skip it and it turns out that like \n\0
But you can't recognize EOF on char. EOF is not character, EOF is situation. That's why functions like getchar() return int, not char. Character code 11111111₂ ((char)-1, or like) is possible and valid.
²
so there is no point in the *t != EOF condition outside of the fgetc loop
from if (*t != EOF && *t != '\n') ++t; to if (*t != '\n') ++t; ?
Hizmu(Vlad)
+
²
+
and the end function should look like that: int readLine(FILE *stream, char *s, int len) { char *t = s; int c; while (t - s < len - 1 && (c = fgetc(stream)) != EOF && c != '\n') { *t=c; t++; } if (c != '\n') ++t; *(t) = '\0'; return t - s; } ?
adnanhossainme
Thanks i needed this
Ludovic 'Archivist'
Hello, I am opening a free workshop on problem solving for programmers aimed at beginners to intermediate developers in terms of skill. The workshop parallel goal is to test a new textbook which will be provided under a non-disclosure agreement. Only residents of the European Union or citizens of a country from the European Union or Switzerland can apply for that reason. The workshop will be held on Saturday September 3rd 2022 from 14:00 CET to 18:00 CET. You can apply via the link below, I will however only approve of up to 5 applicants. Thank you in advance! https://cloud.nekoit.xyz/apps/forms/oceZ27KdNE8CsrJK
Anonymous
Anybody tell me C++ learning resources on YouTube
Carlos 🃟
what C books you recommend for learning about algorithms ?
Anonymous
² Tell me youtuber who's guidence is best on c++
²
² Tell me youtuber who's guidence is best on c++
nobody, all of them use books, read books
Anonymous
nobody, all of them use books, read books
Which book you preferred for C++
Anonymous
Which book you preferred for C++
Check out the channel in the message above
Anonymous
If we learn C++ and DSA than how decided to choice field Like web development App development, Backend,frontend etc.
Ly Sophavin
hello guy
Ly Sophavin
i am new member
Anonymous
India = new Asia;
Darshan
VS code is the best IDE 🔥
Anonymous
Can some coder help
Anonymous
Some coder who can help me solve dsa questions
Anonymous
Its v difficult for me
Anonymous
Yes
Ly Sophavin
guy can help me to use the function display longest word that accept a string then display within the string
Ly Sophavin
C++
Anonymous
Nvim
Maxter
Can anyone help me in one ques?
Maxter
https://practice.geeksforgeeks.org/problems/longest-palindromic-subsequence-1612327878/1