User Profile

Collapse

Profile Sidebar

Collapse
zzho039
zzho039
Last Activity: Oct 20 '07, 02:25 AM
Joined: Sep 13 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • zzho039
    started a topic Segmentation fault.
    in C

    Segmentation fault.

    hi, im doing a stage 2 compsys paper in uni.
    got stuck with the project
    could some1 have a look at my code and tell me why there's segmentation fault, plz?

    this project is simplified to find the white rectangle on the red wall of a given image.

    my main:

    [CODE=cpp] BMP bmpIn;
    bmpIn.load("tes t3.jpg");
    bmpIn.moveCurso rTo(0,30);

    firstvertex =...
    See more | Go to post
    Last edited by Ganon11; Oct 20 '07, 02:41 AM. Reason: Please use the [CODE] tags provided.

  • zzho039
    started a topic linux command in C/C++
    in C

    linux command in C/C++

    doing second year course in uni, just had a test.
    one of the question is asking soemthing like with the following shell command:

    cat ./thing1 | ./thing2 ./thing3 `./thing4`

    Please choose one:
    a) thing1 thing2 thing3 are probably programs and thing4 is a data file
    b) thing1 thing2 thing4 are probably programs and thing3 is a data file
    c) thing2 thing4 are probably programs and thing1...
    See more | Go to post
No activity results to display
Show More
Working...