User Profile

Collapse

Profile Sidebar

Collapse
kandigirl2009
kandigirl2009
Last Activity: Feb 15 '08, 02:19 PM
Joined: Feb 15 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • kandigirl2009
    replied to can someone explain this to me?
    in C
    is this right?
    [CODE=cpp]void loadArray(const int*, const int);
    int main()
    {
    //Declare variables
    int myArray[5]; //IN: holds the array of integers
    loadArray(myArr ay, 5); //IN: invokes loadArray




    system("pause") ;
    return 0;

    }

    void loadArray(const int *myArray, const int size)
    {
    //Increments...
    See more | Go to post
    Last edited by Ganon11; Feb 15 '08, 02:51 PM. Reason: Please use the [CODE] tags provided.

    Leave a comment:


  • kandigirl2009
    replied to Please help urgently!
    in C
    its hard when you're going by Daniel Liang's style....its so computer science based and they're learning how to just hack at code--...
    See more | Go to post

    Leave a comment:


  • kandigirl2009
    replied to can someone explain this to me?
    in C
    i'm in deltamami's class and this is what the teacher told us about those problems: well, about number one

    first of all... this should not be a main( ) function...

    second... the function should have an array passed to it (by passing a pointer to the first element), and an integer value that you will search for in the array, and one other variable that you will need for the loop control

    third... the...
    See more | Go to post

    Leave a comment:


  • kandigirl2009
    started a topic can someone explain this to me?
    in C

    can someone explain this to me?

    I'm a beginner in C++ and my teacher is not explaining the material correctly. I was wondering if I could get help
    See more | Go to post
No activity results to display
Show More
Working...