Hi Following is the code
struct a{
string k;
int count;
}
a *create()
{
Type: Posts; User: doubty
Hi Following is the code
struct a{
string k;
int count;
}
a *create()
{
Hi
I have a string say " I am a Novice"
lets say i want to find if "Nov" is there in the program, then what I do is
use strstr function which returns me a pointer to the first occurence of...
Hi I have a particularly creepy problem :( eating my head from quitea few days.
I have a large array of size say 3000, at the end of the program i have certain computations done and stored as...
Please help :(
Hi,
Grouping the subformulas means, joining the sperated subformulas( as in + ve elements and negative elements) back so that the number ofunique elements in the final formula is less or equal to...
My problem is as below:
I have a formula say b= a/b+c*d/d+e*c/d-f*h/g etc (can be any such huge formula)
and i need to rename the subformulas so that the formula size becomes smaller.Also it is...
Hi,
Currently I am working on this problem and am thinking of the best way to solve it... please help me with some tips as to what would be a reasonable way of solving the problem efficiently.
...
Hi All,
I have a particular problem on hand and was thinking what would be a good way to solve the same.
I have a text file with a lot of lines,say
s=abcddddddeeeffffff...
Thnks all.. it is wrking fine now...
Thanks all
int main()
{
FILE *file;
file = fopen("C:/Users/dell/Desktop/File/init.txt","r");
int xcount;
char c[4],brown_spec[2],brown_conc[1];
float *x=NULL;
float ***brown;
int...
Hi,
I Have a text file which has a lot of lines,I want to extract the first 3 lines of the file(Which are integers) and assign them to 3 different int variables, and from the 4th line i need to...
Hi,
Can this be done in C:
I Have a file which has certain number of lines as say
x1=4
x2=4
etc etc, the number of lines are dynamic and not known until i read the file in , So I have a...
Hi, I have a requiremnt which needs me to create a linked list of (array of structs).
and so I created a struct array as:
typedef struct{
char Fa[30];
int flag;
int Time;
Hi,
Can you tell me how to check if a string is null in C?
I tried p != '\0' doent seem to wrk though!
thanks
Hi Adak,
I think i should put my array of strings i.e char[][] into the struct right? also i think it has to bea an array of int?
do you suggest that i switch based on the time point, the...
Hi ,
please tell me if the approach is right.
I create a Structure which has an int array as big as the array of strings, a int keeping an account of the time step, and a pointer.
The...
Hi I have to code up this problem:
I have a set of formulas ( stored in an array of strings) on whom i have to test if they are true at 100 different time points. i.e the array of strings is...
Hi,
i have declared label as a global function hence it is nt shown, also the function parser works fine ( coz the code executes w/o any issues when the file operations are not done) , also the...
int main()
{
char inputexp[500];
FILE *file1;
int filet,filex,filev;
float filep;
float brown[33][99][5];
int count=0,new_count=0,g;
clock_t start;
Hi,
I tried some debugging, it is reading the file perfectly and storing the same into an array , however in the end of the mian function when returning Iam getting the error!!!!
i.e "stack...
I tries this... but no avail.. still getting the same error :(
float brown[32][99][5] ; is how i declared my array
ya the range of [filex] is 0-32
[filet] is 0-99
[filev] is 0-5
@tabstop, sorry typo,...
Hi I have a very very peculiar problem,
I am trying to read a file with data in the following format
1.0000 1 1 4 and storing into a 3d array as below:
file1=...
Hi ,
I know you will kill me for this .. :):):)
I was also checking out if i had strings in any other particular format and i hit upon this one:
i have a very very peculiar requirement :
...