Anonymous
I want to scan 500 numbers and after scanning all of them i want the numbers between 30-40 printed on a single line
Ilya
I told you i tried
Write a simple program which prints a number. Write another program with a loop. Combine the two together, putting there print inside the loop
Anonymous
I know how
Anonymous
Thats easy
Ilya
I know how
Fine, send it here
Anonymous
Okay Int y,x; For(x=1;x<=500;x++) Scanf(“%d”,&y);
Ilya
I know how
As a condition inside the loop to print "wow" only if the numbers is between 30 and 40 or whatever you had in the condition
Anonymous
Okay thats my point i dont want to print them directly when it recognises that is between them
Anonymous
I want to print after scanning all of the 500 numbers
Anonymous
Did you get it?
Ilya
I want to print after scanning all of the 500 numbers
This is what your program also doesn't do, it doesn't input 500 numbers it inputs one number 500 times
Ilya
Okay Int y,x; For(x=1;x<=500;x++) Scanf(“%d”,&y);
Re write it to input 500 different numbers
Anonymous
It will right 500 different numbers
Anonymous
X is the loop
Anonymous
Y is scanned
Ilya
Y is scanned
This is one same number, not 500 numbers, that gets input 500 times
Anonymous
What should I do then?
Anonymous
Please help me with pleasure
Ilya
Y is scanned
Ok write a program that declares 500 variables of type int and prints them all.
Shanks
After scanning 500 no.s Just apply if else & For 30-40
Anonymous
You mean adding another loops?
Anonymous
Could you please type me the program
Anonymous
Just to understand
infi ptr
yeah its surely a memory issue, how to solve it using dynamic memory allocation ?
SR
Hi guys
Anmol
I am stuck
Send the code you wrote first🤷‍♂
Anonymous
anyone awake that can help with something
Dima
no
Anonymous
no
😐
klimi
😐
If you have accept my cookies
Francisco
anyone awake that can help with something
Probably, you're in a worldwide group
Anonymous
https://pastebin.com/RpR8iqvt
Anonymous
Probably, you're in a worldwide group
for some reason , the output files work , but the name output creates a newline before output the rest of the data
Anonymous
Daniel Baker,Male,New York,32 Felicia Marks,Female,New Jersey,27 Tom Huggins,Male,California, 30 Jimmy Smith,Male, New Delhi, 25 Samantha Thomas,Female,Spain,19 Tamara Holdens,Female,Orange County,42
Anonymous
this is the somedata.csv file that is used for the read data stream created
Anonymous
If you have accept my cookies
only if its chocolate chip
klimi
Bye
Anonymous
What’s going on with the chat man
Anonymous
Seem like nobody help each other out no more
MilkBeforeCereal
If you have accept my cookies
are they still available :c
SenpaiSec
please help me, where is the fault?
Artöm
Show error message
Artöm
Looks like header was not found
Pavel
please help me, where is the fault?
It's impossible to say without error message. It can be a missing header or some error in that header (or some error in a header included in that header)
Ilya
https://pastebin.com/RpR8iqvt
Why copying fprintf statement? You could have had another FILE* variable to re assign the file where each output row should go
Ilya
Anonymous
Only covered simple examples
Ilya
please help me, where is the fault?
This should help you https://www.lolaakinmade.com/phototips/photo-tip-change-how-you-shoot-horizontal-vs-vertical-images/
Ilya
Only covered simple examples
When you see several similar lines of code this should ring the bell.
Anonymous
Chetan
Riccardo
Is it visual studio?
It rather seems to be Code::Blocks!
Anonymous
Thank you Rose
MilkBeforeCereal
:C
Gimmy
Hello everybody
Gimmy
Is this grp is active?
Talula
Yes
_uchiha
Can anybody tell me ..how can i start building im c++.
Avinash Soni
You want to build game ?
_uchiha
*Building projects in c++
Avinash Soni
What is sdl ?
Anonymous
Yes
Read the books
_uchiha
_uchiha
Using sdl
What's sdl?
YK Y
i've understood the algo for N queen problem