Anonymous
https://en.cppreference.com/w/cpp/io/ios_base/iostate#See_also check the table here
Lameck
Hello guys,how many types of standard library functions do we have
Priyank
i want c++ full beginner course pls....😅😅
Anonymous
Can anyone help me find a telegram group for Java?
Vlad
@en_it_chats
Anonymous
Thanks
Anonymous
Hi
Anonymous
Can anyone hack telegram channel?
Anonymous
Can anyone hack telegram channel?
you can! Don't give up keep trying.
Dima
Bruhhh
Anonymous
im gonna take a screenshot of this.
Anonymous
What do you mean?
Anonymous
Don't get yourself banned
Anonymous
/warn
Anonymous
I have no idea why I got warned? 🙃
Vlad
Anonymous
I tried to do but I failed.
Dima
I tried to do but I failed.
It’s not related to c++ and one more question will get you banned
𝙑𝙚𝙙𝙖𝙣𝙩
Can someone explain me what is fibonacci series in simple language bookish language is going over my head 😅 and i have to solve some problems related to that so i kinda needed help?
Vlad
Each element of the series is the sum of the previous elements
𝙑𝙚𝙙𝙖𝙣𝙩
Each element of the series is the sum of the previous elements
So if I consider 0 as a first term and 1 as second term then 0+1=1 So 1 will be printed as 3rd term right?
𝙑𝙚𝙙𝙖𝙣𝙩
yeah
Thanks mate 😁👍
Vipin
Anyone c programming run in vs code
Anonymous
#include<stdio.h> #include<string.h> main() { int i=0,j=0,k=0,a,minIndex=0,maxIndex=0,max=0,min=0; char str1[200]={0},substr[200][200]={0},c; printf("Enter a sentence\n"); gets(str1); while(str1[k]!='\0')//for splitting sentence { j=0; while(str1[k]!=' '&&str1[k]!='\0') { substr[i][j]=str1[k]; k++; j++; } substr[i][j]='\0'; i++; if(str1[k]!='\0') { k++; } } int len=i; max=strlen(substr[0]); min=strlen(substr[0]); for(i=0;i<len;i++) { a=strlen(substr[i]); if(a>max) { max=a; maxIndex=i; } if(a<min) { min=a; minIndex=i; } } printf("Largest Word is %s \nSmallest word is %s\n",substr[maxIndex],substr[minIndex]); }
Anonymous
case : Problem Solving through Programming in C.
Anonymous
Anyone c programming run in vs code
Yes , you can program in C in vs code.
Codigo
Oops 😅
Otumian
@K11M1 is max here?
klimi
ya
klimi
@K11M1 is max here?
what do you need?
Otumian
There is another guy claiming to be max. I want to find out for sure
klimi
oh i see i read it wrongly
klimi
my bad
Otumian
A second..
Otumian
Nope..
Otumian
The max i am referring worked on clinl
Otumian
Infact, I only recognize your ID @K11M1 .. thanks anyway
klimi
oh i see, yeah he isn't here anymore i think
Otumian
Okay. Thanks
Anonymous
how to write pointer function
MᏫᎻᎯᎷᎷᎬᎠ
how to write pointer function
This is the most forgetable thing I keep forgetting hahah
Anonymous
Pointers are difficult, isn't it?
Pavel
how to write pointer function
Pointer to a function? C or C++?
Anonymous
Pointer to a function? C or C++?
https://www.geeksforgeeks.org/function-pointer-in-c/
Anonymous
About Function pointer
Pavel
About Function pointer
Doesn't the link you've sent contain the answer to your question or something is still unclear?
armandofsanchez
Int (* compare ) (int Arg1, int arg2) { }
armandofsanchez
Pointer to a function? C or C++?
Ehsan
Not sure if I understand what you mean
I think he means how to use it as a paramater
Anonymous
Now I know about it, But can I write it using another method?
std::function 🤔 you can use it as function parameter
Ehsan
will it’s easy: void method(void *func(parameters))
Ehsan
also you need to use the auto keyword ALOT with function pointers
Anonymous
hmm ok
Pavel
Ehsan
If it's C++
you don’t need to make complex programs with c
Ehsan
you are going to waste your time for nothing
Pavel
Also if it's C++ the syntax of function pointers can be improved by creating aliases with using
Pavel
you are going to waste your time for nothing
I mean I didn't get answer from MSAV about whether he asking about C or C++
Codigo
The link he sent talks about C. So it may be C
Ehsan
@MSAV c or c++?
Diego
also you need to use the auto keyword ALOT with function pointers
Auto is just syntactic sugar, though, right? It's compile time type inference After initialization it's just as good as setting the typename manually Why would one have to use it a lot with function pointers?