Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #4K
~3K People Reached
Favorite Tags

13 Posted Topics

Member Avatar for raul8

Hi, I think the structure defination is wrong; It should be like ` //asumng UPD_TRC and UPD_STS is user defined data type.` typedef struct dscvs { UPD_TRC trc_no; UPD_STS status; }dscvs_i; dscvs_i *i_updsc; // point i_updsc to some memory location before using it. i_updsc=new dscvs_i; i_updsc->trc_no = trcno;

Member Avatar for rajenpandit
0
242
Member Avatar for szejna

Hi szejna, As the error says 'rationalize_number' is undeclared in this "istream& operator >>(istream& in, Rational& rational1)" function, you should have check the scope of 'rationalize_number'. you are directly calling this function but as per your code it is private. but still you can use the private member of an …

Member Avatar for rajenpandit
0
119
Member Avatar for phorce

HI, I didn't understand your question properly... as per my understanding coords:(col,row) (2,1) : 1 0 1 0 (2,2): 1 0 1 0 1 0 (1,2): 0 1 0 0 1 0 1 1 0 if i am going in right direction the you can check with the below code. …

Member Avatar for rajenpandit
0
103
Member Avatar for jaepi

[QUOTE=jaepi;364259]hi there, i just want to know what function to use in converting a char into an int like: [code] char temp; cout << "enter something"; cin >> temp; atoi(temp); [/code] is this the right way?[/QUOTE] yes that is a correct way u can proceed......... but the only thing u …

Member Avatar for WaltP
0
1K
Member Avatar for rajenpandit

hi everybody, i have choosen a project as my fyp,the project which can change the priority of any process. It is just like nice command. So can anyone suggest me how to proceed in this project. the reffrencial book if any.

Member Avatar for sknake
0
115
Member Avatar for rajenpandit

hi every one, i am a final year student. I want to make a project related to kernel........, but i am not able to think any new idea related to kernel so please give me some idea related to kernel based project. thanks.

Member Avatar for rajenpandit
0
121
Member Avatar for rajenpandit

Hi everybody, I have a problem in include path. i want to keep my all header file in folder named myInclude and include it like #include<myInclude/header.h>, Is there any possible way to do this, if there is than please tell me the step. thanks in advance...........

Member Avatar for rajenpandit
0
131
Member Avatar for bluebird

[QUOTE=bluebird;822483]hello Is there any way to change numeric to figures? for example if the user input is 134, the program output must be one three four. thanks in advance, Bluebird[/QUOTE] Check it out.............. [code] #include<stdio.h> #include<conio.h> #include<string.h> void main() { int num,numcnt,div,i=1,n=0; char str[10][10]; clrscr(); printf("Enter a num :"); scanf("%d",&num); …

Member Avatar for rajenpandit
0
116
Member Avatar for rajenpandit

Hello everyone, I have created my own header file but it doesn't work if i just include like "myfile.h" and it works fine if i include like "myfile.c". I just want to know that why this thing happening in Turbo C compiler even it works fine in VCpp.

Member Avatar for Freaky_Chris
0
92
Member Avatar for Rein Valdez

Sorry Aia actually i m not getting the concept of cp = strchr(num,'.'); com = cp-num; can u plz explain for me......... thanx

Member Avatar for Aia
0
161
Member Avatar for dhiliptce

You are doing a bit mistake over here........... fprintf(fp1,"%d\n",&numbers[i]); please don't give '&' before 'numbers[i]' if u still face problem then just see my program [code] #include<stdio.h> void main() { FILE *p,*p1,*p2; int arr[]={1,2,3,4,5,6,7,8,9},i; p=fopen("Raj.txt","w"); for(i=0;i<9;i++) { printf("%d\n",arr[i]); fprintf(p,"%d\n",arr[i]); } fclose(p); p1=fopen("Raj.txt","r"); for(i=0;i<9;i++) { fscanf(p1,"%d",&arr[i]); printf("%d\n",arr[i]); } fclose(p1); p2=fopen("RajCopy.txt","w"); for(i=0;i<9;i++) …

Member Avatar for rajenpandit
0
120
Member Avatar for imput1234

[QUOTE=imput1234;744057]Nevermind, weird it works now. I havent;' made any changes. But I do have another problem. I'm trying to make the program so that, if the user does not enter a valid file name, it will output that and clsoe the program. This is what I have so far, and …

Member Avatar for imput1234
0
162
Member Avatar for kyosuke0

[code] struct node { int data; struct node *link; }; void delet(struct node **currNode,int location) { int i; struct node *temp,*temp1,*temp2; int cnt; temp= *currNode; cnt=count(currNode); if(location>cnt) { printf("\nIndex should be <= %d",cnt); } for(i=1;i<=cnt;i++) { if(location==1&&i==1) { *currNode=temp->link; free(temp); } if(i==location-1) { temp1=temp->link; temp->link=temp->link->link; free(temp1); } temp=temp->link; } } …

Member Avatar for rajenpandit
0
136

The End.