hello, I'm new to C++, and the first program I am trying to write is a basic (and restrictive) FTP client called Gsupport. This is what I have done so far...
Code:
#include <cstdlib>
#include <iostream>
#include <stdlib.h>
using namespace std;

int main(int argc, char *argv[])
{
    char name, password, email;
    int true_or_false;
    cout<<"Welcome to Gsupport!\n";
    cout<<"please type in your name\n\n";
    cin>> name;
    cin.ignore();
    cout<<"your name is "<< name << ". OK saving to config file.\n";
    cout<<"what is your email?";
    cin>> email;
    cin.ignore();
    cout<<"thank you. your email address is "<< email << ". This will become your username.\n";
    cout<<"thank you for you patience. What would you like your password to be?";
    cin>> password;
    cin.ignore();
    cout<< "thank you! your user data has been saved to the config file. You have successfully registered... Gsupport is now going to clear this screen (for security reasons) and go to the login page.";
    system("PAUSE");
    //clear screen
    system("cls");
    
    // --------------------------- new screen
    cout<<"Gsupport will now try to  connect to it's server... please wait";
    cout<<"\n";
    // gsupport will now connect to the server with username: other and pass:other
    cout<<"\n";
    // gsupport will then show all files and directories
    //cin.get
    //on enter gsupport will search for the folder/file in the directory and go to it.
    // gsupport will now either loop this process until it finds a downloadable file, or download a file.
    cout<<"downloading file...\n";
    // optional... maybe it should show a percentage... maybe not.
    cout<<"\n";
    cout<<"\n";
    cout<<"your file has been downloaded. Do you want to continue downloading files? (yes = 1,no = 0)";
    cin>> true_or_false;
    cin.ignore();
    cout<<"you entered " << true_or_false << ".\n";
    if (true_or_false == 0) {
                      return 0;
                      }
                      else {
                           cout<<"working on your request...";
                           system("PAUSE");
                           }
    cout<<"working...";
    cout<<"\n";
    cout<<"\n";
    //cin.get;
    // 1 equals go to the start. 0 equals exit.
    system("PAUSE");
    return 0;

  
}
yes... I know there is still a lot of work to be done, and yes, it probably is really messy... What I would like to know is how I can connect via FTP to... lets say "ftp.gsupport.com" with the username "gsupport" and the password "guest". I am using devC++. I am quite new to programming, so please dont flame me, and use baby steps... because I tend to jump a little far sometimes...

thanks in advance,
s0l1dsnak3123

[edit] I'd also like to know how to use strings like in vb (or the C++ eqivilent)