User Profile

Collapse

Profile Sidebar

Collapse
README
README
Last Activity: Nov 22 '08, 01:13 AM
Joined: Nov 2 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • README
    replied to c++-arrays need help.
    in C
    yes i do. i need to implement an algorithm, such stated above. please assist me. i went to t tutor but she did not know the solution either. please help me fix my code....
    See more | Go to post

    Leave a comment:


  • README
    replied to c++-arrays need help.
    in C
    Its still not working :(...
    See more | Go to post

    Leave a comment:


  • README
    replied to c++-arrays need help.
    in C
    help please . stuck on this stupid array algorithm. any c++ speacialist?

    so what i need to do is implement a code that will take the maximum number in a array and put it into another array. events[] is an array that contains numbers that was extracted from a file. Count is the number of numbers in the array events[ ] because i did not know how many numbers i was reading. numDays is also an array.eventNumD ays is the array for which...
    See more | Go to post

    Leave a comment:


  • README
    replied to c++-arrays need help.
    in C
    It did not help. the output just came to be 0,0,0,0,...
    See more | Go to post

    Leave a comment:


  • README
    started a topic c++-arrays need help.
    in C

    c++-arrays need help.

    so what i need to do is implement a code that will take the maximum number in a array and put it into another array. events[] is an array that contains numbers that was extracted from a file. Count is the number of numbers in the array events[ ] because i did not know how many numbers i was reading. numDays is also an array.eventNumD ays is the array for which i need to put the maximun number that numDays [] contains. but this is just not the any...
    See more | Go to post

  • README
    replied to Casting as a pointer help.
    in C
    what are you asking?
    See more | Go to post

    Leave a comment:


  • oh it justs creates a file called numbers.txt, inserts it with 150 random numbers. then i have to check each number's frequency by using array. for example, a number 3 in the number.txt corresponds to the element in array [2]. and thus array[2] gets x++. and so on...
    See more | Go to post

    Leave a comment:


  • README
    started a topic what is wrong with this code? cant figure it out.
    in C

    what is wrong with this code? cant figure it out.

    //what i needed to do was to read the file number.txt, and check for frequencies by using arrays.

    Code:
    #include<iostream>
    #include<fstream>
    #include<ctime>
    #include<cstdlib>
    using namespace std;
    int MAX=20;//Global variable
    void createDataFile();//Function prototype
    int main(){
    
    //Call function;
    createDataFile();
    
    //Declare
    ...
    See more | Go to post
    Last edited by JosAH; Nov 3 '08, 05:36 PM. Reason: added [code] ... [/code] tags

  • README
    started a topic somebody help, time is limited till 10pm
    in C

    somebody help, time is limited till 10pm

    ok i have the following c++ and need help to develope a function of the following description :

    void addRational(int & ansNum, int& ansDenom)

    This function will get 2 rational numbers from the user by calling getRational(), addsthose values and sets the result in ansNum (answer numerator) and ansDenom. It finally
    calls displayRational to display the answer.

    now i have created the...
    See more | Go to post
No activity results to display
Show More
Working...