Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: Some problems in C++ #3519
    050449
    Participant

    Hi. I have a new problem now.

    I am using C++ builder 2009 and i cannot make “tmaskedit” to show characters as “*” like in web

    Can anyone help me?

    in reply to: Some problems in C++ #3517
    050449
    Participant

    thanks.and what about read() function ??

    in reply to: Some problems in C++ #3515
    050449
    Participant

    ups problem. problem with read not solved it shows each word in new line

    in reply to: Some problems in C++ #3514
    050449
    Participant

    Oh thanks it works well.

    but can you explain what “cin.get()” means??
    and what it used for?

    and now i have to think how to remove confirmation

    in reply to: Some problems in C++ #3512
    050449
    Participant

    thanks it works ok.
    now code is

    but there is some problems too.
    when i enter username it writes only first the letter of the username and all other letters understands as answer to the confirmation and writes

    You autorised as:N
    do you want to input data to file ( y or n )
    bad choice!
    do you want to input data to file ( y or n )
    bad choice!
    do you want to input data to file ( y or n )

    and when it shows the data of the file it puts n after all words and when i write “something is wrong”
    it shows
    something
    is
    wrong
    but in file everything is ok

    in reply to: Some problems in C++ #3510
    050449
    Participant

    if ( sendtext )
    {
    FILE * pFile;
    char yazi[] = {sendtext , ‘n’};
    pFile = fopen ( “msngr.txt” , “a+” );
    fwrite (yazi , 1 , sizeof(yazi) , pFile );
    fclose (pFile);
    read(); //take these out!
    write();
    }

    if i take this out my new text will not appear

    in reply to: Some problems in C++ #3509
    050449
    Participant

    i defined MAX_SIZE and this problem solved but now it shows me

    invalid conversion from char’ to const char*’
    initializing argument 2 of `char* strcpy(char*, const char*)’

    in reply to: Some problems in C++ #3507
    050449
    Participant

    thanks for all but there is error

    `MAX_SIZE’ undeclared (first use this function)

    in reply to: Some problems in C++ #3508
    050449
    Participant

    thanks for all but there is error

    `MAX_SIZE’ undeclared (first use this function)

Viewing 9 posts - 1 through 9 (of 9 total)