15,550 Topics

Member Avatar for
Member Avatar for new2code

I have an assignment that requires me to make a code to basically have the user input 5 letters into an array. The five letters then have to be checked against themselves for duplicates and they have to be letters. I am the worst at doing this, i will say …

Member Avatar for David W
0
372
Member Avatar for Aish_14

hello.. I am trying to write a code which can ping multiple ip addresses and depending on the reply print whether the server is on. My approach is to save the addresses in an array, then ping them using a for loop. I am not sure about the data type …

Member Avatar for Aish_14
0
1K
Member Avatar for iniesta

hi every one i am trying to pass multiples 2D arrays to funtion but i have the following errors"

Member Avatar for Hiroshe
0
45
Member Avatar for oanahmed

Hi! I was doing my exercise of C Language. In the exercise I was encountered by a question in which author says you to perdict the correct answer; I was uable to perdict it, so I compiled it to get the answer, the source code is this: #include <stdio.h> int …

Member Avatar for cayman
0
244
Member Avatar for vishalonne

Hello How can I get minimum number of coins for a given amount. I have fixed denominations of cents - 25, 10, 5 and 1 If I have 0.67 then what will be the minimum numbers coins I need Thank you all in advance for valueable advices and suggestions

Member Avatar for cayman
0
182
Member Avatar for amithunter

how can we fetch the system time regulerly irrespect to the another part of the program? how it's possible to do so actually its a validation in a game,but i dont have an idea how can be implement.

Member Avatar for L7Sqr
0
93
Member Avatar for Miffy

Hi, Please help me write this C code as i am clueless and helpless in C programming Write a C program, which allows the user to enter a valid filename and then prints the file content to screen, two lines at a time. The program should pause after displaying the …

Member Avatar for Hiroshe
0
246
Member Avatar for brent.banaag

Please help me. The following program builds and compiles just fine however when I try to execute it it stops before getting any output, displaying "The instruction at "0x77c48a0b" referenced memory at "0x00000014". The memory could not be "read"". I also get the following when the debugger reaches the point …

Member Avatar for Moschops
0
163
Member Avatar for agent.orange

Guys how can i connect MS.ACCESS as my DATABASE in TURBO C.? Please help.. this is not an assignment.. i just want to know how....

Member Avatar for manishsaini09
0
347
Member Avatar for amithunter

Please help me to create a automaticcaly executable file in c .when cpu boot up it should automatically execute once. Thanks for the help

Member Avatar for amithunter
0
163
Member Avatar for fmchua

hi. can someone help me with this . req: if item code is A description is CHAIR witha a prize of 200 else if itemcode is B description is TABLE with a prize of 500 else item code is C description is PC with a prize of 4000. output display …

Member Avatar for David W
0
101
Member Avatar for senait.kifle.127

Hello Everyone, This question is quite hard for me to understand it. I have gone this further. your help will be appreciated. The program is used to calculate volumes of tanks. #include <stdio.h> #include <stdlib.h> #define PI 3.14152 /*Declare for storing the data of a cylindrical tank new structure type …

Member Avatar for David W
0
275
Member Avatar for jtjudge

#include <p18F8680.h> #include <delays.h> #include <string.h> #include <stdio.h> #include "LCD_Utilities.h" int* lpc_L1; unsigned int ln_Volts; unsigned int ln_Tenths; unsigned char luc_Result; char Convert_ADCResult_to_Char(unsigned char, unsigned char); void main (void) { TRISA = 0x01; TRISD = 0x00; ADCON0 = 0x01; // ch0, DONE, ADC on ADCON1 = 0x0E; // AN0 set …

Member Avatar for sepp2k
0
550
Member Avatar for tena.venmathy

Hi, I need help from anyone to solve this "c programming" or help to teach the method for this question. thank u so much? A bookstore has many customers and each one of them has an account with a credit limit which must not be exceeded. The bookstore owner requested …

Member Avatar for David W
-1
238
Member Avatar for Mahkoe

I am currently writing a little applet to modify files in a certain way. However, I am noticing wildly strange behaviour. I have an output file that is fopen'd in "a+" mode. If the file did not exist and was created, the resulting output is total garbage (however, it exhibits …

Member Avatar for rubberman
0
138
Member Avatar for SoreComet

Can string be compared with == operator? I know that they can be compared using strcmp() function. But this snippet confused me a lot #include <stdio.h> #include <stdlib.h> int main() { char str1[]="Good Morning"; char str2[]="Good Morning"; if(str1 == str2) printf("Equal"); else printf("Not Equal"); return 0; } The output of …

Member Avatar for SoreComet
0
122
Member Avatar for Saranya_2

Hi Dani I am trying to develop a case study in c languade for addressbook.Is glade a turbo c accepted GUI. If so how can I link c program functions, xml etc with glade.I have no idea.Please reply as soon as possible. Thanks Saranya

Member Avatar for rubberman
0
112
Member Avatar for kukkumahi
Member Avatar for EarhawkPH

i somehow can't find how to fix the error: "non portable pointer assignment in function main" #define b break #define p printf #define s scanf main() { char M,[9]; int month, day, year; p("Enter Month:"); s("%d", &month); p("Enter Day:"); s("%d", &day); p("Enter Year:"); s("%d", &year); switch(month) { case 1: M="January"; …

Member Avatar for David W
0
388
Member Avatar for Azhagu

in data structure, how the paranthesis balanced are checked with stack.little confusion in it.

Member Avatar for David W
0
169
Member Avatar for kimlong008

Hello Everyone ! I have build a c file but it use GNU library, I can not build it to exe file. It error because I don't know use MinGW to build. [Download file](https://sites.google.com/site/datazus09/crunch-3.6.zip). I have install MinGW but I don't know how to run it in my visual studio …

Member Avatar for kimlong008
0
311
Member Avatar for Raik.48

Is making font size bigger or smaller possible in C programs? If yes, what should I do? I am a beginner in C and have been using Turbo-C++ for programming. Thanks.

Member Avatar for Abinaya_3
0
563
Member Avatar for neeraj_shri
Member Avatar for hg_fs2002

I want to convert this piece of code using this memory layout transformation : https://software.intel.com/en-us/articles/memory-layout-transformations (Array of Structures to Structure of Arrays) Here are the codes before and after applying the transformation and I want to know whether I'm doing it right or not? Before: typedef struct { double x; …

Member Avatar for Hiroshe
0
266
Member Avatar for Gunjan Rathi
Member Avatar for deceptikon
0
214
Member Avatar for Syeda_2

hi everyone, i am new in C. can anyone help me to solve the following problem: write a small program in CLIP to code that shall work like a simple computerized study advisor. Your program will collect some data from the user and then suggest a field of study. To …

Member Avatar for rubberman
0
91
Member Avatar for Gunjan_1

Hey I am a student and i m performing selection sort in this way. Is it proper way or not? if it is not proper, explain it why with reason. #include<stdio.h> #include<conio.h> void selection(int a[],int n) { int i,j,temp; for(i=0;i<n;i++) { for(j=i+1;j<n;j++) { if(a[i]>a[j]) { temp=a[i]; a[i]=a[j]; a[j]=a[i]; } } …

Member Avatar for ITTechnos
0
127
Member Avatar for JOHN-shirley

please help !! I cant comiple this code for a spell checker when i build the project i get no de-bugg messages however when i run the code it i get actual answer.exe has stopped working i have attached the relevent files except the word.txt is missing as it wouldnt …

Member Avatar for Moschops
0
80
Member Avatar for getmeusername

Hi All, I am trying to send data from client to server. And getting data back to client. But I am facing following issue. 1. I am unable to display client message in server side. 2. I am unable to get back message from server. Also I am not getting …

Member Avatar for Himadri_1
0
280
Member Avatar for rana ranjit

main() { char str[30]; int i ,n=0; printf("enter stirng"); while(( str[n]= getche() ) !='\r') n++; str[n]='\0'; for(i=0;i<n;i++) putchar(str[i]); } this is a simple program. enter string as input and same string become output. nothing is wrong in this program. this program is in my book. my question is what is …

Member Avatar for Daisy_1
0
82

The End.