\Device\NUL
The
b-but you said previoulsy namespaces on windows
Yes cpp namespaces.. on windows.. because getting a conflict compiler error on visual studio 14 compiler.. when namespace is differentiated by case sensitivity
Same code compiled on linux gcc
\Device\NUL
\Device\NUL
C1001 msc1.cpp
This one? https://learn.microsoft.com/en-us/cpp/error-messages/compiler-errors-1/fatal-error-c1001?view=msvc-170
Josam Marenye
Hello guys. Anyone know how to code the game Lost in the Everglades, or have the code, please send it to me. I will really appreciate it. Thanks
\Device\NUL
Lio
I have learnt most of the Data structure. But I still find it much difficult to solve a problem.Please anyone suggest me how can I improve my logic building and problem solving skills?
mito
Danya🔥
Peppe
Someone know how I can find a string in File .txt in c++?
itsmanjeet
Hey all, can I list static symbols of a shared libraries?
nm -D somelib.so with list out all the dynamic symbols or public/ non-static methods in case of C/C++
and As per my knowledge static methods are not visible outside the object file, but I need to know if some specific static method is available in a library. Thing is a list of static methods are shared via public Array
Ziky
itsmanjeet
yes, and I am stuck in a weird 😅 issue that I need to list the content and verify if some specific function is defined or not
M O H I T
Do you guys have any source from where i can download the source code of prebuild project?
Your senpai : )
Hey any senior developer here from India i need some advice please help me
Chat Boss
Leovan sent a huge message, it has been re-uploaded as a file
guys, why MyInt is abstract?
class INumber
{
public:
virtual INumber & operator*(const INum..
Leovan
محمود
Hello there..
What are steps to get a new compiler?
I want to update my compiler to c++20.
Thanks in advance.
محمود
aaw
Is there anyone who can be my mentor? I pay in cryptocurrency and I'm a newbie.
BLESSED
محمود
BLESSED
محمود
visual studio 2022
Hmm.. Thought there would be a solution that doesn't involve moving to another IDE..
Thanks for your response anyway.
Anonymous
I thought if I update code::blocks (my IDE) to latest version (20.03) the compiler would automatically be installed; but that didn't work and now I'm facing a new problem:
Depends on the compiler and your OS.
Most people don't understand that IDEs don't always come integrated with a compiler. Some IDEs like CLion and Visual Studio come packaged with the entire build system. Others like Code Blocks, Anjuta, Eclipse and so on don't.
An update to an IDE saying it is C++20 compatible means that the IDE can support C++20 development provided a C++20 compiler is available. A C++20 update to an IDE could mean a lot of things. Primarily it involves a language rules server which helps the IDE recognise C++20 code snippets and helps with things like recognising new keywords if any, choosing standards upto C++20 for your project and so on. So when you update Code Blocks to the latest version, this is what you are getting.
Separately you must also update your compiler if it is not packaged with your IDE. How you do this depends on your environment. Read the docs corresponding to your compiler and OS to find out how to do so.
Sa
Hey i need Help . I was doing a question on interview bit https://www.interviewbit.com/problems/repeat-and-missing-number-array/ . I tried using Floyd's cycle detection. But It didn't work . Any idea if it can be solved by cycle detection and if not why it can't.
محمود
Danya🔥
Chat Boss
E30E SHOVKAT E.C.Engineering sent a code, it has been re-uploaded as a file
Nana Bha
please i have a project to submit. It's in c. It's about any story game with no GUI
Nana Bha
klimi
Danya🔥
Everything
Danya🔥
Both Code Blocks and Sublime are outdated piece of s..oftware that should not be used today
Anonymous
It was last updated in 2020. The engineering team behind it has disintegrated and new updates are no longer being made. So it is not a good choice to continue using it
Danya🔥
VS Code, nvim, Clion, Qt Creator, Visual Studio - ok
Danya🔥
Danya🔥
This is actually a childish behavior
Anonymous
Lol. I havent used it. I prefer VS Code for all my development. I switched to it from vim an havent gone back to vim. Initially I used vim key bindings but soon learnt VS Code's navigational shortcuts and prefer VS Code now.
Danya🔥
So you still use GCC3?
DaviChan
tgm$12
Hi everyone, I am looking for a good source to study C++ but only free from zero.
Tnx
Yogin
i want to learn c++
Yogin
how i can
Abod
I want some ideas projects in c++ including multithreading
Anonymous
Shina
Hi everyone pls I’m looking for ideas on c++ projects
DaviChan
Hi everyone pls I’m looking for ideas on c++ projects
there are plenty. /g/ did publish a list of practise projects a while ago. Im sure you can find it online. Otherwise games/game engines are always fun and can be as simple or as complex as you would like. How about a discord bot? There really are unlimited possibilities
Abdelrhman
😡😡😡😡😡
Andrey
Hello everyone! Speaking of the connection between IDEs and compilers (as Madhu today), I'll share my problem too. I've recently updated gcc to the version 9 and then found out that QtCreator doesn't autocomplete properly anymore. I won't go into details now, but I think it relates to the upgrading gcc. Maybe anybody knows how to fix QtCreator's autocomplete? It is really annoying thing when autocomplete stops working.
Danya🔥
Тема
Hy, I learn C. But I horrified by Ai.
How you think, should I learn programming for finding job or better don't spend time for it.
(I like write code))) .
Andrey
I have pretty old OS and environment with QtCreator 4.0, and I see no options to affect the problem directly from the IDE for now. I also don't know how to determine what the language server is used and what to do with it if I knew. But thank you, Danya, anyway. Your comment is useful.
Ziky
Danya🔥
Luca
Hi everyone.
I have a question about string_view.
Why it is better to pass it by value and not by reference?
Anonymous
klimi
Hey guys! Does anybody have experience developing for the RISC-V? I’m awaiting for this minibeast to arrive soon which has a 2.5TOPS matrix processor onboard. Good thing is Ubuntu and Fedora have RISC-V builds, gcc and clang are able to compile for this arch, and the nncase compiler supports popular DL ops, so im not starting from scratch. The goal is to implement real-time processing audio and video onboard. I’m looking for someone to share their experience and passion. Hit me in pm if you like. Have a nice day everyone😎🌞
Ya deway
Hi, I can't figure out how to send a well-formed network packet in C.
My package consists of layer eth(14 byte) --> ip --> tcp --> http payload.
Now I don't understand why to send this network packet I can't send it directly but rather first I have to open a connection socket (tcp) by manually entering the destination address...
Isn't there a way to send the package already as is? I need to verify that the checksum calculations are correct and with the sendto() function I can't as the ip and tcp packet is crafted by the function. I tried libpcap's pcap_sendpacket() function but even with error code 0 the packet is not sent (It is not a problem of my package as I have also tried with packages obtained with wireshark so 100% well formed). Thanks for any help
Ludovic 'Archivist'
Ya deway
I already done it manually, i just want inject my packet inside the network stack, like using pcap_sendpacket(handle, packet, packet_size), as u can see here i dont need open a socket, because i already have a open connection i just replace the packet recived with another
Ludovic 'Archivist'
Ludovic 'Archivist'
If you are OK with network card specific code, DPDK would work
Ya deway
Ok thanks! i will read more about it
Leovan
Hi, why we need to use typedef for value_types:
template<class T>
class Container { typedef T value_type; };
And can't just use smth like this: typename Container::T?
Ludovic 'Archivist'
Ludovic 'Archivist'
Also, that would be Container<T>::T
Ludovic 'Archivist'
Still doesn't work tho
Leovan