Search:

Type: Posts; User: codeshark

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    3,336

    I got it working guys. Thanks for all the help!

    I got it working guys. Thanks for all the help!
  2. Replies
    7
    Views
    3,336

    Hey salem lol. glad to see you again. well the...

    Hey salem lol. glad to see you again. well the file is literally called "2". I just dont know how to sort "myshell.c" and putting that output in a file called "2"...
  3. Replies
    7
    Views
    3,336

    How to redirect using pipelines

    I am trying to implement the command
    sort myshell.c > 2 in C.

    But I am having difficulties understanding how to use pipelines to do so.



    int main(){
    char *args[] = {"sort",...
  4. Replies
    4
    Views
    3,225

    Thank you Salem, you're the bomb.

    Thank you Salem, you're the bomb.
  5. Replies
    4
    Views
    3,225

    Ill look into dup(), how would I check for > or...

    Ill look into dup(), how would I check for > or >> or | to do the according process?
  6. Replies
    4
    Views
    3,225

    Pipelines and I/O redirections

    I have to extend and modify the program to:

    Redirect(>)standard output from a command to a file. If the file already exist, it will beerased and overwritten without warning.
    Examples:


    COP$...
  7. I was able to get the rotation of 90 degrees and...

    I was able to get the rotation of 90 degrees and -90 degrees. Cant figure out the 180 yet...



    int rotate(PIXEL* original, int rows, int cols, int rotation,
    PIXEL** new, int*...
  8. I tried implementing your approach but it didnt...

    I tried implementing your approach but it didnt quite work :-/. I really don't know why.



    int rotate(PIXEL* original, int rows, int cols, int rotation,
    PIXEL** new, int* newrows,...
  9. Makes sense, Okay Ill try it now. Thanks for the...

    Makes sense, Okay Ill try it now. Thanks for the help by the way. People usually dont like to help much these days.
  10. Rotating a .bmp image by a multiple of 90 in C

    I am trying to rotate a bmp image by 90(-270), 180(-180), 270(-90) degrees. But I am not sure how to go about it. I know I have to manipulate the rows and columns for the bitmap. But I am unsure how...
Results 1 to 10 of 10