Search:

Type: Posts; User: RayJay

Search: Search took 0.00 seconds.

  1. Replies
    21
    Views
    6,736

    Right I've found the issue. In the...

    Right I've found the issue. In the graphics_lib.cpp file, there's a line in static void set_defaults() which reads bkcolor(0);. This is, apparently, causing the error, because if I set this to 1, the...
  2. Replies
    21
    Views
    6,736

    Right. Here is a very edited version of my code:...

    Right. Here is a very edited version of my code:

    test.cpp:
    /*
    * A test of the program
    *
    */
    #include "graphics_lib.h"
    #include "test.h"
  3. Replies
    21
    Views
    6,736

    Okay. This is starting to deteriorate and detract...

    Okay. This is starting to deteriorate and detract from the initial problem. Let's start again.

    Looking at this website (Turbo C Graphics - setbkcolor function) it seems that the setbkcolor sets...
  4. Replies
    21
    Views
    6,736

    Well we're using an edited version of the borland...

    Well we're using an edited version of the borland graphics library - I think the lecturers have changed it so that it works using Visual C++. I'm not sure how it works, but I've added the files to...
  5. Replies
    21
    Views
    6,736

    No. I said the outtextxy works. In the initial...

    No. I said the outtextxy works. In the initial post there wasn't anything to do with setbkcolor. Try to read the initial post closely, instead of bi*ching about people asking questions. This is a...
  6. Replies
    21
    Views
    6,736

    Well as much as I'm sure you guys love talking...

    Well as much as I'm sure you guys love talking about how dated Borland APIs are, this really isn't much help for my current problem. And yes, Quzah, I can google it (and have) and it should work. My...
  7. Replies
    21
    Views
    6,736

    Yes Jim, I have considered it, but unfortunately...

    Yes Jim, I have considered it, but unfortunately my university requires me to use Visual C++ Express and do things in a certain way. If this was simply a personal project, I wouldn't be doing it in C...
  8. Replies
    21
    Views
    6,736

    I've tried that and it doesn't seem to work. Does...

    I've tried that and it doesn't seem to work. Does setbkcolor() set the whole background colour, because if it does, then this wouldn't affect the text box bit - the colour of my background wasn't...
  9. Replies
    21
    Views
    6,736

    Help with outtextxy()

    Hey y'all,

    I have a program using the graphics.h library, and to cut a long story short, I'm trying to put text onto the graphics window using outtextxy().

    I have this:



    setcolor(WHITE); ...
  10. Replies
    13
    Views
    1,699

    Thanks very much man! You're a star!

    Thanks very much man! You're a star!
  11. Replies
    13
    Views
    1,699

    Haha - I'm not getting paid to do - it's just to...

    Haha - I'm not getting paid to do - it's just to make my paid job easier... like VBA! :D
  12. Replies
    13
    Views
    1,699

    Yer - that's the bit which I'm tied up on -...

    Yer - that's the bit which I'm tied up on - skipping to the nth line of the file - i can use scanf to scan for the tab separated values, but it's the inputting of the line which I'm stuck on
    ...
  13. Replies
    13
    Views
    1,699

    Except it's not - it's for my job (I'm not even...

    Except it's not - it's for my job (I'm not even at school mate) - so if you don't have a constructive answer, please don't reply...
  14. Replies
    13
    Views
    1,699

    Lots of little questions

    Hi all,

    I have a couple of problems, so I thought I'd concentrate them into 1 post:

    Problem 1:

    I have a text file with a list of numbers like this:

    1
    2
Results 1 to 14 of 14