User Profile

Collapse

Profile Sidebar

Collapse
georges the man
georges the man
Last Activity: Oct 13 '06, 07:44 AM
Joined: Sep 18 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • georges the man
    replied to pre increment or pre decrement
    in C
    i compiled the code and the output was 5???
    what are you expecting?
    See more | Go to post

    Leave a comment:


  • georges the man
    replied to how to use arrays
    in C
    sorry but still dont understand!!!!
    can you explain it more
    See more | Go to post

    Leave a comment:


  • georges the man
    replied to how to use arrays
    in C
    sorry for this but how do i parser????
    See more | Go to post

    Leave a comment:


  • georges the man
    replied to how to use arrays
    in C
    i mean,
    i have to read data from a file into the array,
    the data in the file i am reading are seperated by comma,
    i want to seperate the data from the file into the the array so it can be accessed easily later.
    See more | Go to post

    Leave a comment:


  • georges the man
    started a topic how to use arrays
    in C

    how to use arrays

    how can i read something into an 3D array??
    See more | Go to post

  • sorry for the double posting. but i am so frustrated trying to do write this program. i actualy did some of the code.
    my code is the following:


    #include <stdio.h>
    #include <stdlib.h>

    #define max_r 762
    #define max_c 7

    typedef enum
    {jan=1,feb=2,ma r=3,apr=4,may=5 ,jun=6,jul=7,au g=8,sep=9,oct=1 0,nov=11,dec=12 }month;

    typedef struct {
    int...
    See more | Go to post

    Leave a comment:


  • need the steps and i do the rest.

    hey guys,

    i ve been posting for the last week trying to understand some stuff about c and reading but unfortunaly i couldnt do this.
    can any one give me the outine of what to do and i ll do it by myself.
    need the steps and i do the rest.
    the description is the following:


    the program will read a text file that contains historical price of a...
    See more | Go to post

    Leave a comment:


  • need an outline of how to write a code for my program

    hey guys,

    i ve been posting for the last week trying to understand some stuff about c and reading but unfortunaly i couldnt do this.
    i have to write the following code. this will be the last time i ask for an entire code or u can give me the outine of what to do and i ll do it by myself.
    the description is the following:


    the program will read a text file that contains historical price of a stock....
    See more | Go to post

  • georges the man
    started a topic reading into an array.
    in C

    reading into an array.

    hey guys,
    i am trying to read a csv file into an 3d array.

    the file format is the following:
    ABC,"12 aug 2006",323.343,5 454,4545.4545.4 545...
    ..
    ...
    ...
    ...

    for 762 rows and 7 columns.

    how can i read this file into a 3D array, one for the column one for the rows and one for the length of the stream..

    thanks guys.
    See more | Go to post

  • georges the man
    replied to reading using fread
    in C
    i am reading from a csv file.
    i need to read each column separetly.
    so i can sort the data of the column and use later.
    the following is a part of the file i am reading;
    BHP,"30 Sep 2002",9.14,9.2, 9.05,9.05,16923 879

    BHP,"01 Oct 2002",9.1,9.29, 9.07,9.29,89067 81

    BHP,"02 Oct 2002",9.5,9.54, 9.35,9.39,14950 825

    BHP,"03 Oct 2002",9.39,9.39 ,9.21,9.24,8216 758...
    See more | Go to post

    Leave a comment:


  • georges the man
    started a topic can i get any help writing this program?
    in C

    can i get any help writing this program?

    The purpose:
    • Sorting and Searching
    • Numerical Analysis


    Design Specification
    You are to write a program called “StockAnalyser” . Your program will read a text file that
    contains historical price of a stock. The program will allow users to query the stock price of a
    particular date and output its statistics (mean price, median price and standard deviation) for any...
    See more | Go to post

  • georges the man
    started a topic how to use fgets
    in C

    how to use fgets

    if i have the following data in a text file;

    BHp,"12 feb 2006",32.42,242 4.35,3535.535
    BHP,"13 feb 2006",434.35,35 35.5454,353
    and so on
    using fgets how can i get the program to read the column of BHP, date
    each by itself
    See more | Go to post

  • georges the man
    started a topic reading using fread
    in C

    reading using fread

    how do i read from a text file using fread
    See more | Go to post

  • georges the man
    replied to reading a csv file
    in C
    what this mean??
    system("cut -d',' f1 filename > file1");
    system("cut -d',' f2 filename > file2");
    system("cut -d',' f5 filename > file3");
    See more | Go to post

    Leave a comment:


  • georges the man
    replied to sorting dates
    in C
    the date is in the following format;

    date month year
    ie: 12 feb 2006
    See more | Go to post

    Leave a comment:


  • georges the man
    replied to sorting dates
    in C
    can u give me an example;

    say that the dates are:
    12 aug 2006
    13 aug 2006
    11 aug 2006
    09 aug 2006
    See more | Go to post

    Leave a comment:


  • georges the man
    replied to reading a csv file
    in C
    still dont get what u saying.


    i need u to tell me how to do that in the
    int main(void)
    {}
    format..



    sorry for that
    See more | Go to post

    Leave a comment:


  • georges the man
    replied to searching in c
    in C
    sorry,
    i have to write a program in c.
    first i have to sort the data in a csv file according to dates.
    than searching for a certain price according to a specific date entered by the user, than outputting the price.
    See more | Go to post

    Leave a comment:


  • georges the man
    replied to sorting dates
    in C
    how can i do this..

    i am just a beginner in c.

    not sure how should i do it
    See more | Go to post

    Leave a comment:


  • georges the man
    replied to reading a csv file
    in C
    sorry i didnt understand the code...
    i am using c language...
    so if u can plz send back
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...