MᏫᎻᎯᎷᎷᎬᎠ
Ziky
Shouldn't you assingn https://en.cppreference.com/w/cpp/io/basic_iostream to cin and cout?
nami
I think cin and cout are very different than stdin,stdout
Ziky
It looks cin an cout uses basic_stream to access stdin/out so this may be way to redirect cout to cin on apo level. But have no idea what is it good for
MᏫᎻᎯᎷᎷᎬᎠ
Rose
Purge complete.
R_morarce
Hello friends, has someone made a game in c++, more specifically poker?
Pavel
R_morarce
How to generate the board with colored chips.
Pavel
How to generate the board with colored chips.
I hope you understand that it is very difficult to answer such questions without knowing the full context of a problem.
(also people usually can't read the minds of other people)
For example, what do you mean by "generate" in your context? What format should they be in?
Danya🔥
R_morarce
How to generate the board interface with chips for Omaha poker.
R_morarce
I've never made a game in c++, and I don't know what it would be like.
Dima
Hehe assignment
Paulo
Paulo
Unreal engine use latest version of c++ it was c++ 20 at the last time I checked
Sarmat
Sarmat
Paulo
Yeah, but I'm talking about your library, some time I had problem with c++ version and macro expansion
Paulo
Do you had tried this?
PublicDefinitions.Add("INTERNAL_EXPERIMENTAL=1");
Sarmat
Aminos
it's to control an esp32, you use this code I suppose to control a camera and stream the result on a site, and at the same time on a TFT display
Chat Boss
Mritunjoy Roy sent a code, it has been re-uploaded as a file
𝕹𝖔𝖙𝖊 【注記】
guys anyone have the book named "Cracking the Coding Interview: 150 Programming Interview Questions and Solutions"
Rose
GJoe
There is some guy code, I have a problem with his cmakelists.txt, he uses in 292:
find_package (Python COMPONENTS Interpreter Development)
This code is supposed to work in ubuntu 22.04 which works with python 3.10, but there is an issue with -fpic in that version and the author workaround it using python 3.11 in github actions, there is no instrucction how to do it in a regular distro neither for windows.
So my question is: How to specify a python version in cmake? My distro works in python 3.10, and another in conda in python 3.11, I want it in python 3.11.
I already tried with no results:
-Python_ROOT_DIR="path"
-dpython_library="blablabla"
GJoe
This what he exactly said about the workaround in github actions
Rose
Purge complete.
John
auto format removed some of the "spaces" in my code, thus caused some kind of "undefined symbol" errors to the macro definitions
John
use editor with caution...
Manav
Manav
You can find list of all variables cmake's findPYTHON sets here:
https://cmake.org/cmake/help/latest/module/FindPython.html#result-variables
Manav
levi
i want print new msg when the user press enter key
levi
Ziky
levi
Rose
User . has 1/2 warnings; be careful!
Reason:
spam
💙
İmran
Hello, I will do Android programming with Xiaomi Redmi Note 9 Pro phone with Qt. Android 12 which emulator should I install. Thank you.
Rose
User Project has 1/2 warnings; be careful!
Reason:
homework spam
mohith
Course for c beginner
mohith
C course
Danya🔥
C course
This is a chat, not a search engine
Jose
mohith
Oma
Hey hey
John
John
1. #define P(args) ((args))
2. void ListNew P((List*)); //function declaration
3. void
ListNew (List* l){
// function implementation
}
after auto fomatting, the "function implementation" part became
4. void ListNew(List*){
// function implementation
}
the space between "ListNew" and "(List*)" was removed, and the compiler gave the error "expected ';' after top level declarator"
my guess is that the compiler is considering "ListNew" as a variable name instead of a function name
after I changed the function declaration to "void ListNew(List*)", the problem never happened
John
John
and one more thing, this is only a part of a open source project, if i compile this part independently, everything would be fine. If I run the entire makefile, the "expected ';' after top level declarator" will show up
Anna
:)
Michał
Hey ;)
\Device\NUL
pinned message
Ali
Hello
Ali
Is there a C extension
harmony5 🇺🇳 ⌤
Saul
Ali
Manav
?
What extension are you talking about?
Manav
I hope you don't answer me with "i am talking about C extension" 🙃
Ali
Manav
C is it similar with C++
Bruh what are you talking about?
c source file extension?
a C extension (plugin) for an editor?
anything else?
klimi
Ali
Ali
klimi
Ali
Ali
klimi
Its simple than C, that's why I like it
you mean that python is simpler than C? If you are talking about the C syntax, that is much simpler than python imho. It really depends on what you want to do, so you should choose for yourself what you want to do.
Ratul
Oo ok
Ratul
Fine
Ratul
Yes