User Profile

Collapse

Profile Sidebar

Collapse
Firoza R
Firoza R
Last Activity: Oct 31 '10, 06:26 PM
Joined: Oct 1 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Firoza R
    replied to Doing Shifts In An Array
    in C
    This is what I have for the remove function:

    ...
    See more | Go to post

    Leave a comment:


  • Firoza R
    replied to Doing Shifts In An Array
    in C
    I never used the memcpy function. :(

    There are three main functions of this assignment: insert, attach, and remove. I used while loops for both insert and attach but I'm not sure how I would use a loop in general for the remove function. I have the following code:

    ...
    See more | Go to post

    Leave a comment:


  • Firoza R
    replied to Doing Shifts In An Array
    in C
    My instructor only wants us to use arrays though.
    See more | Go to post

    Leave a comment:


  • Firoza R
    started a topic Doing Shifts In An Array
    in C

    Doing Shifts In An Array

    Note: I'm using jGrasp and writing C++
    I'm supposed to create a "remove" function based off of the following postcondition:

    "The current item has been removed from the sequence, and the item after this (if there is one) is now the new current item."

    I'm aware that one cannot simply remove an element from an array, leaving the position unoccupied, but is it possible to shift the elements in...
    See more | Go to post
No activity results to display
Show More
Working...