Adarsh
Can anyone help me with the concept of STL in c++?
Earl B
So, I just setup vim to use a few awesome plugins and essentially turned it into a IDE with similar features to intellisense on vs code. Also made it able to open a terminal within vim so i can compile and run the code as well without leaving I am so glad I started learning tmux and vim especially I didn't like that compiling in atom would open a popup that I would have to close with the mouse
Anonymous
hi Do you know the site that contains C programming language training with their solution? I am a beginner and need a lot of practice Thank you very much if you help
Steve
/get
Earl B
hi Do you know the site that contains C programming language training with their solution? I am a beginner and need a lot of practice Thank you very much if you help
SoloLearn has challenges like that as well in the android app, i assume for ios as well but not through the browser. It's called "Code coach" on the community tab
Anonymous
🌸
ب گروه خوبی امدی
Anonymous
Have some one know C#!?
Anonymous
I have problem in coding
Sandeep
Have some one know C#!?
Delete this before they warn ya🤣
Anonymous
The basic is C
Anonymous
I think it's no problem
Igor🇺🇦
Have some one know C#!?
You should try C# group for this. This one is about C/C++
Diego
I think it's no problem
Nope, C# has no relationship with C OR C++
Diego
Microsoft just picked the name because it was pretty, and also to capitalize on C++'s popularity
Diego
Though I have to say its own popularity is well deserved
Diego
Uhhmm Why are you replying to me? lol
Diego
/report Mom this guy's PMing me
Diego
Man I feel like a dick throwing reports left and right
Anonymous
:/
Diego
Ah, is that so? Thanks for telling me, I didn't know
Anonymous
XD
𝓑𝓪𝓱𝓻𝓪𝓶𝓲
Hi I want to get a name from the user (the sum of several characters to be the same string), if the user enters a number between the letters, she should not accept and the user should enter a name again I want to put the above command inside a while loop and exit the loop when the condition is met How do I write the condition part of the if statement? The if statement is for checking the condition
Pavel
Received type undefined
http://catb.org/~esr/faqs/smart-questions.html
Anonymous
𝓑𝓪𝓱𝓻𝓪𝓶𝓲
Diego
Do note though that, while it should work, is by no means optimal And you should only do it if its for an assignment and don't have the time to find a better solution
Diego
Otherwise you could just use a regex
Diego
There's also this to check out: https://www.cplusplus.com/reference/string/string/ I saw a couple of useful functions in there
Mayur Raj
How to start learning programing language
Mayur Raj
Can any one pin in my chat window
Swapnil
Can someone help me with videos of logic to print patterns using c
Pavel
C++
You can either call std::find_if for the string with ::isdigit as predicate. If it finds something then the string contains numbers. Or you can use std::any_of that will do the same but it reads better. bool hasDigits = std::any_of(str.begin(), str.end(), ::isdigit); Don't forget that you need to include algorithm for that
Diego
Wait how does the ::is_digit work? I'm absolutely not a C++ expert but shouldn't something go before the :: ?
Pavel
Wait how does the ::is_digit work? I'm absolutely not a C++ expert but shouldn't something go before the :: ?
:: means global namespace, it ignores any symbols with this name defined in local namespaces, but actually I googled it and it should have been std::isdigit()
Pavel
Fixed, unfixed, std one doesn't work here that easy
Anonymous
Diego
Ooohhhh okay
🍥N00d1e5🍜
Guys, I have a issue about the usage of CMakeLists.txt. I wanna execute the code here: https://github.com/IAIK/Picnic/tree/56998fe30375d783894cffcc8fd8442b69dec916 As you can see, the author provides several options, I would like to know, how could I enable the option WITH_LTO as an example, please? I tried with cmake WITH_LTO .., but the test result is similar when I compile the code without the option. I wonder if I just misunderstood the usage of these options... Thanks in advance.
labyrinth
there are NONBLOCK flags in both socket and accept call, are they practically the same?
Carel
hello, I need help
Carel
I have a problem while coding a function
Carel
void abrirImagen(char* source, TImagen** f,int w, int h){ FILE* fs=fopen(source,"r"); fseek(fs,15,SEEK_SET); //Obtenemos la informacion for (int i = 0; i <h; ++i) { for (int j = 0; j < w; ++j) { fscanf(fs,"%d %d %d",&(f[i][j].r),&(f[i][j].g),&(f[i][j].b)); } } fclose(fs); }
Carel
where TImagen:
Carel
typedef struct RGB{ int r,g,b; }TImagen;
Carel
I can't retrieve info from fscanf
Carel
and also I get SIGSEV
Wow
Hlo
Wow
Everyone How are you
Wow
?
Wow
?
Wow
Where are you from
Carel
from spain
Carel
why?
ASTRO
🔥hi
BIKRAM
https://www.hackerearth.com/practice/basic-programming/input-output/basics-of-input-output/practice-problems/algorithm/vowels-love/
Anonymous
Hi guys. I need to work with IPC with C++. Is there any valuable resource available to learn IPC with C++ quickly? I am new with IPC so googling couldn't help, I am getting confused in 1. IPC for linux 2. IPC for OS 3. Sone other options are also available Thankyou
spartak
Hi guys, what IDE for c++ can you recommend
сумбула
Wow
Hi friends
Pavel
safe pointertypes
That's surely a C++ core feature