Search:

Type: Posts; User: dani2304

Search: Search took 0.00 seconds.

  1. Replies
    11
    Views
    10,390

    Yeah that would be weird :D But maybe you can...

    Yeah that would be weird :D

    But maybe you can help me with another little problem.


    #include <stdint.h>
    #include <stdio.h>
    #include <string.h>
    #include <time.h>
    void Zeitmessung(){
  2. Replies
    11
    Views
    10,390

    #include #include #include...

    #include <stdio.h>
    #include <stdlib.h>
    #include <unistd.h>
    #include <termios.h>

    void die(const char *msg) {
    perror(msg);
    exit(EXIT_FAILURE);
    }
  3. Replies
    11
    Views
    10,390

    Okay i got it: int main(void) { char...

    Okay i got it:


    int main(void) {
    char Passwort[10];
    int i=0,j;
    printf("Gebe das Passwort ein:\n");
    do{
    Passwort[i]=getch();
    if(Passwort[i]==10) break;
  4. Replies
    11
    Views
    10,390

    #include #include #include...

    #include <stdio.h>
    #include <stdlib.h>
    #include <unistd.h>
    #include <termios.h>
    char getch(){
    char Wahl = 0;
    struct termios old = { 0 };

    fflush(stdout);
    if (tcgetattr(0,...
  5. Replies
    11
    Views
    10,390

    I copied it to my Eclipse IDE, but it still waits...

    I copied it to my Eclipse IDE, but it still waits for me to press Enter to continue... Do i have to link the terminos header to the linker library like math.h with a "m"?
  6. Replies
    11
    Views
    10,390

    Overwriting Console Output

    Hello,
    I got a problem trying to programm under Linux. I was trying to implement a fuction that will overwrite an input sentence. The function shall overwrite the read letters by hitting the Enter...
Results 1 to 6 of 6