lock
Ohhh yess i forgot it 🤦‍♂🤦‍♂🤦‍♂
lock
Thanks!
Anonymous
Converting an integer to float by : float f=1.0 int x=(int)f However first casting a float pointer to an integer pointer result in different output int x =* (int *) &f Please explain it..
Anonymous
Because integers and floats are stored vastly differently
Anonymous
converting a pointer type to another pointer type doesn't change the referenced variable.
dot
i am getting the array witout knowing its size it consists of alpha numeric and special charaxters i want the count of only the elements count but not the space or new line characters code for this problem pls
dot
sir this is small module of my big work i want to understand the concept through your example code so i didnt ask solution for my home work
dot
if you can pls help
Mihail
not write my program
Yashpal
😭
Mihail
I asked but got warned😭😭
"Help me" isn't a question
Mihail
also pictures of screens aren't allowed
Mihail
and we don't help with Turbo IDE
Mihail
you're breaking like 3 rules right there
Mihail
read them before you get your second warning
Yashpal
Then how can I ask
Victor D.
#howtoask
Mihail
Then how can I ask
1. Use a normal IDE 2. Post a screenshot or pastebin 3. Ask a question
dot
so what? i told you. ask a question and we'll help
i want to the coun of the contents of the array without including the space and new line character while the user enters its contents during program exectution
Mihail
Suggest me IDE
anything but Turbo IDE
Mihail
Code Blocks is good for beginners
Anonymous
I'd say go for gcc and use a text editor of your choice.
Mihail
i want to the coun of the contents of the array without including the space and new line character while the user enters its contents during program exectution
so when you get the array start iterating over it and increment a counter if the character isn't ' ' or '\n'.
Yashpal
Can I capture screen with mobile camera and can I post that pic
Anonymous
Nope, use pastebin.
Yashpal
Ok
MᏫᎻᎯᎷᎷᎬᎠ
#howtoask
😂😂😂😂😂
dot
so when you get the array start iterating over it and increment a counter if the character isn't ' ' or '\n'.
but i cnt do that i am suppose to use " while(scanf());" to perform this thats why i am stuck
Anonymous
scanf has nothing to do with arrays?
dot
so ihave to do it
Yashpal
Can you remove my warn... Because I don't no how to ask a question Sorry
Anonymous
That's why the rules are pinned, so everyone can reach them easily.
Yashpal
Sorry for that
Yashpal
Can I post a link of pastebin
Yashpal
https://paste.ubuntu.com/p/DvWDMtphtD/
Yashpal
Is anybody here to help
Bibin
https://paste.ubuntu.com/p/DvWDMtphtD/
D = (A<=5000) ? A*10/100 : A*20/100;
lock
hi, I was pratising with menus and I did this program: https://pastebin.com/Bj6w9E48 But at the time of using firstly the while loop isn't working so after finishing the content of a menu the program closes, then when I select an option the fgets doesn't wait for me to put any content, I mean automaticaly closes before waiting for any value to enter.
Yashpal
When I am using #include <conio.h> then GCC complier is not compiling and giving a message "fatal error"
Vladimir
What is that green grainy circle on the group pic?
lock
Can anyone check why isn't this program working? https://pastebin.com/SJB1zuUg
Anonymous
Turbo, [7/11/19 7:53 PM] I have a makefile which when compile produces this error A subdirectory or folder already exists. Error occurred while processing :obj Make file recipe for target 'prepare' failed Please help me to solve this problem What must I do to correct this?
Anonymous
Ok sir
Diva
Hey everyone this is Diva & i wanna learn from the basic programming languages anybody here to teach me
Vladimir
seg fault
I know it doesn't work, I completely don't get what the hell is going on there. "A"? "B"? i2+2?
Diva
Nor guide
Anonymous
Diva
What is it!
Anonymous
Please I have posted the makr file
Anonymous
The one u was getting errors from
Anonymous
The one I was getting errors from
Anonymous
U said I should show code
Anonymous
So this is it sir
Diva
I can't get it anything what do you talking about
Anonymous
Turbo, [7/11/19 7:53 PM] I have a makefile which when compile produces this error A subdirectory or folder already exists. Error occurred while processing :obj Make file recipe for target 'prepare' failed Please help me to solve this problem What must I do to correct this?
Anonymous
That's why
Oleksandr
and add rm -rf out into clean: rule
Anonymous
Thank you
Vladimir
You can force mkdir to not produce errors by -p flag.
Anonymous
Ok sir
Anonymous
Vladimir
Yeah, I just checked, indeed. It's strange why you got this error then