15,553 Topics

Member Avatar for
Member Avatar for matt768

I have to create a program in c using this formula, y=ax(cubed)+bx(squared)+cx+d, I have to ask the user to read in the four coefficients of the cubic, Ask the user for start and finish values for x, ask the user to view the graph and Plot a graph using grx20 …

Member Avatar for Chainsaw
0
75
Member Avatar for rishiraj_bayerd

Hi meabed & Naveen, thanks lot for your help. As per your advice i get lot of things.It is out of my expectation.I hope that in future you again help me. Thanking you...... Rishi

Member Avatar for meabed
0
170
Member Avatar for Sukhbir

CONSIDER THE FOLLOWING CODE: int *p[]; // THIS IS ARRAY OF POINTERS int (*p)[] // THIS IS POINTER TO ARRAY. CAN SOMEONE EXPLAIN ME SOME MORE ABOUT THESE TWO STATEMENTS

Member Avatar for Dave Sinkula
0
63
Member Avatar for Sukhbir

LOOK THE FOLLOWING CODE: void main() { char a[]={'a','b','c',d'}; int b[]={1,2,3,4,5}; printf("%d %d",&a[3]-a,&b[3]-b}; } OUTPUT: 3 3 CAN SOMEBODY EXPLAIN ME WHY THE OUTPUT IS SAME. ACCORDING TO ME OUTPUT IS (3 6).

Member Avatar for Naveen
0
163
Member Avatar for flory

Hello,all! Can someone help me Write a batch file that takes 4 arguments and passes them onto your C program. The C program takes each of the arguments and multiplies that argument by 10. Example of how this is done: Z:>SAD1.BAT 3 5 7 8 What will be displayed on …

Member Avatar for Ral
0
171
Member Avatar for rishiraj_bayerd

Hi Junior Techie, thanks lot for your help. As per your advice i get lot of things.It is out of my expectation.I hope that in future you again help me. Thanking you...... Rishi

0
82
Member Avatar for smithag261

Can I get a list of C programmes so that I can see the solution of any program I want. Any website related to it? I have an interview next month on C.Please suggest.

Member Avatar for brnprasad630
1
95
Member Avatar for rishiraj_bayerd

Hi everybody, I am quite familier in C.But i don't any thing about printer port programming.Can you help me......? thanking you... rishi

Member Avatar for Naveen
1
154
Member Avatar for blessedrose82

i need to pass up an operating systems project on the 19th of july. can anyone please help me do this project. i cant manage it by myself :rolleyes: . this is the question: Develop a program to simulate a computer using a Round-Robin scheduling algorithm with a time slice …

Member Avatar for meabed
0
647
Member Avatar for freesoft_2000

hi everyone, I need help on a single document interface (sdi) i have created. I created the sdi using the CRichEditView as its base class. I know that the printing functionality is already added by default but what i need is that when the program is executed by me a …

0
69
Member Avatar for jamal2004
Member Avatar for KSGuan

Greeting to all, I have been trying to apply "fprintf()","fopen()" and "fclose()" into the following source code but still fail to get the right way. As I do not have any C program book to refer to, I really appreciate it if someone could show me how should I go …

Member Avatar for Dave Sinkula
0
195
Member Avatar for Chris Wong

Hi guys, I'm new in programming and I just started to learn C language. I got this assignment question that requires me to use random number generation. I know how to create a simple random number generation using seed. But this question is giving me a headache. Please spare me …

Member Avatar for FireNet
0
168
Member Avatar for biel_andrada

Hi! I would like to ask on the "find" function. I do not know how to use it. Thanks a bunch!

0
78
Member Avatar for Blizt3r

[FONT=Comic Sans MS][COLOR=Red][COLOR=Red]hey dude, I need help regarding my project. Its about creating a program of a vending machine. It said i must include these in the vending machine system menu a) Replenish the system b) Buy Drinks c) Transaction Report d) Quit >> Enter Choice : X I wish …

Member Avatar for Blizt3r
0
138
Member Avatar for flory

Please , help me to Write a program in a new eclipse project called piglatin that converts a string to its Piglatin equivalent . the string begins with a vowel, add "way" to the string. For example, Piglatin for "orange" is "orangeway". 2. Otherwise, find the first occurrence of a …

Member Avatar for Chainsaw
0
119
Member Avatar for nufanvandal

Hey everyone. im having issues with my for loop: basically it reads in from a file using unix redirection and stores the integers into an array, that all works fine, but i need to return the number of integers that were read in, and logically i thought [COLOR=Red]this[/COLOR] would work, …

Member Avatar for nufanvandal
0
114
Member Avatar for Helter

I have an Edit Box on a form. The text entered in it is stored as an AnsiString. I must pass the input AnsiString data to a function that requires a const char* as a parameter. How can I pass the AnsiString as a const char*? I would appreciate any …

Member Avatar for Helter
0
145
Member Avatar for sroberts82

Im accepting a float from the user. I want to protect from him inputing a char cos it messes everything up. How do i do this?

Member Avatar for Dave Sinkula
0
152
Member Avatar for Preston

Hello, i have a rather strange request, I'm looking for someone who can produce a program that hooks into windows's input chain for a game I play and blocks the mouse up event message. Basically I need for the left mouse button to be continually pressed in whichever way is …

Member Avatar for Preston
0
75
Member Avatar for nita

hi I have problem with file. The problem is I have to compare two file 1)master file and 2)transaction file. both have accno, amount,id and code(d-deposit,w-withdraw). the accno is in char[10] ,amount double, id integer and code character[1]. my problem is how to compare accno from master file with accno …

Member Avatar for kc0arf
0
85
Member Avatar for vistatic

How can i write the coding for a reversive of a given integers. for example: char str[] = "012345"; Reverse( str ); printf( str ); then the output will be displayed as [B]"543210" [/B] i need pointer as well to null-terminate string as a parameter and reverses this string. then, …

Member Avatar for meabed
1
359
Member Avatar for vienne

i'm having a problem with below recursive code. there are 4 chars stored in a array, 'a', 'b', 'c', 'd'. input is between 1 and 16, and output should look like this: when input is 1: a b c d when iput is 2: aa ab ac ad ba bb …

0
59
Member Avatar for Naveen

Hi. can anyone tell me where to find a good tutorial for modem and i/o port programming?

Member Avatar for meabed
0
72
Member Avatar for Fili

I want to have a class LIST -- a dinamic list of rational numbers (defined previously in my RATIONAL class). I want another class STACK to inherit LIST's root and end pointers for my list.(STACK also is dinamical) Please help because it says that STACK cannot access the root and …

1
105
Member Avatar for yadi

hi everybody i have a homework to write a program which displays leapyear it is for tmorrow pls anybody send it for me thanks in advance

Member Avatar for alc6379
0
145
Member Avatar for acidburnt

weight fast-post normal courier <500g RM0.80 RM0.45 RM0.65 500-999g RM1.20 RM1.00 RM1.10 1kg-4.999kg RM1.50 RM1.35 RM1.60 >=5kg RM2.75 RM2.00 RM2.65 "Base on the cost of postage above,we have to write a c program for the mailing pakage. here i have some problem about the codding of c programming.i'm a computing …

Member Avatar for Killer_Typo
0
122
Member Avatar for abd2

hi, This is the code to be changed to conditional operators: #include <stdio.h> main() { int x, min, max; printf("Enter val for max and x\n"); scanf("\n%d%d",&max,&x); if(x>max) min=max; else min=x; printf("%d\n",min); } the above code is runing but problem is when changed to conditional operators: #include <stdio.h> main() { int …

Member Avatar for Dave Sinkula
0
161
Member Avatar for dennis_89

Is there a way to modify an exe file if you don't know what program the file was created in? I guess what I am asking is if there is a generic program to modify/change information within an exe program? Dennis

Member Avatar for bentkey
0
90
Member Avatar for Eddie

The End.