MFM
Ok
I_Interface
/warn Read the rules: no screen photo.
Anonymous
WARNING DONT SPAM
Pavel
Use pastebin to share your code
Pavel
Or something like ideone (BTW, I was surprised but pastebin doesn't work in Turkey)
olli
You can also use godbolt.org to share code, it evens shows you compile errors and supports several libraries.
Sher
Francisco
Normally it's not like that. If you don't know what you're looking for, be prepared to find nothing
Dima
#googleit
n1coc4cola
@iamanuragbansal, Anurag... from Octoroit????
amninder
Hello anyone 👋
amninder
I want to learn data structures and algorithm can anyone guide me ?
klimi
Hi
amninder
Hi
amninder
Mit ocw
Okay thanks 😊
Samuel
hi guys, has anyone ever done neural networks with c++? what basics do I need?
Ilya
hi guys, has anyone ever done neural networks with c++? what basics do I need?
the basics are good knowledge of C++ and neural networks.
Samuel
...well yeah but everyti,me I want to start I feel like the whole AI field is very new to me. by basics I meant, the basics I need for Ai
Dima
especially in cxx
Anonymous
hi guys, has anyone ever done neural networks with c++? what basics do I need?
You need to learn C++, statistics, machine learning, neural networks, etc.. Use Coursera courses
Francisco
hi guys, has anyone ever done neural networks with c++? what basics do I need?
In my experience, just use Python with keras or scikit-learn. It's much less of a headache
Francisco
Programming your own neural network is such a pain that nobody should go through (unless you really want to do it, and just for fun)
Francisco
But you need quite some knowledge (numerical analysis, statistics, machine learning, parallelism in GPUs, solid language knowledge, etc...)
Samuel
thank you guys. really appreciate the help
Anonymous
Can someone share a good c++ pdf for beginners
Anonymous
Sry
Anonymous
programming is gonna be my way out of hell
01000001011011010100000101101110
😂
Anonymous
int ArrayMemberTotal; top : ; StringorInt choice = Choose(); while(choice == 'S' || choice == 'I' ){ goto Here; } while(choice != 'S' || choice != 'I' ){ not_An_Option(); goto top; } Here : ;
Anonymous
can i do something like this , choice is an enumeration with the alias StringorInt, that the choose function returns , and stores to choice
Anonymous
goto...
yea i know lol
Francisco
Don't use it, why would you? There surely is a better way to do it
Anonymous
goto...
my goal is to take a user input, if the user chooses something that is not an option, they say that is not an option and then ask the same question again
Anonymous
Don't use it, why would you? There surely is a better way to do it
can you give me an idea of a better way to achieve this
Francisco
I really don't know what you want to do, so no idea
Anonymous
I really don't know what you want to do, so no idea
StringorInt Initial_Questions(void){ clearScreen(); char SorI; puts("Do you want to create a String or an Integer Array?\n"); puts("Type I for an Integer Array or S for string Array\n"); scanf(" %c", &SorI); switch(SorI){ case 'S': return aSTRING; break; case 'I': return INTEGAR; break; } }
Anonymous
lets say i have a function like this that returns an enumeration , what would be the return value for the default case in the switch
Francisco
Still no idea
Anonymous
Still no idea
its a function that ask user if they want to make a string or integar array, Press I for int and S for string
Anonymous
that character is stored in the SorI variable, which is passed in a switch
Anonymous
Still no idea
pass out of the two values in this enum typedef enum{aSTRING,INTEGAR}StringorInt;
Anonymous
my question is just about the default case in the switch statement
Francisco
do{ scanf("%c", &SorI); switch(SorI){ case 'S': return aSTRING; case 'I': return INTEGAR; } while(true);
Рома
gays plz HELP me
Рома
I want to sort struct by the alphabet, but I made a mistake somewhere and I don`t know where
Рома
Рома
This is a file frome where I read a data
Francisco
Please, use pastebin, compiler explorer or something else, that's too much code for a snippet
Anonymous
my G, pastebin
Anonymous
you just populated half my screen lol
Рома
ohhh, ok sorry i`ll use it
Anonymous
ohhh, ok sorry i`ll use it
maybe delete it from the chat 🙂
klimi
What's wrong?
Anonymous
and repost with pastebin link
klimi
.txt is fine
Anonymous
What's wrong?
nothing wrong , he just needs pastebin , i wouldnt suggest anyone to download anything from telegram ....
Рома
Ilya
ohhh, ok sorry i`ll use it
if(strcmp((p->next),(pp->next))<0) this statement is senseless
klimi
With raw data
klimi
Is that bad?
Anonymous
do ... while
what about recursion ?
Anonymous
not here
can you give me an example syntax wise
Ilya
can you give me an example syntax wise
https://en.cppreference.com/w/cpp/language/do
Рома
if(strcmp((p->next),(pp->next))<0) this statement is senseless
I want to sort the structures by name in the opposite order of the alphabetical order
Anonymous
I want to sort the structures by name in the opposite order of the alphabetical order
int alphabetical_Order(const void *a, const void *b){ char ** first_String = (char **)a; char ** Second_String = (char **)b; return strcmp(*first_String,*Second_String); } int alphabetical_Order_descending(const void *a, const void *b){ return alphabetical_Order(b,a); }
Ilya
I want to sort the structures by name in the opposite order of the alphabetical order
1) sorting a linked list is a strange thing. Should not do 2) Your comparison is senseless
Anonymous
these would be a comparator functions you can use @roman_alberda_son