Botir
Where?
For example in software programming courses
...
if you explain people to use a 3rd party library for everything, you will have people who will use a 3rd party library / external function for finding the lowest value in an array instead of writing the 3 lines needed for that
...
and this is terribly wrong, because they wont understand how those functions they use on a daily basis work
Dima
And I hate these people
Dima
With their js/pythons whatever
Dima
But teaching assembly for them is hard so one should go to work to a fabric lel
...
This is how programming is represented today
it's horrible, because if everyone does stuff like this, even when they have a lot of experience, they just wouldnt be able to implement simple algorythms to just like "find a substring in a string" or something like that
Ariana
and watch them debug
U
Anybody has proper resources to learn c++ ?.. plz send in this group ...
Roxifλsz 🇱🇹
U
Google.com
Bro I need proper one in Google there are many?
klimi
Bro I need proper one in Google there are many?
yes you said that they are many.... that means that what you seek is there... wait a minute i will find one for you
klimi
Bro I need proper one in Google there are many?
https://www.udemy.com/course/c-and-c-programming/?utm_source=adwords-learn&utm_medium=udemyads&utm_campaign=NEW-AW-PROS-TECH-ROW-DSA-1-EN-EURO_._ci__._sl_ENG_._vi_TECH_._sd_All_._la_EN_._&utm_content=deal4584&utm_term=_._ag_57696320151_._ad_318300707729_._de_c_._dm__._pl__._ti_dsa-796176361085_._li_1029206_._pd__._&gclid=EAIaIQobChMIyLue3dHB5gIVyLHtCh3rnAA6EAAYASAAEgLMPfD_BwE https://www.amazon.co.uk/Starting-Control-Structures-Objects-MyProgrammingLab/dp/0133796337/ref=sr_1_1?tag=guru990c-21&keywords=Starting+Out+with+C+++from+Control+Structures+to+Objects&qid=1562569003&s=gateway&sr=8-1
klimi
Thanks
your welcome
Timon
hey C programmers, how can I store an inputed value as data in C ?
Marián
anyone who uses g++ in mingw here?
Marián
i have some issues linking glfw library, it links correctly but says that functions ale undefined
Marián
i link both headers and lib with -l and -I
Timon
Array ?
i just used char name[20] and used printf for the question and scanf and then printf to show the answer
Timon
so i guess it worked
Artöm
i link both headers and lib with -l and -I
Headers are not linked, you should use -Iheader/dir/path
qwert
bad advice
its depends only on needs or interests, but c++ preferable in most cases
Marián
Headers are not linked, you should use -Iheader/dir/path
can i link them same way as lib? like i can do -Iglfw3
Marián
when -lglfw3dll works
Artöm
Headers are not linkable
Marián
and its in correct mingw path
klimi
Welcome
Timon
Timon
my first day learning C, zero programming knowledge
qwert
👍
Asanali
how can i check if two polynomials are equal?
qwert
how can i check if two polynomials are equal?
a1 == a2 && b1 == b2 && c1 == c2 && ...
Asanali
How are they stored?
they should be stored in a linked list
Artöm
The check answer above
klimi
ah
Anonymous
https://codingninjas.in/events/winter-of-codes?campaign=winterofcodes&source=ca573
Anonymous
Hello guys This is a very good hackathon platform to increase and test your coding skills. Also you can win many interesting prizes with online courses. Only 2 weekends test are left. So register and participate in it. Also share it with your friends this opportunity. Only 2 days to left for weekend so hurry up pls !!
Tobias🐾🚲
anonymous
https://www.nuget.org/ can use for financial machine learning proyect from VS with zorro trader?
Tobias🐾🚲
https://www.nuget.org/ can use for financial machine learning proyect from VS with zorro trader?
"Financial Machine learning"? Aka "Would've been better off with a cat choosing at random"? :P
Tobias🐾🚲
i don t understand!!!
https://www.forbes.com/sites/frederickallen/2013/01/15/cat-beats-professionals-at-stock-picking/
anonymous
nuget can be util for VS programmers for this???
anonymous
😁😁😁
klimi
Learn how to report
rex
#include<stdio.h> int main() { int i = 0; FILE *fp = fopen("output.txt","w"); // Return if could not open file if (fp == NULL) return 0; char string[] = "good bye", received_string[20]; for (i = 0; string[i]!='\0'; i++) // Input string into the file // single character at a time fputc(string[i], fp); fclose(fp); fp = fopen("output.txt","r"); // Reading the string from file fgets(received_string,20,fp); printf("%s", strrev(received_string)); fclose(fp); return 0; }
rex
prog.c:26:9: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'int' [-Wformat=]
rex
why not
I_Interface
https://www.geeksforgeeks.org/strrev-function-in-c/
Anonymous
Strrev returns int not char* that is why it is showing you warning.
I_Interface
Strrev returns int not char* that is why it is showing you warning.
Returns: This function returns the string after reversing the given string.
I_Interface
Ah, i see @atom_t
I_Interface
@atom_t Look at his char array init...
Anonymous
Returns: This function returns the string after reversing the given string.
It reverse the string but not return the reversed string. It reverse the string in place. Meaning the reversed string is in the original variable passed. Just change you code to this. Strrev(recieved_string); Printf("%s", recieved_string); You can check for failure from the strrev return
Anonymous
Returns code of operation ?
I dont know what it returns. But the reversed string is returned by the passed argument not by the returned value.
I_Interface
why not
char string[] = "good bye" for (i = 0; string[i]!='\0'; i++) But u didn't place a 0-term into array...
Anonymous
It is in place operation
I_Interface
It is in place operation
He has a lot of mistakes with arrays.
Anonymous
He has a lot of mistakes with arrays.
Ya I think s/he is beginner
Anonymous
S/he is opening and closing the file just to read and write.😀
Anonymous
What s/he can do is just open it for read and write and when done close.
I_Interface
why not
Learn about arrays. Char arrays and operations with file.
rex
isnot
rex
if i remove the strrev() it works fine