Search:

Type: Posts; User: SARAHCPS

Search: Search took 0.00 seconds.

  1. Thread: Replace Array

    by SARAHCPS
    Replies
    9
    Views
    4,968

    Sorry this must be annoying!! I'm still getting...

    Sorry this must be annoying!! I'm still getting the same error!

    lab9.c:52:file does not end in a new line
  2. Thread: Replace Array

    by SARAHCPS
    Replies
    9
    Views
    4,968

    I'm using 99! I added alittle more to see if I...

    I'm using 99! I added alittle more to see if I can get the value replaced...I'm still getting the same error! :(



    #include <stdio.h>

    {

    void fileio (void);
    {
  3. Replies
    20
    Views
    7,417

    Add this library: This is a small example ...

    Add this library: This is a small example

    #include <math.h>

    double w, r, d;

    d = (sqrt(w)) / r;
  4. Thread: Replace Array

    by SARAHCPS
    Replies
    9
    Views
    4,968

    Ok.....I have added more to my program..I try to...

    Ok.....I have added more to my program..I try to get myself to do the basics then work from there so I had to ask the user to input a file...then read the file and replace the smallest double with ...
  5. Thread: Replace Array

    by SARAHCPS
    Replies
    9
    Views
    4,968

    Replace Array

    This is a short program I have been working on.....I have got it to open a binaryfile...however I would like to use a function called replace (void replace (double *array, int size)) that will...
  6. Replies
    5
    Views
    1,535

    I have.....I'm having problems with understanding...

    I have.....I'm having problems with understanding the syntax of passing arrays as parameters to functions. I'm not asking you to do my assignment..I just need to understand this topic better in plain...
  7. Replies
    5
    Views
    1,535

    Dynamic allocation

    I am having alittle problem understanding how to work with text files, binary files and dynamic allocation of arrays

    Can someone explain these concepts to me!
    Thanks!
  8. Thread: Arrays

    by SARAHCPS
    Replies
    9
    Views
    1,658

    I have tried runing the program; 1 error

    When I run this program below I get this error
    c20 file does not end in a new line





    #include <stdio.h>

    int main(void)
  9. Thread: Arrays

    by SARAHCPS
    Replies
    9
    Views
    1,658

    This is what I have...I'm not trying to get you to do it....

    #include <stdio.h>

    int
    main(void)
    {
    int i;
    double a[];

    printf ("Enter ten interger values:");
    scanf ("%d", a);
  10. Thread: Arrays

    by SARAHCPS
    Replies
    9
    Views
    1,658

    Help with arrays

    Your help would be much appreciated

    I need to write a pseudocode (algorithm) for the following program definition:
    Write a program to read an integer count (between 1 and 10) and then read count...
Results 1 to 10 of 10