Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
67% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
1 Commented Post
0 Endorsements
Ranked #22.5K
Ranked #4K
~5K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Louie_Rave

Hello, I'm just new here. I wanted some people to help me with my project. We were tasked to do a game using Turbo C. I already found some games that has source codes like snake, tic toe, etc. I wanted to be slightly different 'cause I know my classmates …

Member Avatar for markanderson4
1
4K
Member Avatar for priya_pawar

Write a program (in a single .c file) with a queue of strings implemented using array. You should write ite a queue type. The program reads a set of strings stored in a file (filename given on command line as argument) and inserts each string in the queue. Then it …

Member Avatar for Ancient Dragon
-1
170
Member Avatar for cih1091

Hi guys, I am trying to write a program that takes in a file, which has the last name first name and grade of a student. I then need to sort the grades from highest score to lowest with the corresponding names and then calculate the average grade. I have …

Member Avatar for WaltP
0
112
Member Avatar for rhowell

I'm working with some old code and the users tell me that the original program's output was a single binary file containing multiple stuct data. The output I get is a binary file containing a single structure. The comment also indicates that this what is happening but I need to …

Member Avatar for poornamoksha
0
221
Member Avatar for rithish

#include <stdio.h> #include <stdlib.h> int main() { int i,n,a=0,b=0,sum=0; printf("enter the limit of amstrong number: "); scanf("%d",n); for(i=1;i<=n;i++) { a=i; while(a>0) { b=n%10; sum=sum+ b*b*b; a=a/10; } if(sum==i) { printf("%d",sum); } } return 0; } it prints no errors but doest not work properly

Member Avatar for Gonbe
0
179
Member Avatar for niyasc

Following is my code for reading from a file. #include<stdio.h> int main() { char s[10][10]; int i=0,j=0; FILE *ptr=fopen("input.txt","r"); char c; while(fscanf(ptr,"%c",&c)!=EOF) { if(c=='\n') { s[i][j]=0; i++; j=0; } else { s[i][j]=c; j++; } } s[i][j]=0; fclose(ptr); for(j=0;j<i;j++) printf("%s\n",s[j]); return 1; } and content of input.txt is A->XAZ|Yz|z X->xZ|x Z->Xz …

Member Avatar for niyasc
0
199
Member Avatar for omkar_hande

If a child process encounters exit(0) statement, where is this exit status returned in the parent process? Is there any variable associated with every process that holds this information? If not, how do children and parent processes communicate?

Member Avatar for poornamoksha
0
280