Results 1 to 4 of 4

Thread: "C"

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    SW Newbie Lubakis's Avatar
    Join Date: Oct:2005
    Location: In front of my PC
    Posts: 24

    "C"

    , , . . , . , source . ...
    Code:
    #include <stdio.h>
    #include <conio.h>
    #include <stdlib.h>
    int x,y;
    char c;
    int main(void) {
        printf("Vyvedete simvol: ");
        scanf("%d",c);
        clrscr();
        randomize();
        while (!kbhit()) {
        		for (x = 0; x < 300; x ++) {
           		for (y = 0; y < 150; y ++) {
               	gotoxy(random(x) / 300,random(y) / 150);
               	printf("%c",c);
               	clrscr;
                }
             }
        }
        return 0;
    }

  2. #2
    4.7 V8 Bi-Turbo (M278) -CTPAX-'s Avatar
    Join Date: Jun:2002
    Location:
    Posts: 862
    printf clrscr,
    i7-3930K@4.7(47x100, 1.41v), EK Supreme HF, Phobya G-Changer 420, XSPC Laing DDC Dual + Pump, Asus Rampage IV Formula, 4x2G RipjawsZ 2133MHz, GTX980Ti EVGA w/ EK-FC Titan, CM ATCS 840, Corsair AX1200, Corsair Force 3 120GB, HP ZR2740w

  3. #3
    SW Newbie Lubakis's Avatar
    Join Date: Oct:2005
    Location: In front of my PC
    Posts: 24

  4. #4
    ɐ-əpoɔᴉu⋂ ɐ ə anrieff's Avatar
    Join Date: Apr:2004
    Location: Sofia
    Posts: 8,448
    , .
    1.
    Code:
    scanf("%c", &c);
    Code:
    scanf("%d", c);
    2. , . 0,0, random(x) e x-1 300 ( 150 ) 0...
    3. . / , DOS.h delay(). Unix, sleep() ( - ) while() {} gettime gettimeofday .
    , . .
    "640K ught to be enough for anybody" - Bill Gates, 1981
    ::Machine specs::Fract::AGG::::Baileys::blog::YouTube channel

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |