Search:

Type: Posts; User: sami

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,458

    dont worry about it,,got it!!!

    dont worry about it,,got it!!!
  2. Replies
    4
    Views
    1,458

    done but still

    I did wha tyou suggested V and its still gives me the exact same errors?????
    any other ideas?????
    and here is my canvas class if thats going to be any help,,,,i am spending hours on it and zilch...
  3. Replies
    4
    Views
    1,458

    i actually forgot to give you the error,,,oops ...

    i actually forgot to give you the error,,,oops
    here it is:
    when i compile like so:
    $ g++ -o main main.cc Image.cc canvas.cc command.cc
    i get:

    command.cc: In function `bool cmd_line(istream...
  4. Replies
    4
    Views
    1,458

    whats this error??? help

    hi guys,,,can u plz tell me why i get the following error when i compile my 4 files?????
    i have in my image.h file :


    #include <vector>
    #include "colour.h"
    #include <iostream>
    #include...
  5. Thread: maps

    by sami
    Replies
    0
    Views
    832

    maps

    hi all,,,,
    if i create a map of key string and value, a class called image,,,,eg:
    map(string,image) ,,,where image is a class,,,,,,how can i add new elements to the map???? so if i have a function...
  6. Thread: classes,,,help!

    by sami
    Replies
    7
    Views
    1,092

    thank you zen so much,,,i think thats exactly...

    thank you zen so much,,,i think thats exactly what i need,,,and yes i do mean STL map,,,by the way does anyone know where i can find some good exaple coding for maps,,,,i can't find any on the web!!!!
  7. Thread: classes,,,help!

    by sami
    Replies
    7
    Views
    1,092

    I put class as the heading bc i am trying to...

    I put class as the heading bc i am trying to create the image class,,,,i think i am not explaining myself very well,,,,,here is the deal,,,,,we are given these .h and .c files which are the codes for...
  8. Thread: classes,,,help!

    by sami
    Replies
    7
    Views
    1,092

    thanx for the quick reply,,,,but no i dont think...

    thanx for the quick reply,,,,but no i dont think i need inheritance,,,the thing is that i need to put all these functions( they are not specified as classes,,,they are just files) into an image class...
  9. Thread: classes,,,help!

    by sami
    Replies
    7
    Views
    1,092

    classes,,,help!

    hi guys,,,
    before i ask for your help again,,i wanted to thank those of you who answered my last post,,it was a great help.
    this time i was wondering ,,if i have created .h file and .c file classes...
  10. Thread: help with ....

    by sami
    Replies
    4
    Views
    1,179

    help with ....

    hi all,,,,
    can anyone tell me what is a segmentation fault????? when i try to run this piece of code,,,,it compiles ofcourse but then when i try to run it it goes segmentation fault (core dumped)...
Results 1 to 10 of 10