User Profile

Collapse

Profile Sidebar

Collapse
farizaz
farizaz
Last Activity: Mar 25 '08, 09:32 PM
Joined: Jan 17 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • farizaz
    replied to Could not reset pointer
    in C
    Thanks, I have done it. But just wondering, why is it that data cannot be access from an array although it is pointing to the correct address? it give weird symbol like those on a deck of cards. Just curious to learn....
    See more | Go to post

    Leave a comment:


  • farizaz
    replied to Could not reset pointer
    in C
    Thanks for the feedback, i did somehow get an idea how to reset 'anothers' whiles waiting for the feedback but it goes only for 2 loops. When it got to the third, it did not give the data inside the array instead gives weird pictures like hearts and diamonds although i have checked that it is pointing at the correct address. please advice.

    for (p=k+1; p<row; p++)
    {
    cout << "Anothers" << anothers...
    See more | Go to post

    Leave a comment:


  • farizaz
    started a topic Could not reset pointer
    in C

    Could not reset pointer

    Hi..
    I have tried to reset my pointer, but when I check it does not go back to the original address. I have tried at so many places but it always points to the next address whereby there is no data inside. Could someone explain. Thanks! the code I've been working on is as below..

    [CODE=cpp]for (p=k+1; p<row; p++)
    {
    char (*bptr)[5] = anothers;
    anothers...
    See more | Go to post

  • farizaz
    replied to Read Multidimesional Array from Data Files
    in C
    Thank you very much!...
    See more | Go to post

    Leave a comment:


  • farizaz
    replied to Read Multidimesional Array from Data Files
    in C
    The code is given below:


    int main()
    {
    // ifstream constructor opens the file
    ifstream inClientFile( "example.tx t", ios::in);

    // exit program if ifstream could not open file
    if ( !inClientFile)
    {
    cerr << "File could not be opened" << endl;
    exit(1);
    } // end if

    double itemsets[6][5];
    ...
    See more | Go to post

    Leave a comment:


  • farizaz
    started a topic Read Multidimesional Array from Data Files
    in C

    Read Multidimesional Array from Data Files

    Hi!

    I'm new here also just learned the program. I'm trying to read 2-dimensional data from data files. It seems to display weird numbers. I think I don't know how to read the data files. Hopefully i can learn from someone.
    See more | Go to post
No activity results to display
Show More
Working...