Search:

Type: Posts; User: JulleH

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,128

    In real code I'm trying to make a console...

    In real code I'm trying to make a console program. I have classes "Application", "Normal_screen", "Clock_window", "Clock" and "Curse_window" in this hierarchy:

    Application
    |_Normal_screen
    | ...
  2. Replies
    3
    Views
    1,128

    Accessing classes over classes

    Hey!

    I've been fighting with a problem about using members of a class. I haven't got anything working solution of it. I've tried searching from google too. Probably I just don't know what to...
  3. Replies
    22
    Views
    2,554

    I've learned a lot from this...thanks :) Now I...

    I've learned a lot from this...thanks :) Now I can continue my programs (until...). Anyway, this was reeealy good idea to ask this in here. There are experts in here and don't have to wait answers...
  4. Replies
    22
    Views
    2,554

    :D finally something good...it works...via...

    :D finally something good...it works...via command line, even pretty soon. Can't do it via IDE, though. I tried to mess around with makefile of my project (project1.bpr). I thought it'd work after...
  5. Replies
    22
    Views
    2,554

    Yes, I put C code in it because it was easier...

    Yes, I put C code in it because it was easier (and shouldn't affect errors in this case?). I haven't used iostreams so much and couldn't remember how to use it.



    I removed the guards in cpp...
  6. Replies
    22
    Views
    2,554

    Okays, I tried it (finally) again but still...

    Okays, I tried it (finally) again but still didn't get it to work. Nor compilers, linkers or anything else. I noticed that even pragma didn't work now, it just seemed to fix "unresolved externals" of...
  7. Replies
    22
    Views
    2,554

    Uhh... I got it work with #pragma link

    Uhh... I got it work with #pragma link <object file> in my test project which was cool until I tried it with my other project. Well it wasn't so cool anymore... I tried to compile the...
  8. Replies
    22
    Views
    2,554

    Thanks both of you, I think this was pretty...

    Thanks both of you, I think this was pretty useful info for the future :)



    I was wondering about how do I link objects but looks like it's program's issue, not mine.

    But, still the same...
  9. Replies
    22
    Views
    2,554

    If I remove the #include in the header file, in...

    If I remove the #include in the header file, in what point do I get the definitions for declarations from if I don't #include the .cpp file?

    I understand that like this:

    <other file> -->...
  10. Replies
    22
    Views
    2,554

    I have always done so ever since I've seen that...

    I have always done so ever since I've seen that style elsewhere :) So, that's for the definitions of header file declarations. Like for that evil constructor and destructor and if there are something...
  11. Replies
    22
    Views
    2,554

    Hmm...I haven't needed nor done that before. I...

    Hmm...I haven't needed nor done that before. I have just recently moved from C to C++, so maybe that's why. How do I check that out? Although, I didn't get this error with my first class made in same...
  12. Replies
    22
    Views
    2,554

    Why "unresolved external"?

    Hi...

    I've been wondering this problem for a while today. I thought it can't be this weird because it's in so small scale...but...here it is. Maybe you understand why it gives me unresolved...
  13. Replies
    4
    Views
    1,047

    Aah, yeah, I tried similar case earlier but it...

    Aah, yeah, I tried similar case earlier but it failed for me because I got an error "'guy_v' is not a member of Map, because the type is not yet defined" when I used watch to see the value of 'guy_v'...
  14. Replies
    4
    Views
    1,047

    So, really, there's not any normal way to...

    So, really, there's not any normal way to structure files of a program? I'd like to be able to include the types separately.

    Are there any good sites telling about this?
  15. Replies
    4
    Views
    1,047

    Including problems...

    Hi, I have one simple(?) question about conflicts in including files. I use C++ Builder but actually I use it as C cause I know it better :D

    So, the cause of the problem is...

    --- map.h ---

    ...
  16. Thread: Tokens?

    by JulleH
    Replies
    12
    Views
    1,419

    Well, for 1. question. You can use fgets() to...

    Well, for 1. question. You can use fgets() to read constant numbers of characters from a stream to a string. But it stops reading if it hits '\n', newline character.

    And for 2. question, if I got...
  17. Replies
    17
    Views
    24,260

    mov edi,[screen_selector] mov ...

    mov edi,[screen_selector]
    mov esi,[buffer_selector]
    mov ecx,200d
    rep movsd


    What does it make, I have just some kind of idea of that? :)
    mov makes a variable but are edi, esi and ecx...
  18. Replies
    17
    Views
    24,260

    Ah I read it too fast I think, it wasn't what I...

    Ah I read it too fast I think, it wasn't what I thought at first. Writing screen with printf() :) So, nothing then.
  19. Replies
    17
    Views
    24,260

    I've had problems with the same thing so long and...

    I've had problems with the same thing so long and I've been using puttext() for it. Of course bubba's idea in his last message depends on pc's power but it's still much slower than puttext() for I...
  20. Replies
    5
    Views
    2,616

    Well this is what I do to find out ascii code of...

    Well this is what I do to find out ascii code of key I wanna know. I use debug window of borland c++ 4.0 with this:


    int key = getch();

    Then i use the debug window and look at the value of...
  21. Replies
    3
    Views
    1,248

    ok, gotta learn then, thanks to both

    ok, gotta learn then, thanks to both
  22. Replies
    3
    Views
    1,248

    Output of image files

    Hello hello :) I'm totally jammed with images, mainly jpeg/jpg and I hope you understand what I try to explain now ;)
    I've been trying to read a should-be-simple jpg of pixel size of 1x1 and same...
  23. Replies
    3
    Views
    9,599

    hmm :confused: I copied your bar code and...

    hmm :confused: I copied your bar code and compiled it and I got an expression syntax error...and i'm wondering if that should work with all compilers, even with my brcc32.exe (i didn't find the...
  24. Replies
    3
    Views
    9,599

    Array initializing to a function parameter

    Hi all..I have a little situation that I'd really like to know.
    I could have for example

    struct Something {
    int arr[7];

    Something(int _arr[]) {...}
    ~Something() {}
    };
Results 1 to 24 of 24