Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
0 Endorsements
~10.4K People Reached
Favorite Tags
Member Avatar for general2012

there are two properties for my bike method.front gear and rear gear.i want another property which will be a new property called gear ratio property which can be obtained by multiplying front and rear gear numbers.the code i have written giving continuous error.how it can be fixed. <html> <head> </head> …

Member Avatar for GliderPilot
0
389
Member Avatar for general2012

i want to creat link using selected text.codes aren't working.how can i fix this? <!doctype html> <html> <head> <meta charset="utf-8"> <title>Untitled Document</title> <style> #its{ border:1px solid black; } </style> </head> <body> <div id="its" contenteditable="true" > <p>It is a long established fact that a reader will be distracted by the readable …

Member Avatar for Troy III
0
157
Member Avatar for general2012

i am trying to learn how to make a text editor.here i creat a paragraph using "para" button.and inside the paragraph there will be a quote.Every time I press 'enter' within this paragraph, a new paragraph is created, rather than a line break tag (<br>). How can I force a …

Member Avatar for Troy III
0
250
Member Avatar for general2012

i am trying to declare two symbols and then write a function with these two variable >> syms x y >> f(x,y)=3*x*y; ??? Error using ==> mupadmex Error in MuPAD command: DOUBLE cannot convert the input expression into a double array. but matlab is not allowing me to so.why this …

0
60
Member Avatar for general2012

#include<conio.h> #include<stdio.h> #include<stdlib.h> #include<math.h> int k,i=0,m=0,flag=0; int coef[10]={0}; float x1=0,x2=0,t=0; float fx1=0,fdx1=0; what is the benefits if the variables are defined outside of the function ,just after #include thanks!!

Member Avatar for general2012
0
128
Member Avatar for general2012
Member Avatar for general2012

for the codes under for loop this error massage is showing 19:37 C:\Users\azr\Desktop\Untitled1.c invalid suffix "xy" on integer constant #include<stdio.h> #include<conio.h> #define func(x,y) 3xy int main() { int x0,y0,n,y1,k1,k2,k3,k4,h; printf("enter the values"); printf("enter x0:"); scanf("enter x0:%d",&x0); printf("enter number of x values:"); scanf("no. of x values:%d",&n); printf("value of hight h"); scanf("value …

Member Avatar for general2012
0
223
Member Avatar for general2012

can any one help me on this .what does this two for loop means 1.for(; x<9; x++) 2. for(;;)

Member Avatar for general2012
0
114
Member Avatar for general2012

i forgot my password.now i have to log in via google plus.can any one tell me how to reset the passowrd,password reset option showing error message.thanks!

Member Avatar for pritaeas
0
59
Member Avatar for general2012

i've written these codes to evaluate a total heat transfer.but there are some problem arrived #include<stdio.h> #include<conio.h> #include<stdlib.h> int main() { int *temp,*thick,*area,*cond,total_temp,n,i; double q,total_other; temp=(int *)malloc(20 * sizeof(int)); thick=(int *)malloc(20 * sizeof(int)); area=(int *)malloc(20 * sizeof(int)); cond=(int *)malloc(20 * sizeof(int)); printf("how many slabs?"); scanf("%d",&n); for(i=0;i<=n;i++){ scanf("%d",&temp[i]); } for(i=0;i<n;i++){ scanf(" …

Member Avatar for general2012
0
236
Member Avatar for general2012

is it possible to allocate memory for multiple pointer using single malloc like this #include<stdio.h> #include<conio.h> #include<stdlib.h> int main() { int *p,*q,*r,*n; p,q,r,n=(int *)malloc(20 * sizeof(int));

Member Avatar for general2012
0
122
Member Avatar for general2012

hi, after a long time been posting in this forum.I am trying to manipulate newtons divide difference formula ,actually like this [see here](http://www.dailyfreecode.com/code/newtons-divided-difference-method-2381.aspx) but in a different manner .but my code is not working.i am getting disgusting values in my table.can any one please check the errors and tell me …

Member Avatar for general2012
-1
198
Member Avatar for general2012

hi, after a long time been posting in this forum.I am trying to manipulate newtons divide difference formula ,actually like this [see it here](http://www.dailyfreecode.com/code/newtons-divided-difference-method-2381.aspx) **but in a different manner** .but my code is not working.i am getting disgusting values in my table.can any one please check the errors and tell …

0
90
Member Avatar for general2012

please help .i have written this programme just to enter data to a linked list.but it isnt working.cant understand where the problem is.how can i make this work and how can i make this programme evev better #include<stdio.h> #include<stdlib.h> #define NULL 0 struct linked{ char data[20]; struct linked *next; //pointer …

Member Avatar for general2012
0
108
Member Avatar for general2012

i have written this code to copy 5 names in a structure #include<conio.h> #define loop_count 5 char copy_name(char *); typedef struct{ int count; char name[3][20]; }student; student *p; //declare structure pointer; int main() { student s; //declare variable of type student ; p=&s; //giving p address of s; p->count=0; //initialize …

Member Avatar for general2012
0
147
Member Avatar for general2012

facing problem to copy string to a structure via function.can input the name but just cant copy it.can anyone help #include<stdio.h> #include<stdlib.h> char copy(char *);//declare prototpe; typedef struct{ char student_name[20]; int count; }student_data; student_data *p;// declare structure variable; student_data s;//declare structure variable; int main() { p=&s;//give p the address of …

Member Avatar for general2012
0
212
Member Avatar for general2012

i am trying to assing value to a structure member using pointer and then increment and print it .so i write the following code.not working though.how to fix this or how can i do something like this.help please #include<stdio.h> #include<stdlib.h> typedef struct{ int count; }number; int main() { number *p; …

Member Avatar for general2012
0
2K
Member Avatar for general2012

I am trying to allocate memory for three string and print it to screen.but it isnt working .can anyone explain what's wrong here #include<stdio.h> #include<stdlib.h> #include<string.h> int main() { char **name; int i; name=(char **)malloc(3 * sizeof(char *)); while(i<3){ name[i]=(char *)malloc(20 * sizeof(char)); } while(i<3){ scanf("%s",name[i]); } while(i<3){ printf("%s",name[i]); } …

Member Avatar for Ancient Dragon
0
186
Member Avatar for general2012

# copy string into a structure # all i am trying to do here is to copy a string input given by user into an arry decleared inside a structure.but my code is not working. anyone please explain to me why this code isnt working #include<stdio.h> #include<string.h> typedef struct{ int …

Member Avatar for general2012
0
185
Member Avatar for general2012

# copy string into a structure # **all i am trying to do here is to copy a string input given by user into an arry decleared inside a structure.but my code is not working. anyone please explain to me why this code isnt working** #include<stdio.h> #include<string.h> typedef struct{ int …

Member Avatar for general2012
0
5K
Member Avatar for general2012

# 2-D string implementation # ## i am new to c.anyone please help me why this code is not working## #include<stdio.h> #include<stdlib.h> #include<conio.h> typedef struct{ char name[2][10]; }college ; int main() { college student; student.name={{"james"}, {"carter"}}; printf("%s %s ", student.name); getch(); } **

Member Avatar for general2012
0
139