Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #4K
~3K People Reached
Favorite Forums
Favorite Tags
Member Avatar for SpyrosMet

Hey everyone. I have a problem with 2 strings i need to compare. My code is the following [CODE] if((*(fixedparkpnt)).name == pname) { //do stuff }[/CODE] I am trying to make a search proceedure based on a name given by the user but the condition is always false. I have …

Member Avatar for Agnusmaximus
0
1K
Member Avatar for deepak.hm123

Somone please help me writing a code for "Reverse a word in a String" in c.. Ex: My name is XYZ o/p:XYZ is name My

Member Avatar for N1GHTS
0
206
Member Avatar for Rahul.menon

[CODE] #include<stdio.h> #include<conio.h> #include<math.h> int a[70]; //src disk array int b[70];//temp disk array int c[70];//tar disk array int val, srcval=1,tempval=0,tarval=0; int es[3] = {1,1,0}; //array to decide iteration of disks from and to int et[3] = {1,0,1}; int etr[3]= {0,1,1}; int os[3] = {1,1,0}; int ot[3] = {0,1,1}; int otr[3]= …

Member Avatar for Shift-Stop
0
220
Member Avatar for gahhon

[CODE]struct NamesAtt { char student_Surname[20]; char student_givenName[50]; char gender[100]; }Summary; ... void Students_Absence_Report() { system("cls"); printf("Student Presence/Absence Report\n"); printf("===============================\n"); printf(" Name \t\t%%Presence %%Absence\n"); for(i=0; i<student; i++) printf("(%d) %s %s\t %.2f\t %.2f\n", i+1, Summary.student_Surname[i], Summary.student_givenName[i], Presence_percentage[i], 100.00-Presence_percentage[i]); printf("\n"); printf("------- END OF ATTENDANCE REPORT -------\n\n"); system("pause"); system("cls"); } void Barred_Students_List() { system("cls"); …

Member Avatar for N1GHTS
0
209
Member Avatar for Rahul.menon

Please check out This Output required [CODE] Aa Cc Bb Dd Ee Ff jj Ii Hh Gg [/CODE] [CODE] #include<stdio.h> #include<conio.h> void main() { char a = 'a',a1 ='a',A = 'A',A1='A'; int i,j,n; clrscr(); for(i =1;i<=4;i++,printf("\n")) { if(i%2!=0) for(j = 1;j<=i;j++) { printf("%c%c ",a,A); a++; A++; } else { a1 …

Member Avatar for Rahul.menon
0
103
Member Avatar for swadha80

Hello i am developing the dicom reader dicom is imaging standerd file format and i have to extract the differents tags and images from it so how to read the image and tag thanks :)

Member Avatar for Rahul.menon
0
86
Member Avatar for Rahul.menon

I wanna write a code which would add the digits before decimal and after decimal. eg:- 12.22 would add upto 3.4 , 491.941 would give 5.5 [CODE] #include<stdio.h> #include<conio.h> #include<string.h> void main() { double a1[5],a ; //array of 5 numbers int b,len,i,sum=0,cnt = 0; char ch[10]; for(i = 0;i<5;i++) // …

Member Avatar for Ancient Dragon
0
144
Member Avatar for Rahul.menon

[CODE] #include<stdio.h> #include<conio.h> void main() { int num[50],i,i1,j,temp = 1,cnt = 0; printf("How many elements "); scanf("%d",&i); printf("Enter the elements "); for(j = 0;j<i;j++) { scanf("%d",&num[j]); } i1 = 0; j=1; while(i1 < i ) { for( ;j<i;j++) { if((num[j] < num[i1])&& (i1<i)) { temp = num[j]; //algorithm for sel …

Member Avatar for Rahul.menon
0
91
Member Avatar for modaslam

Can any one help me to optimize this code. Or possible to alter and make it more simple The out put i need to get is [CODE] 1 212 32123 ....... [/CODE] this is the code [CODE] main() { int i,j,k,n=4,val,flag=0; for(i=0;i<n;i++) { for(j=1;j<n-i;j++) putchar(' '); val=i+1; flag=0; for(k=0;k<2*i+1;k++) { …

Member Avatar for heznenkiah
0
106
Member Avatar for Rahul.menon

I Wanted some good patterns questions that is challenging. Also some logic teasing questions. forums like codechef have questions bit too absurd to understand. It would be really good if someone could provide questions easy to understand yet logically challenging.

Member Avatar for gaurav_13191
0
92
Member Avatar for Rahul.menon

how to print the below triangle without using arrays a a b a e i a b c d a e i o u

Member Avatar for Ancient Dragon
0
129
Member Avatar for faisal.alawar

Write a program that prompts the user for an odd positive integer, n, greater than 1, and then prints the following hourglass figure which has a height of n text lines: In this example: n = 9 ********* (please refer to the attachment for the figure) * * * * …

Member Avatar for prvnkmr449
-1
206