15,550 Topics

Member Avatar for
Member Avatar for kissiwat

I've gotten myself a bit confused here. :'( I've created two linked lists called 'competitors' and 'races'. I'm able to add, append and display info in both files but unable to delete or update the information contained in either. I've started the coding for both functions but have got totally …

Member Avatar for Ancient Dragon
0
177
Member Avatar for IwalkAlone

Q.Write a program to input data in an array.Compute the sum and average.Then count the number of values greater than the average and lesser than the average.Print the average,sum and the two counts. Solution I tried [CODE] #include<stdio.h> int main(void) { int X[10],i,lesser=0,greater=0,sum=0; float avg=0; for(i=0;i<10;i++) { printf("Enter number\n"); scanf("%d",&X[i]); …

Member Avatar for Salem
0
116
Member Avatar for somita1

for using file i must read file but file is text i read aword from any line but with see the space i find i read a word but program not accept "" such a spce and give err and for give next line wat i do?

Member Avatar for ithelp
0
70
Member Avatar for laconstantine

I just was wondering why the array its self are a pointer to the first element? and what is the difference between an array and a pointer?

Member Avatar for newprog
0
227
Member Avatar for mickey911

Hello community,, I have been developing a yahoomessenger chat client for nintendos handheld gaming console 'nintendo ds'.Till now i have finished laying out the user interface and wifi access via router. I found the yahoo protocol in many places from a google search but i am unable to understand how …

0
50
Member Avatar for brightmohan

Hi, This function that I've written works well when compiled under the Turbo C compiler on windows XP but it says Segmentation Fault while it runs on linux after compiling with cc Compiler. I've been trying to think what might be wrong....I'm just wasting time....Please help me solve this bug. …

Member Avatar for Salem
0
97
Member Avatar for shriagni

how can i create the byte and word data types. Im using a header which requires word and byte data types for execution of data. where as my compiler dun accept those types. how can i implement them? thank you in advance. regards, Shrikrishna

Member Avatar for Ancient Dragon
0
142
Member Avatar for nkhosinathie

i'm writing a pseudocode for a program that ask a user to enter a data and the program should forced the user to enter a required information.using a for loop. the program is like this. women between the following agea 20.20-30,32 above men between the ages 20,20-30 and 32 above …

Member Avatar for Aia
0
130
Member Avatar for kylcrow

does anyone know what this error actually means? terminate called after throwing an instance of 'std::out_of_range' what(): basic_string::substr it happened when i wrote this line... string output2 = last + first + scores + string(4, ' ').substr(scores.size()) + " ";

Member Avatar for Ancient Dragon
0
72
Member Avatar for sofianos

hi im making an exercise about two arrays. one is a working like a stuck (LIFO-Last in First Out)array and the second one like a queue (FIFO-First IN First Out). The problem is that im confused what to write in the case 3 and 4.....:?: Any additional help about compiler …

Member Avatar for Infarction
0
153
Member Avatar for Narue

[B][U]Before You Ask[/U][/B] [list=1] [*][B]Engage your brain![/B] We understand that running into a problem can turn off the rational centers of the brain, but please sit back and think for a bit about your problem before running off to find help. All too often a little common sense is all …

19
3K
Member Avatar for weewee

Hi! I have one project. The title is Engineering Journal Program. I don't know how to start and please help me... Below is my program description.... [B]Engineering Journal Assignment[/B] Problem Description: You are to write a program to manage an engineering journal. An engineering journal is a record of a …

Member Avatar for ~s.o.s~
0
81
Member Avatar for Zay

Good night; can you see this function ; its true but the only error is : missing ';' before 'return' missing ';' before '}' missing ';' before '}' missing ';' before '{' missing function header (old-style formal list?) but there is no ; missing , i checked it twice this …

Member Avatar for Zay
0
134
Member Avatar for Thinka

Hello once again people; I hope I'm not breaking any rules or being cheeky. But I was searching for algorithms/programs on the internet that would help me with my binary search program, and then I came across the piece of code posted here (in the code snippets section)about just the …

Member Avatar for Nick Evan
0
145
Member Avatar for donaldunca

I have just learnt C so I always meet some problem Could you tell me the meaning of this code? [CODE] void InsertListOrder(Nodeptr &Head,Nodeptr G) { Nodeptr P, Q; P = Head; while (P != NULL) { if (strcmp(P->key.tu,G->key.tu)>0) break; Q = P; P = Q->next; } if (P == …

Member Avatar for Ancient Dragon
0
119
Member Avatar for Aia

God Reveals DNA Secrets For many years molecular biologists have been mystified by the fact that very little of an organism's DNA seems to serve any useful function. Last night God revealed the mystery by posting the code on a warez site. I am just posting the first segment of …

Member Avatar for Aia
-1
510
Member Avatar for ndeniche

i've gone through some threads from people asking for help that have posts from these users saying things such as [quote]still the program doesn't do what i want it to do[/quote]This is why i would like to say to all users: [B]When we post solutions to your questions, most of …

Member Avatar for nkhosinathie
1
279
Member Avatar for ibrar_niitian

[B][COLOR=#000000]Write a program that will compute the quarter/semester grader for all the students in a class. Scenario is as follow: [/COLOR][/B] [COLOR=#000000] [/COLOR] [LIST] [*][COLOR=#000000]There are total of forty students in any given class. Each student has twelve graded items. Each student is given four tests, four programming assignments, and …

Member Avatar for Narue
0
104
Member Avatar for rajesh_vc++

Hi I want to play file in reverse(rewind) in direct show also I want to play it frame by frame . can any one help me

0
57
Member Avatar for louis7370
Member Avatar for srinath.sec

hi all, i have a question 1) how can we change the value of a macro during compilation time tell me with an example 2) what is difference between exception and memory leak. how to handle exception in c 3) where are the extern and register variables stored(text,data,BSS,heap,stack)

Member Avatar for thekashyap
0
150
Member Avatar for satyanarayanam

Hi, This is satya, how we can print a string in C that doesn't use printf in main or functions? plz help on this Thank u..

Member Avatar for Narue
0
151
Member Avatar for kavaas

i have ceated a file in C. i have to give the login security. i already gave the user name & password. but when i type the password the letters are visible how to hide the letters

Member Avatar for iamthwee
0
2K
Member Avatar for IwalkAlone

Q. WAPC to read a string into an aaray and capitalize the first character of every word in the input. Solution I tried [CODE] #include<stdio.h> int main(void) { char string[50]; char *ptr; printf("Enter string\n"); fgets(string,sizeof string,stdin); printf("string= \"%s\"\n",string); for(ptr=string;string!='\0';ptr++) { if(*ptr==' ') { ptr++; *ptr=*ptr-32; } } printf("The new string …

Member Avatar for IwalkAlone
0
1K
Member Avatar for rati

hi all, i am writing a program in which i am checking if a string contains another string(same what strstr does). i assumed intially that the string1 is a long string with spaces and string2 is a word(which might be or might not be present in string1) i have used …

Member Avatar for rati
0
102
Member Avatar for shmay

I must display the number of values that are above, equal to, and below the average, with "equal" being within a tolerance .01. [code=c] void RelToAve (double ave, int numRead, double *array) { int abo = 0, equ = 0, bel = 0, i; for (i = 0; i < …

Member Avatar for shmay
0
145
Member Avatar for EnderX

If I am somehow in error posting this, I apologize. However, I would hope that this is the best place to ask this question. I am dealing with a MSVC Compiler, version 1.52, on a system running Windows 98. I am using these rather antiquated pieces of equipment for a …

Member Avatar for EnderX
0
150
Member Avatar for mariocatch

Hey all: I've been trying to figure out how I would go about doing the following task. Basically, I have a folder with about 20,000 notepad files. My goal is to have one big word document, and append the contents of each notepad file to the word document. Each notepad …

Member Avatar for vijayan121
0
313
Member Avatar for fatboysudsy

Hi there, here is a copy of my server program. It worked this morning but has now decided to stop and i am after some help with it please. It stops half way through the authentication(), it must be before it does the stcmp function as i never get that …

Member Avatar for vijayan121
0
99
Member Avatar for sushanttambare

hi all, can anyone tell me that how can I change the functions in written for 16 bit processor in c language for 32 bit processor?

Member Avatar for Ancient Dragon
0
101

The End.