Thread: My first "real" really smal is mostly for practice.

  1. #31
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    You might want to look a bit more closely then
    Piece of cake, but you will have to make use of the gotoxy function that is defined in the Cprogramming FAQ.
    My best code is written with the delete key.

  2. #32
    Registered User
    Join Date
    Dec 2001
    oh, sorry..looks like im 4getting sumthin.. brain maybe? hehe .. btw u wouldnt know the ascii for enter + space would yah?

  3. #33
    Registered User
    Join Date
    Dec 2001
    why is this function hella crappin up my proggy?

    when i try to run it, in the middle of the program it gives me an error about system.c

    tinput(char* path, char color1, char color2,char color3)
    HANDLE h;
    h = GetStdHandle ( STD_OUTPUT_HANDLE );
    int j = 1;
    for (int i = 0;Text[i] != '\0';i++)

    case 1:
    SetConsoleTextAttribute (h, color1);
    j = 2;
    case 2:
    SetConsoleTextAttribute (h, color2);
    j = 0;
    SetConsoleTextAttribute (h, color3);
    j = 1;
    return *path;

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 02-21-2008, 09:39 AM
  2. Using variables in system()
    By Afro in forum C Programming
    Replies: 8
    Last Post: 07-03-2007, 12:27 PM
  3. BOOKKEEPING PROGRAM, need help!
    By yabud in forum C Programming
    Replies: 3
    Last Post: 11-16-2006, 10:17 PM
  4. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM
Website Security Test