User Profile

Collapse

Profile Sidebar

Collapse
perryd
perryd
Last Activity: Nov 20 '06, 09:44 PM
Joined: Oct 15 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • perryd
    started a topic reading a file and using the cmd prompt
    in C

    reading a file and using the cmd prompt

    I'm tring to read a file using Textpad in c langugage. When I go to run and put in cmd I get

    C:\Documents and Settings\Owner>

    then when I put in cd my documents i get

    C:\Documents and Settings\Owner\ My Documents>

    then when i put in pig i get ..

    C:\Documents and Settings\Owner\ My Documents>pig
    piglatin input-file

    C:\Documents and Settings\Owner\ My...
    See more | Go to post

  • perryd
    replied to Array?
    in C
    This program that i wrote doesn't quite work correctly?Its a program to calclate the exponential of x when the user puts in a value for x.

    #include <stdio.h>
    double expon(double xth, double nth);
    double factorial(doubl e num);
    int main()
    {
    int n;
    int value;
    double x;
    double total;
    total=0.0;
    printf("e**, enter a number for x (0t to exit): ");
    ...
    See more | Go to post

    Leave a comment:


  • perryd
    started a topic Array?
    in C

    Array?

    I'm trying to write a program in c language asking the user for an operation symbol and four intergers that are two fractions. The program needs to compute the specified operation on the two fractions and then print out the answer as a fraction? Do I use an array?

    Perry
    See more | Go to post
No activity results to display
Show More
Working...