Search:

Type: Posts; User: jonnyfb

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,077

    Random numbers the same every time!

    I have a program which generates random cards from deck but when I run it, it says the same every time!

    How can this be?
  2. Replies
    4
    Views
    1,328

    Ok I have used that to help me change the 1st...

    Ok I have used that to help me change the 1st line to blue background but I cant figure out how to change the rest of the background back to black.
  3. Replies
    4
    Views
    1,328

    Colours of text/background?

    Hello. How can i change the color of text or the background?
    I cant seem to find the answer anywhere on the internet but I know it can be done.

    Jon
  4. Replies
    4
    Views
    876

    Hey thanks, I'll remember that!

    Hey thanks, I'll remember that!
  5. Replies
    4
    Views
    876

    Ok I changed it to [4][13] but I'm still getting...

    Ok I changed it to [4][13] but I'm still getting the same error. I only had it as [3][12] because I thought arrays started at 0.

    What do you mean by:

    and how do I fix that?

    Jon
  6. Replies
    4
    Views
    876

    Having problems with arrays!

    Hey, I have made an array for a pack of cards:


    char card[3][12] ={{"A",2,3,4,5,6,7,8,9,"T","J","Q","K"},
    {"A",2,3,4,5,6,7,8,9,"T","J","Q","K"},
    {"A",2,3,4,5,6,7,8,9,"T","J","Q","K"},...
  7. Replies
    6
    Views
    1,163

    Ah ok i think it was because I wasnt using this:...

    Ah ok i think it was because I wasnt using this:


    using std::string;
    using std::cout;

    I'll try it and see,
    Thanks,
  8. Replies
    6
    Views
    1,163

    Headers in Visual C++ 6.0

    Hi, I have recently started using Visual C++ 6.0 but I have a problem. I want to define a string so I added string.h to the headers directory and included it. The problem is that when I compile it,...
  9. Thread: Colors in C?

    by jonnyfb
    Replies
    15
    Views
    4,700

    Ok thanks I am going to use visual C++ 6 but...

    Ok thanks I am going to use visual C++ 6 but also, in my original post I asked:

    "I would like to know how to make my program wait before executing the next line so that I can give the effect of...
  10. Thread: Colors in C?

    by jonnyfb
    Replies
    15
    Views
    4,700

    Ok, I have something called Microsoft Visual C++...

    Ok, I have something called Microsoft Visual C++ 6.0 on a CD. Is that what I need?
  11. Thread: Colors in C?

    by jonnyfb
    Replies
    15
    Views
    4,700

    I just checked in the header directory but it...

    I just checked in the header directory but it doesnt have conio. Also it didnt give me a warning, only the error I told you about before. I think I am definitely going to get a new compiler!

    What...
  12. Thread: Colors in C?

    by jonnyfb
    Replies
    15
    Views
    4,700

    Yes but isnt that a C++ compiler?

    Yes but isnt that a C++ compiler?
  13. Thread: Colors in C?

    by jonnyfb
    Replies
    15
    Views
    4,700

    Colors in C?

    Hello, I want introduce color to my programs and I have tried using this:

    textcolor(YELLOW);

    But my compiler thinks YELLOW is a variable and says: line 23: variable 'YELLOW' not found. Is it...
  14. Replies
    4
    Views
    1,177

    Thankyou

    Thankyou
  15. Replies
    4
    Views
    1,177

    What? Im just asking if there is a way to copy a...

    What? Im just asking if there is a way to copy a clipboard value to a variable
    Eg.
    char i[1024] = getclipboard();

    Something like that. Surely you can be of more assistance than that.
    I dont...
  16. Replies
    4
    Views
    1,177

    Setting variables to clipboard values?

    Is there a way to access the clipboard using c?

    Thankyou,

    Jon
Results 1 to 16 of 16