CS
VB, VB.NET
ASP.NET,ASP
C, C++
ColdFusion
PHP
Javascript
Delphi
Flash
Java
Graphisme
Irc
Assembleur
C#
Mobilité
SQL
Foxpro
Python
Regex
Flex
Windev
Ce site au démarrage
Derniers codes
Outils
Divers
Connexion
Visual Basic
ASP
C++
ColdFusion
PHP
Javascript
Delphi
Flash
Java
Graphisme
Irc
Assembleur
C#
Mobilité
SQL
Foxpro
Python
Regex
Flex
Statistiques ;-)
Crédits
>>
Sites CodeS-SourceS
Visual basic
C++
C#
Java
PHP
ASP
ASP.NET
ColdFusion
Delphi
Javascript
Flash
Flex / AIR
Graphisme
Assembleur
IRC
Mobilité
SQL
FoxPro
Python
CodeS-SourceS ToolBox
Convertisseur C#<->VB
Colorisation de Code
Table ASCII
Trouver un fichier de code source :
Version Française -
English Version
Accueil
>
C++
>
QL-CHATROOM V 1.0
>
MiniChat/Server/user.cpp
QL-CHATROOM V 1.0
MiniChat/Server/user.cpp
Informations sur ce code source
Code Source
QL-CHATROOM V 1.0
Auteur
mature
Fichier
MiniChat/Server/user.cpp en
C / C++ / C++.NET
Publié le
02/03/2012
Qualité ChatRoom v 1.0 Une application de chat, genre salon de chat avec un administrateur. Programmer par C++, bibliothèque Qt architecture client/serveur. Les sockets sont échangés entre les clients et le serveur par le protocole réseau T
Fichier :
MiniChat/Server/user.cpp
Nombre de lignes :
37 lignes
Afficher ce fichier en plein écran
/*
Qualité ChatRoom a ChatRoom.
Copyright (C) 2012 KHABALI Anas
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Contacte:
Email: anas.khabali@gmail.com
phone: +212676747779
site : http://http://khabalisoft.e-monsite.com/
*/
#include "
user.h
"
User::User(QString p,QString a,QString s)
{
if
(!p.isEmpty()) pseudo = p;
if
(!a.isEmpty()) avatar = a;
if
(!s.isEmpty()) statut = s;
}
User::User(
const
User &copie){
pseudo= copie.pseudo;
avatar = copie.avatar;
statut = copie.statut;
}