Gautam
Anonymous
Ok
Anonymous
Finish:)
MᏫᎻᎯᎷᎷᎬᎠ
Good :)
Anonymous
:)
Anonymous
Ok bos
Droid
any one here knws how to interface usbcomports in agui in c++
MᏫᎻᎯᎷᎷᎬᎠ
Droid
does any one knw how to read and write to a usb com port using c++
Francisco
Th
Th
So normal serial functions should work
Th
Provided, the usb to serial drivers are installed
MᏫᎻᎯᎷᎷᎬᎠ
Francisco
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
Or abis whatever
Francisco
Kind of the same thing 🤷♂
MᏫᎻᎯᎷᎷᎬᎠ
Yeah
Sid Sun
I ❤️ C++
Sid Sun
❤️
Aditya
Hello everyone
Aditya
I have one question
Why gets() function doesn't work in Linux
Anonymous
And please tell me how to use graphics in coding blocks
Anonymous
Not working
Francisco
MᏫᎻᎯᎷᎷᎬᎠ
Raz
Anmol
🍥N00d1e5🍜
Hi
Mat
Me of Mine My:
Hello everyone, I have a question really confuse me.
I use this library:
git clone https://github.com/tiehuis/libhcs.git
Aditya
🍥N00d1e5🍜
Hello everyone,
I have a question really confuse me...
I use this library:
git clone xxxxxxx GitHub xxx libhcs.git
(if you use macOS, please add -lgmp for C_FLAGS & CXX_FLAGS)
For testing the library, I wrote a simple (link at the end).
But it never stop with success...
🍥N00d1e5🍜
www . dropbox . com/s/4jicjahughp9jz3/test.c?dl=0
🍥N00d1e5🍜
gcc ./main.c -lgmp -lhcs ; ./a.out
(if you use linux, you may need:)
export LD_LIBRARY_PATH="/usr/local/lib"
🍥N00d1e5🍜
I really need someone can help me, please.
Thanks in advance.
🍥N00d1e5🍜
The algorithm can find in the pdf on page 9 (11 of PDF):
www . brics . dk/RS/00/45/BRICS-RS-00-45.pdf
🍥N00d1e5🍜
Thanks @Mat :)
🍥N00d1e5🍜
Sorry about the long message.
I really need the help. :(
🍥N00d1e5🍜
Done :D
Zein
Anonymous
/best
Anonymous
/get cbook
Anonymous
/get goodcodingmentality
Anonymous
/get findprojects
Anonymous
/get best-book
Anonymous
/get bingo
Anonymous
/get freeprogrammingbooks
Anonymous
/get freeprogrammingbooks
🍥N00d1e5🍜
我又来了提问了……
gcc 之后获得可执行文件 (a.out),怎么能多核运行它?
现在运行就是单核跑到 100%……
Anonymous
🍥N00d1e5🍜
neither chinease nor japanise
It's Chinese ;) LOL
🍥N00d1e5🍜
Sorry, I choose the wrong chanel
🍥N00d1e5🍜
I wanna ask:
once I have a execution file (a.out), how can I excite it with multi-core please?
🍥N00d1e5🍜
currently, only one core of my CPU runs to 100%
Fonicy
/have
Fonicy
N
Ms
I want help for clear the concept of for loop and array
shubham
shubham:
anyone wants to have a paid data science master program of simplilearn that has 18 modules within it may message me for its credentials.
Artöm
MᏫᎻᎯᎷᎷᎬᎠ
Rust and others C++ killers are a real threat and something needs to be done
I am telling beacuse C++ has time to change and prevent it downfall and i dont like the idea of that happening
A few months ago Rust finally grew my interest about it, until then i never planned to learn it and i always thought the Mozilla move was a bad one. So i keep reading and seeing things which finally make me take the step to buy a book and learn it. The book was a "waste" of money as the free one on their site is pretty good, better than the O'really one i have if you ask me
That´s only the beginning but that message keep going forever, "Come, we care about you and about the product and will take good care of you". I dont like the syntax and few things about the lang but the experience is amazing, i dont know how others feel it but i enjoy using it as the lang is a helper hand instead a fighting one or a nighmare as others, the complier gets your back, tell the error and solutions that may not help but some times do the trick, the test integration is amazing, the doc integration is also fantastic and in the end i can only have good words about it
Rust is not even mature enough but it will become, you can bet about it and when it does i dont know if it will be the C++ killer but what i know is that it will for sure hurt it, from now on it is my first choice if i can choose and i wasn't a beleiver/Rust fan precisely to say nicely. C++ dont have much time so i suggest that for once the comunity stay together and try to prevent loosing the crown
Because i know that many will point that [x] feature that Rust has will be on the C++ [y] release it is not about that, until i learned Rust i didnt need a match keyword or a loop one that are only sintactic sugar for a switch and a while(true), it is the whole experience what needs to be copied because copying every lang feature is impossible. What i refer is about the pain free experience, you import a lib (rust calls crates) and it works, no matter if it is a local path or a GH project, you has the project and it compiles without having to deal with Cmake or others, the compile is a fast one as Rust only do the proper compilation on release, if you doubt it will compile you can do false build (check param to rust compiler) to save time which will only check if it will compile which is a good thing because compilations that fails happens often. The workflow of the tool is very ahead and that is what i refer to
I also know that many will ignore this and laugh about the threat, it is ok but i think i need to tell this because i has used both and the month i has been using Rust i coded happy, the 10 years prior that i used C++ not so much, stress, frustration and others things. C++ is the number one because companys use it, if companys switch to other langs that allows faster workflows with way less bugs like Rust C++ will start loosing it power and by that time anything you do will be for nothing
That's my 2 cents, i hope something is done about and i dont have to see C++ becoming a niche lang like Cobol as it will be a shame, so many hard work wasted because few bad choices (not doing a thing is a choice)
https://redd.it/czd2ph
@r_cpp
MᏫᎻᎯᎷᎷᎬᎠ
What do you think of this thread?!
Ибраги́м
MᏫᎻᎯᎷᎷᎬᎠ
Riccardo
What do you think of this thread?!
I speak for my field of interest.
As long as HPC will need massively parallelized code based on a huge code-base essentially providing numerical libraries, threading optimization and MPI/similar stuff robust implementations, I believe there will be no C/C++ killer.
Riccardo
In some fields, Go could partially supersede C++, but regarding Rust, it seems to me it will remain a niche language for a long time.
Riccardo
Moreover, I have a picture.
As long as Fortran lives, C++ lives. It cannot die before Fortran or simultaneously!
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
Riccardo
Think of huge simulations done by clustered systems and supercomputers.
Riccardo
The kind of stuff most beloved by the monsters in the Top500 list.
MᏫᎻᎯᎷᎷᎬᎠ
MᏫᎻᎯᎷᎷᎬᎠ
I think i get what you mean
Riccardo
I think i get what you mean
Simply, there alre fields where the multi-threaded performance C++ makes available cannot be equalled.
And even when considering servers and backend developing, even Google still uses C beside Go - since not all the good things can be achieved by means of concurrency, and the language of choice becomes the one with the lowest latencies in a multi-threaded landscape.
Riccardo
Obviously, that's my opinion, I am not citing any kind of reference nor pretending to be 100% right.
Francisco
/report