Thread: Login/Register.

  1. #1
    deletedforumuser
    Guest

    Login/Register.

    How can i make a login and register program in c++?

  2. #2
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    any good compiler will do.
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  3. #3
    deletedforumuser
    Guest
    I know...But where can i learn how to do it.

  4. #4
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,820
    Well if you are talking about online registration then you probably would need to learn some sockets programming.

    http://beej.us/guide/bgnet/

  5. #5
    deletedforumuser
    Guest
    No,im talking about a client login that login from a txt file.

    No need for socket.

    Just something to register and login.Without having a server but just by a text file and the client.

  6. #6
    Sweet
    Join Date
    Aug 2002
    Location
    Tucson, Arizona
    Posts
    1,820
    Ah. That is way more simple. You would need to do research on File I/O.

    Lookup: fstream

Popular pages Recent additions subscribe to a feed