Anonymous
Could you Recommend some Channels or Books?
Talula
Could you Recommend some Channels or Books?
https://www.youtube.com/watch?v=vLnPwxZdW4Y&t=4s
Anonymous
By the way, How much time it takes to learn C++?
Talula
By the way, How much time it takes to learn C++?
I have been programming for 21 years and still learning.
Anonymous
I have been programming for 21 years and still learning.
Ahaaan I wasn't asking the basic type thing to just get started
Pavel
By the way, How much time it takes to learn C++?
It depends on what you mean by "learn", it depends what background you have, it depends how much time and effort you will dedicate to it E.g. if you want to know the language to get a junior position, was using some other programming languages before and will spend a couple of hours every day to learn the language and practice then I would say from 6 months to 1.5 years you can reach this target. https://i.redd.it/1fl5yi6bbpzz.png
Bogdan🇺🇦🍰
Reccommend plz a book for novice about c
Mustapha
You sure about it rose
Anonymous
are there some C++books for beginners?
Talula
are there some C++books for beginners?
Most of the C++ books are for beginners.
Anonymous
😳
Shuhash
#Doubt Where and why floor() is used ?
Dr
#Doubt Where and why floor() is used ?
It is function that most people use in optimisation or while solving relations/functions based problems
Dr
It returns a value rounded to the lowest or greatest integer based on which function you’ve called - ceil or floor
Anonymous
Why we can't reassign static variable Globally?
Dr
Why we can't reassign static variable Globally?
Static variable in most cases or generally is a constant
Dr
A static variable’s function is to ensure that it can’t be used outside of its scope
Anonymous
static int num ; num = 10 ; <-- why i can't do this ?? int main () { return 0;} static int num ; int main () { num =10; <-- why it is fine?? return 0;}
Anunay
Dude, just stop
Anunay
Can't you read this?
पेचकस
:(
Anonymous
Any fresher java developer
Anonymous
ANY Indian java learning fresher
Ammar
ANY Indian java learning fresher
Can you read the group desc?
Anonymous
Ok bye
Thomas
Any Indian c++ learning fresher??
Ravi
yes...Others element will be considered zero..
Anonymous
#include <stdio.h> int main(){ int celsius; float fahrenheit = (celsius * 9/5) + 32; printf("Please enter the value in celsius\n"); scanf("%d", celsius); printf("The fahrenheit value is %f",fahrenheit); return 0; }
Anonymous
I'm not getting any result for this
Anonymous
What's incorrect in this code.
Anonymous
scanf("%d", &celsius);
Антон
What's incorrect in this code.
You perform calculations before getting input
Антон
Anonymous
You perform calculations before getting input
ohh thank you. I just forgot the &
Anonymous
Variable celsius should be assgined a value.
Anonymous
float fahrenheit = (celsius * 9/5) + 32;
Ravi
Whts c in v(f) = a(f) + b(f) loop
Anonymous
(celsius * 9/5.0) + 32
Anonymous
Expression "float fahrenheit = (celsius * 9/5) + 32" replaced by float fahrenheit = (celsius * 9/5.0) + 32
Anonymous
or
Anonymous
float fahrenheit = (celsius * 9.0/5.0) + 32
Anonymous
float fahrenheit = (celsius * 9.0/5.0) + 32
I tried this but when i input any value in celsius, i am getting fahrenheit value 60.7999
Anonymous
double fahrenheit
Anonymous
#include <stdio.h> int main(){ int celsius; float fahrenheit; printf("Please enter the value in celsius\n"); scanf("%d",& celsius); fahrenheit = (celsius * 9.0/5) + 32; printf("The fahrenheit value is %f",fahrenheit); return 0; }
Anonymous
only for reference
Anonymous
only for reference
Thank you so much... This on will worl
Anonymous
sorry,have a mistakes
Amirhossein
hi guys i have a question. char s1[3] = "hi"; s1 = "test"; in the above example i can't do this because s1 is a static array ok? but look below example char s1[3] = "hi"; strcpy(s1,"test"); now no error and now s1 = "test" how is this possible? tnx
Ravi
Nope...c should be maximum of e1 and e2
Ravi
Also, array contains garbage values, first fill them with zeros, using memset (google it) and then start scanf
Mister
Could someone contact me? I need help with this code (it's only a part of it): https://pastebin.com/cFcFh0iW
senasura
Hellow People
senasura
I tried so manythings in google but couldn't find what to do,🥺 I have a string with an hexadecimal. (eg.410b404f) this is from a mdbus reading.
senasura
How could i convert this into Decimal with IEEE754 conversion
꧁༒𝐀𝐡𝐦𝐚𝐝༒꧂
Hello, I need help for Hosting for web designing. I have 3 problems: 1) What is standard about create servers for Hosting? For Example : Ventilation and false floor and false ceiling and Structure 2) What is standard about Programming servers for Hosting? 3)What is standard about two partition such as passive devices and tools active Components and Software In servers for Hosting?
Na
Hey I am trying to turn a led on/off with a button with rpi zero and bcm2835 with c++ I don’t really know how to start can I get some help
Fetheddine
Hey everyone
Fetheddine
Can anyone help me please ihave a question in c language
klimi
Can anyone help me please ihave a question in c language
Ask the question and people will think about it
Fetheddine
Icant send pics here
artemetra 🇺🇦
Icant send pics here
paste your code as text here or on a pasting service
Fetheddine
Ask the question and people will think about it
Hmmm we have uses a fonction that have to show what the variables contained in the tableau
Fetheddine
// Prototype de la fonction d'affichage void affiche(int *tableau, int tailleTableau); int main(int argc, char *argv[]) { int tableau[4] = {10, 15, 3}; // On affiche le contenu du tableau affiche(tableau, 4); return 0; } void affiche(int *tableau, int tailleTableau) { int i; for (i = 0 ; i < tailleTableau ; i++) { printf("%d\n", tableau[i]); } }
Fetheddine
Why in the fonction we used a pointer.
Fetheddine
La fonction n'est pas différente de celles que l'on a étudiées dans le chapitre sur les pointeurs. Elle prend en paramètre un pointeur surint(notre tableau), 
Fetheddine
And how does it pointed to the tableau!
Fetheddine
He said our fonctipns are similar to the other fonctions the weve studied about pointeurs The pointeur in fonction void is pointed to tableau in main fonction
Fetheddine
So myquestion is how the pointeur is pointed to tableau in main fonction