User Profile
Collapse
-
thanks a lot much for clearing my doubt. but the question you ve put i need an answer to that also.i think it should be no of columns but the data i am using is integers so it might also be no of bytes in the no of columns.i am using this pointer for an array of integers.so please tell me that what assumtion should i make.... -
how does fseek work with the set of arguments specified as below?
hello everybody,
i want to know that if i use the statement fseek(fp,column-3,1); in my program where fp is the file pointer,column-3 is the no of columns specified by the user
-3 and third argument is 1. please explain me where will the file pointer be placed after this statement gets executed.this is urgent if possible please tell me as soon as possible.thanky ou. -
how an array gets stored in a file?
hii all,
i would like to know the way in which an array of numbers is stored in a file.
what is the format in which they are stored.if it is a bmp file then how do the numbers get stored in the file.please give me a clear picture of the format.
thanku. -
redirection of output in c
hello everybody...
how do we redirect the output of a file to another file.actually i have to display 339021 numbers on the screen but it is not showing more than 62218 numbers.i want to store the result in a file so that i can see all the 339021 numbers in that.please tell me how to do that in c.thankyou. -
the array that i have taken is an image.the image i have saved using .TXT format and actually i have to read the image values and classify that and finally i have to store the result in another array.the image i have is 400 by 800.but my program to read the array should be generic so that if i have a bigger image to read, it shouldn't create any problem and accept the user desired value.one more thing that is i declare an array of size[120][120],it...Leave a comment:
-
the array that i have taken is an image.the image i have saved using .TXT format and actually i have to read the image values and classify that and finally i have to store the result in another array.the image i have is 400 by 800.but my program to read the array should be generic so that if i have a bigger image to read, it shouldn't create any problem and accept the user desired value.one more thing that is i declare an array of size[120][120],it...Leave a comment:
-
thankyou sir, but is it not at all possible to simple arrays to achieve that.i dont want to use pointers for this,isn't there any other way of doing it?...Leave a comment:
-
how to declare an array that takes any dimension specified by the user
HI,
i want to declare an array that should accept any size given by the user.how to declare such array?please explain me with the help of a code..it should display on the screen "enter the no of rows" and" enter the no of columns" and it should accept any size specified by the user. -
thanks for your program but
sorry this too didn't work.
your program shows the output :
0000000000
1111111111
2222222222
3333333333
4444444444
5555555555
6666666666
7777777777
8888888888
9999999999
but i want that it should display the numbers that i have saved in a notepad file.
and also i didn't get why you initialised the same array twice with different...Leave a comment:
-
HII.
my text file contains numbers every row having 10 numbers.
as given below
3 3 4 5 6 6 .3
3 3 3 3 6 3..3
2
2 .............
2 3 4 5 6 7 3...Leave a comment:
-
how to store numbers in a file to an array
i am working in c and i have created a file which contains 100 numbers.i want to store these numbers in an array like a[10][10].how to do this.please give the code to do tjis.i have displayed the numbers on the screen but after that i want to store the numbers in an array.please help its urgent.
the code is as follows:
#include<stdio. h>
#include<conio. h>...Leave a comment:
-
how to store numbers in a file to an array
i am working in c and i have created a file which contains 100 numbers.i want to store these numbers in an array like a[10][10].how to do this.please give the code to do tjis.i have displayed the numbers on the screen but after that i want to store the numbers in an array.please help its urgent.Leave a comment:
-
sorry this didn't worked if possible can you give any other solution to this...Leave a comment:
-
filling numbers from a file to an array
hii,
i am working in c and my problem is that i have created a file which contains numbers,i want to store these numbers in an array.,please guide me how to go about it this is the part of code that i have written ,it is showing hundred numbers but all values are same and it shows 277 866 100 times.
while((ch=fgetc (fp)!=NULL)
{
for(i=0;i<10;i+ +)
for(j=0;j<10;j+ +)
{
image[i][j]=ch;...
No activity results to display
Show More
Leave a comment: