Search:

Type: Posts; User: youngvito

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    14
    Views
    8,590

    it doesnt return any numbers it all it returns...

    it doesnt return any numbers it all it returns 1.#QNAN0 1.#QNAN0 1.#QNAN0 1.#QNAN0 1.#QNAN0 1.#QNAN0. Instead its supposed to return 6 floating point numbers, the first one being 28
  2. Replies
    14
    Views
    8,590

    the number for the first row is supposed to be...

    the number for the first row is supposed to be 28, i havent calculated the other ones
  3. Replies
    14
    Views
    8,590

    6 11 21 22 23 24 25 26 27 28 29 30 31 -21 -22...

    6 11
    21 22 23 24 25 26 27 28 29 30 31
    -21 -22 -23 -24 -25 -26 -27 -28 -29 -30 -31
    0 1 0 1 0 1 0 1 0 1 0
    1 2 3 4 5 6 7 8 9 10 11
    12 13 14 15 16 17 18 19 20 21 22
    11 10 9 8 7 6 5 4 3 2 1
    0 1 -1...
  4. Replies
    14
    Views
    8,590

    i checked my code over and over again and i cant...

    i checked my code over and over again and i cant seem to find a problem. Please take a look at my program and see if i made a mistake anywhere.
  5. Replies
    14
    Views
    8,590

    i know the loop executes six times which is...

    i know the loop executes six times which is correct its just not printing out the sums of the products of the 1 d array and 2d array
  6. Replies
    14
    Views
    8,590

    sorry i mean 6 numbers

    sorry i mean 6 numbers
  7. Replies
    14
    Views
    8,590

    the last loop in the main function is supposed to...

    the last loop in the main function is supposed to print the sums of the products of a one D array and the 2 D array. It prints the works of the second function. What is printed is this 1.#QNAN0...
  8. Replies
    14
    Views
    8,590

    yes, i know everything is correct but im not...

    yes, i know everything is correct but im not getting the numbers printed, the problem is in my second function and i tried it, can you give me some more advice please.
  9. Replies
    14
    Views
    8,590

    multiplying a 2D array by a 1D array

    my second function does not seem to work. It is supposed to multiply each row of a 2D array by a 1D array. Im reading in a 2D and a 1D array from a file using I/O redirection <data1.txt > out1.txt....
  10. Replies
    31
    Views
    16,584

    i have to use a function its the way my...

    i have to use a function its the way my assignment is
  11. Replies
    31
    Views
    16,584

    can you please give me an idea of how to do that...

    can you please give me an idea of how to do that please. Im totally new to this i dont have an idea of what to do
  12. Replies
    31
    Views
    16,584

    adding up the rows of a 2D array

    my problem is to add up the rows of a 2D array. im reading the values from a file using I/O redirection. <file3data.txt > out1.txt. My first function adds up the rows and it works fine but my second...
  13. i still havent figured out how to initiate my...

    i still havent figured out how to initiate my first loop so that it reads the data till the end of the file, can you give any suggestions
  14. in this loop does the loop keep looping until the...

    in this loop does the loop keep looping until the end of file is reached or does it go on to the other loops after the first 3 numbers have been scaned using scanf.
    [code[

    while (scanf("%d%d%d",...
  15. but i dont know how many characters there are in...

    but i dont know how many characters there are in total is there a way to do this without a buffer cause we didnt learn that yet
  16. oh ok , i think you made things a little clearer...

    oh ok , i think you made things a little clearer for me, thanks alot
  17. thats exaclty what im trying to figure out, i...

    thats exaclty what im trying to figure out, i dont know how to read data from a file until EOF is reached.
  18. thats what im trying to figure out though, i dont...

    thats what im trying to figure out though, i dont know how to do that
  19. its an assignment for school, the file saved as a...

    its an assignment for school, the file saved as a textfile, its called data0.txt and your supposed to scan the file till the end of it using Input/Output redirection, it reads the file through the...
  20. reading data from a file till its the end of the file using I/O redirection

    Im have trouble reading a file till its the end of a file using I/O redirection with my Quincy 2005 compiler. My first while loop is supposed to do this and i dont know how to start it. Can someone...
  21. Replies
    7
    Views
    2,295

    i am using I/O redirection through my compiler i...

    i am using I/O redirection through my compiler i dont need to open the
  22. Replies
    7
    Views
    2,295

    i read through the text but i still havent...

    i read through the text but i still havent firgured out how to implement that in my program an you please give me some more advice.
  23. Replies
    7
    Views
    2,295

    how can i make my first loop read from a file...

    how can i make my first loop read from a file until i have reached the end of the file
  24. Replies
    7
    Views
    2,295

    reading a DNA strain from a file

    i have a problem to read a DNA strain ( a sequence of the letters A G T C) im confused about my first loop its supposed to read dada from a file and end when the file is done can someone please give...
  25. i did that and it still doesnt work. Can you...

    i did that and it still doesnt work. Can you please show me the code to run the program.


    #include <stdio.h>

    int main (void)
    {
    int counter = 0;
    int num1;
    int largest = 0;
Results 1 to 25 of 40
Page 1 of 2 1 2