Anonymous
You can readed book about professional C++
Anonymous
have it all about also you need
NXiss7
This C++ it suport for work Class and Object Oriented Programming
Yeah,it started as C with classes but it got much better. And stdlib is much more useful to me, you don't need to reinvent "vectors". And, I think I don't like functional programming much.
Anonymous
I think to
Anonymous
If us working with array , real good when us using vector
Anonymous
are you think?
Anonymous
Hlo guys
Anonymous
Any internship available either in angular or node js Or in javascript ?
klimi
Any internship available either in angular or node js Or in javascript ?
yes but this is not the place... you should have read the rules
Anonymous
Wisenky
Lol what happent ?
Surya
Guys is it possible to use only .h file with functions defined in it...without the use of .c file.??? Because the functions used in header files has function calling function and also the main function calls those functions...so if I am using .c file for functions and .h files for prototyping... I am getting warning in building saying decapricated function. So if I use .h file only and leaving .c file completly.....will it be any problem in future?
Surya
For now using only .h file is giving me compiling and working fine with the embedded hardware
Surya
I am getting error while compiling that warning deprecated declaration -give arg types
Surya
So I decided to put everything in .h file. Now how to use .c and .h files and not get the warning I said above
Surya
In userfunction.c file I wrote a functionA and fucntionB. Now functionB uses functionA and also main uses both the functions A & B from userfunction.c now the warning arises when I declare both functions A&B prototypes in .h file.
Arminio
o.O
Dima
/ban stop
Akash
/ban
Igor🇺🇦
In userfunction.c file I wrote a functionA and fucntionB. Now functionB uses functionA and also main uses both the functions A & B from userfunction.c now the warning arises when I declare both functions A&B prototypes in .h file.
It's hard to tell exactly the problem especially when without the code, but my assumption is that you define methods twice in h and c. Instead of defining in header only
klimi
xD
klimi
hey ceo
Anonymous
hey ceo
Hey Klimi
Nameful
I want to talk to the C. E. O of C. E. O
Jayesh
Join if you are a begginer. Teach us what you know. We will teach you what we know. You can forward messeges but should be Related to coding. Gather your friends and enjoy. https://t.me/begginersunited
Anonymous
I am the C. E. O of C. E.O
MilkBeforeCereal
eu ar gei
Dima
ceo of silly
Igor🇺🇦
Yes. What to do?
Why do you declare methods in .c? Just implement them there
Anonymous
Surya
Why do you declare methods in .c? Just implement them there
I didn't declare... I just wrote a function in .c and same function I used in following function. And used that prototype in .h when I am doing it like this it is showing warning... Like I said above
Surya
I tried the Google search part. Couldn't solve
Igor🇺🇦
I didn't declare... I just wrote a function in .c and same function I used in following function. And used that prototype in .h when I am doing it like this it is showing warning... Like I said above
That's the way you're supposed to use header and c files. Without seeing code it's hard to tell what the problem is. Compiler should have the same deprecation warning regardless of where you use your method in header or C.
Surya
@JRandomGuy https://github.com/srisurya97/LCD-16-2-Menu-Interfacing-with-STM32F103C8T6.git In the LCDfunctions.h ... For the functions like lcdclear lcdbegi
Surya
For now I used .h for that lcdfunctions... If i use .c and put prototypes in .h
Surya
And compile...it says warning and I am getting error while compiling that warning deprecated declaration -give arg types
Surya
So I am not using .c instead I just used .h for everything
klimi
ceo of silly
did you ban?
Marshall
Hello everyone
Anonymous
So I am not using .c instead I just used .h for everything
if you have a single .c file, why are you using .h files?!
NXiss7
are you think?
I already use arrays when needed but you don't need fixed sized arrays oftentimes.
Surya
The problem happens when you implement them in C not in the current implementation, no?
Not in current implementation...only when implementation in .c
Anonymous
Dima
Silly
klimi
Hello
klimi
this is not the best place you should ask this questions
N
Hello everyone
klimi
hey
kaptan
can sb help me with writing explanations to the c code , for example: int a; //define a variable for ... c=a+b; //...
kaptan
i dont know how to explain a code in a right way how can i learn this
Anonymous
You have to write code that will be easy to read without comments
Dima
you have to write a code with a documentation
kaptan
but i have to write comments for my homeworks so i need to learn it
Anonymous
You have to write code that will be easy to read without comments
Self-explanatory names of variables, functions, classes, etc
Anonymous
Anonymous
that won’t help much
"define variable for ..." is garbage
Dima
yes the obvious ones are crap
Anonymous
yes the obvious ones are crap
He wants to learn how to write obvious comments
Mario Pablo
Hola! Busco un equipo de programadores para la creación de un software como este https://www.berrly.com/es/ Gestión completa para entidades sociales. Si alguien tiene algo similar y se puede adaptar póngase en contacto conmigo por privado
litepresence
but i have to write comments for my homeworks so i need to learn it
https://www.freecodecamp.org/news/code-comments-the-good-the-bad-and-the-ugly-be9cc65fbf83/
Bello
*Sorry guys can anyone help me with the code to solve equations simultaneously*
Bello
To get x1, x2, x3
Bello
A c++ code please 😫🙏🙏💓
MengShu
@K11M1
Surya
Dont use prototypes, use declarations
I will once check with that
litepresence
A c++ code please 😫🙏🙏💓
#include <pthread.h> pthread_create (thread, attr, start_routine, arg)