Talula
Anonymous
Could you Recommend some Channels or Books?
Anonymous
Anonymous
By the way, How much time it takes to learn C++?
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
Anonymous
Mustapha
You sure about it rose
Mustapha
Anonymous
are there some C++books for beginners?
Anonymous
😳
Anonymous
Shuhash
#Doubt Where and why floor() is used ?
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
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
पेचकस
:(
Anonymous
Any fresher java developer
Ammar
Anonymous
ANY Indian java learning fresher
Ammar
Anonymous
Ok bye
Thomas
Any Indian c++ learning fresher??
Jagadeesh
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);
Антон
Anonymous
Anonymous
Variable celsius should be assgined a value.
Anonymous
Anonymous
float fahrenheit = (celsius * 9/5) + 32;
Ravi
Whts c in v(f) = a(f) + b(f) loop
Anonymous
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
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
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
Fetheddine
Icant send pics here
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!
artemetra 🇺🇦
artemetra 🇺🇦
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