Précédent   Forum des professionnels en informatique > Le club des professionnels en informatique > La taverne du Club : Humour et divers > Humour Informatique
Humour Informatique Le Forum des meilleures anecdotes en humour informatique
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Actualité déjà publiée
 
Outils de la discussion
Publicité
'
Vieux 04/07/2006, 11h02   #1
Invité de passage
 
Inscription : mai 2006
Messages : 2
Détails du profil
Informations forums :
Inscription : mai 2006
Messages : 2
Points : 1
Points : 1
Par défaut [Blague] Le langage de programmation C pour les experts

Le but de la manipulation est d'écrire un programme qui affichera "HELLO WORLD" à l'écran :

Terminale:
Code BASIC :
1
2
10 PRINT "HELLO WORLD"
20 END

DUT 1ère année:
Code Pascal :
1
2
3
4
program HELLO(input, output)
begin
    writeln('HELLO WORLD')
end.

DUT 2ème année:
Code (?) :
1
2
3
4
5
(defun HELLO
 (print
  (cons 'HELLO (list 'WORLD))
 )
)

Fraîchement sorti de l'école:
Code C :
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>
void main(void)
{
    char *message[] = {"HELLO ", "WORLD"};
     int i;
 
    for(i = 0; i < 2; ++i)
        printf("%s", message[i]);
    printf("\n");
}

Professionnel très expérimenté:
Code C++ :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#include <iostream>
#include <cstring>
using namespace std;
class string
{
private:
    int size;
    char *ptr;
public:
    string() : size(0), ptr(new char('\0')) {}
    string(const string &s) : size(s.size)
    {
        ptr = new char[size + 1];
        strcpy(ptr, s.ptr);
    }
    ~string()
    {
        delete [] ptr;
    }
    friend ostream &operator <<(ostream &, const string &);
    string &operator=(const char *);
};
 
ostream &operator<<(ostream &stream, const string &s)
{
    return(stream << s.ptr);
}
string &string::operator=(const char *chrs)
{
    if (this != &chrs)
    {
        delete [] ptr;
        size = strlen(chrs);
        ptr = new char[size + 1];
        strcpy(ptr, chrs);
    }
    return(*this);
}
int main()
{
    string str;
    str = "HELLO WORLD";
    cout << str << endl;
    return(0);
}

Professionnel vraiment très très expérimenté:
Code MIDL ? :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
 [
 uuid(2573F8F4-CFEE-101A-9A9F-00AA00342820)
 ]
 library LHello
 {
     // bring in the master library
     importlib("actimp.tlb");
     importlib("actexp.tlb");

     // bring in my interfaces
     #include "pshlo.idl"

     [
     uuid(2573F8F5-CFEE-101A-9A9F-00AA00342820)
     ]
     cotype THello
  {
  interface IHello;
  interface IPersistFile;
  };
 };

 [
 exe,
 uuid(2573F890-CFEE-101A-9A9F-00AA00342820)
 ]
 module CHelloLib
 {

     // some code related header files
     importheader();
     importheader();
     importheader();
     importheader("pshlo.h");
     importheader("shlo.hxx");
     importheader("mycls.hxx");

     // needed typelibs
     importlib("actimp.tlb");
     importlib("actexp.tlb");
     importlib("thlo.tlb");

     [
     uuid(2573F891-CFEE-101A-9A9F-00AA00342820),
     aggregatable
     ]
     coclass CHello
  {
  cotype THello;
  };
 };
Code C++ :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "ipfix.hxx"
 
 extern HANDLE hEvent;
 
 class CHello : public CHelloBase
 {
 public:
     IPFIX(CLSID_CHello);
 
     CHello(IUnknown *pUnk);
     ~CHello();
 
     HRESULT  __stdcall PrintSz(LPWSTR pwszString);
 
 private:
     static int cObjRef;
 };
Code C++ :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
 // ? #include 
 // ? #include 
 // ? #include 
 // ? #include 
 #include "thlo.h"
 #include "pshlo.h"
 #include "shlo.hxx"
 #include "mycls.hxx"
 
 int CHello::cObjRef = 0;
 
 CHello::CHello(IUnknown *pUnk) : CHelloBase(pUnk)
 {
     cObjRef++;
     return;
 }
 
 HRESULT  __stdcall  CHello::PrintSz(LPWSTR pwszString)
 {
     printf("%ws\n", pwszString);
     return(ResultFromScode(S_OK));
 }
 
 
 CHello::~CHello(void)
 {
 
 // when the object count goes to zero, stop the server
 cObjRef--;
 if( cObjRef == 0 )
     PulseEvent(hEvent);
 
 return;
 }
Code C++ :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
 // ? #include 
 // ? #include 
 #include "pshlo.h"
 #include "shlo.hxx"
 #include "mycls.hxx"
 
 HANDLE hEvent;
 
  int _cdecl main(
 int argc,
 char * argv[]
 ) {
 ULONG ulRef;
 DWORD dwRegistration;
 CHelloCF *pCF = new CHelloCF();
 
 hEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
 
 // Initialize the OLE libraries
 CoInitializeEx(NULL, COINIT_MULTITHREADED);
 
 CoRegisterClassObject(CLSID_CHello, pCF, CLSCTX_LOCAL_SERVER,
     REGCLS_MULTIPLEUSE, &dwRegistration);
 
 // wait on an event to stop
 WaitForSingleObject(hEvent, INFINITE);
 
 // revoke and release the class object
 CoRevokeClassObject(dwRegistration);
 ulRef = pCF->Release();
 
 // Tell OLE we are going away.
 CoUninitialize();
 
 return(0); }
 
 extern CLSID CLSID_CHello;
 extern UUID LIBID_CHelloLib;
 
 CLSID CLSID_CHello = { /* 2573F891-CFEE-101A-9A9F-00AA00342820 */
     0x2573F891,
     0xCFEE,
     0x101A,
     { 0x9A, 0x9F, 0x00, 0xAA, 0x00, 0x34, 0x28, 0x20 }
 };
 
 UUID LIBID_CHelloLib = { /* 2573F890-CFEE-101A-9A9F-00AA00342820 */
     0x2573F890,
     0xCFEE,
     0x101A,
     { 0x9A, 0x9F, 0x00, 0xAA, 0x00, 0x34, 0x28, 0x20 }
 };
Code C++ :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
 // ? #include 
 // ? #include 
 // ? #include 
 // ? #include 
 // ? #include 
 #include "pshlo.h"
 #include "shlo.hxx"
 #include "clsid.h"
 
 int _cdecl main(
 int argc,
 char * argv[]
 ) {
 HRESULT  hRslt;
 IHello        *pHello;
 ULONG  ulCnt;
 IMoniker * pmk;
 WCHAR  wcsT[_MAX_PATH];
 WCHAR  wcsPath[2 * _MAX_PATH];
 
 // get object path
 wcsPath[0] = '\0';
 wcsT[0] = '\0';
 if( argc > 1) {
     mbstowcs(wcsPath, argv[1], strlen(argv[1]) + 1);
     wcsupr(wcsPath);
     }
 else {
     fprintf(stderr, "Object path must be specified\n");
     return(1);
     }
 
 // get print string
 if(argc > 2)
     mbstowcs(wcsT, argv[2], strlen(argv[2]) + 1);
 else
     wcscpy(wcsT, L"Hello World");
 
 printf("Linking to object %ws\n", wcsPath);
 printf("Text String %ws\n", wcsT);
 
 // Initialize the OLE libraries
 hRslt = CoInitializeEx(NULL, COINIT_MULTITHREADED);
 
 if(SUCCEEDED(hRslt)) {
 
 
     hRslt = CreateFileMoniker(wcsPath, &pmk);
     if(SUCCEEDED(hRslt))
  hRslt = BindMoniker(pmk, 0, IID_IHello, (void **)&pHello);
 
     if(SUCCEEDED(hRslt)) {
 
  // print a string out
  pHello->PrintSz(wcsT);
 
  Sleep(2000);
  ulCnt = pHello->Release();
  }
     else
  printf("Failure to connect, status: %lx", hRslt);
 
     // Tell OLE we are going away.
     CoUninitialize();
     }
 
 return(0);
 }

Administrateur Système:
Code C :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>
main()
{
    char *tmp;
    int i=0;
    /* on y va bourin (sic)(en Français dans le texte) */
    tmp=malloc(1024*sizeof(char)); /* cast supprimé */
    while (tmp[i]="HELLO WORLD"[i++]);
    /* Ooopps y'a une infusion ! */
    i=(int)tmp[8];
    tmp[8]=tmp[9];
    tmp[9]=(char)i;
    printf("%s\n",tmp);
}

Apprenti Hacker:
Code PERL :
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/local/bin/perl
$msg="HELLO, WORLD.\n";
if ($#ARGV >= 0) {
    while(defined($arg=shift(@ARGV))) {
        $outfilename = $arg;
        open(FILE, ">" . $outfilename) || die "Can't write $arg: $!\n";
        print (FILE $msg);
        close(FILE) || die "Can't close $arg: $!\n";
 
    }
} else {
    print ($msg);
}
1;

Hacker expérimenté:
Code C :
1
2
3
#include <stdio.h>
#define S "HELLO, WORLD\n"
main(){exit(printf(S) == strlen(S) ? 0 : 1);}

Hacker très expérimenté:
Code shell (affichage) :
1
2
% cc -o a.out ~/src/misc/bv/bv.c
% a.out

Gourou des Hackers:
Code shell (affichage) :
1
2
3
% cat
HELLO, WORLD.
^D

Directeur junior:
Code BASIC :
1
2
10 PRINT "HELLO WORLD"
20 END

Directeur:
Code shell (affichage) :
1
2
3
4
5
mail -s "HELLO, WORLD." bob@b12
Henri, pourrais-tu m'écrire un programme qui écrit "HELLO,
WORLD." À l'écran?
J'en ai besoin pour demain.
^D

Directeur sénior:
Code shell (affichage) :
1
2
% zmail Jean
J'ai besoin d'un programme "HELLO, WORLD." Pour cette après-midi.

Président Directeur Général:
Code shell (affichage) :
1
2
3
4
5
6
7
8
9
% letter
letter: Command not found.
% mail
To: ^X ^F ^C
% help mail
help: Command not found.
% damn!
!: Event unrecognized
% logout
valentine74 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/07/2006, 11h21   #2
Membre régulier
 
Avatar de skip78
 
Inscription : juillet 2006
Messages : 247
Détails du profil
Informations forums :
Inscription : juillet 2006
Messages : 247
Points : 95
Points : 95
^^ fort sympathique
skip78 est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/07/2006, 12h46   #3
Expert Confirmé
 
Avatar de Maxoo
 
Maxime Pasquier
Expert PHP
Inscription : novembre 2004
Messages : 2 126
Détails du profil
Informations personnelles :
Nom : Maxime Pasquier
Âge : 28
Localisation : France, Loire Atlantique (Pays de la Loire)

Informations professionnelles :
Activité : Expert PHP
Secteur : High Tech - Multimédia et Internet

Informations forums :
Inscription : novembre 2004
Messages : 2 126
Points : 2 602
Points : 2 602
marrant !!
__________________
Pour une bien meilleur lisibilité, utilisez la balise [code], c'est le [#] dans votre éditeur.
Mon espace Développez : mes Créations.


Rencontre & Carte des Membres de Developpez.com, version 3.0
Maxoo est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/07/2006, 13h35   #4
Membre éclairé
 
Avatar de Jack_serious
 
Inscription : septembre 2005
Messages : 350
Détails du profil
Informations personnelles :
Âge : 26
Localisation : France, Paris (Île de France)

Informations forums :
Inscription : septembre 2005
Messages : 350
Points : 376
Points : 376
Envoyer un message via MSN à Jack_serious
Tres joli !
__________________
Don't worry, be serious.
La vie est courte. Prenez votre temps.

Jack.
Jack_serious est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/07/2006, 13h38   #5
Membre habitué
 
Avatar de Jahprend
 
Étudiant
Inscription : juin 2006
Messages : 255
Détails du profil
Informations personnelles :
Âge : 25
Localisation : France, Rhône (Rhône Alpes)

Informations professionnelles :
Activité : Étudiant

Informations forums :
Inscription : juin 2006
Messages : 255
Points : 131
Points : 131
Envoyer un message via MSN à Jahprend
Osef:d
__________________
On peut être pathéthique sans faire l'éthique du pâté.
Jahprend est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/07/2006, 13h39   #6
Membre émérite
 
Avatar de yann2
 
Inscription : mai 2004
Messages : 751
Détails du profil
Informations personnelles :
Âge : 28

Informations forums :
Inscription : mai 2004
Messages : 751
Points : 901
Points : 901
P'tain ça fait trois fois que je reviens sur ce sujet en me disant "tiens un commentaire !" et voilà ce que je trouve :

Citation:
^^ fort sympathique
Citation:
marrant !!
Citation:
Tres joli !


bon sinon c'est vrai que c'est sympa, joli et marrant !

yann2 est actuellement connecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/07/2006, 13h54   #7
Membre éclairé
 
Avatar de Satch
 
Inscription : mars 2004
Messages : 448
Détails du profil
Informations personnelles :
Âge : 30

Informations forums :
Inscription : mars 2004
Messages : 448
Points : 381
Points : 381
Envoyer un message via MSN à Satch
Citation:
Envoyé par yann2
P'tain ça fait trois fois que je reviens sur ce sujet en me disant "tiens un commentaire !" et voilà ce que je trouve :
Tu veux rejoindre le club des anti-mouarfeurs ?
Je suis au moins autant énervé que toi
__________________
Je sais que désormais vivre est un calembour,
La mort est devenue un état permanent,
Le monde est aux fantômes, aux hyènes et aux vautours.
Moi je vous dis bravo et vive la mort.
Satch est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/07/2006, 13h57   #8
Membre Expert
 
Avatar de xavlours
 
Inscription : février 2004
Messages : 1 842
Détails du profil
Informations forums :
Inscription : février 2004
Messages : 1 842
Points : 1 936
Points : 1 936
Donc si j'ai bien compris, un lycéen en terminale sera beaucoup plus productif qu'un professionnel très très expérimenté. Merci du conseil, je m'en souviendrai si je monte une boîte.
__________________
"Le bon ni le mauvais ne me feraient de peine si si si je savais que j'en aurais l'étrenne." B.V.
Non au langage SMS ! Je ne répondrai pas aux questions techniques par MP.
Eclipse : News, FAQ, Cours, Livres, Blogs.Et moi.
xavlours est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/07/2006, 14h55   #9
Inscrit
 
Avatar de bilb0t
 
Inscription : décembre 2003
Messages : 378
Détails du profil
Informations personnelles :
Âge : 34

Informations forums :
Inscription : décembre 2003
Messages : 378
Points : 223
Points : 223
Repost ?
bilb0t est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/07/2006, 14h55   #10
Membre confirmé
 
Avatar de DavidDeTroyes
 
Inscription : février 2005
Messages : 305
Détails du profil
Informations personnelles :
Âge : 35
Localisation : France, Aube (Champagne Ardenne)

Informations forums :
Inscription : février 2005
Messages : 305
Points : 271
Points : 271
Envoyer un message via MSN à DavidDeTroyes
Code :
1
2
3
4
5
6
7
8
9
10
11
12
<HTML>
<BODY>
<TABLE>
<TR>
<TD>
TROP SUPER !!!
</TD>
</TR>
</TABLE>
</BODY>
</HTML>
__________________
"Les cons ca ose tout, c'est même à ca qu'on les reconnait" M. AUDIARD
"L'intelligence, on croit toujours en avoir assez, vu que c'est avec ça qu'on juge" COLUCHE

Spidercochon ! Spidercochon !
Il peut marcher au plafond.
Est-ce qu'il peut tisser une toile ?
Bien sûr que non c'est un cochon
Prends garde Spidercochon est là...
DavidDeTroyes est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/07/2006, 15h08   #11
Membre expérimenté
 
Avatar de Commodore
 
Inscription : février 2004
Messages : 601
Détails du profil
Informations personnelles :
Âge : 28
Localisation : France, Nord (Nord Pas de Calais)

Informations forums :
Inscription : février 2004
Messages : 601
Points : 539
Points : 539
__________________
Moi, j'aime pas facebook.

Musiciens de France
Commodore est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/07/2006, 15h09   #12
Membre expérimenté
 
Avatar de Commodore
 
Inscription : février 2004
Messages : 601
Détails du profil
Informations personnelles :
Âge : 28
Localisation : France, Nord (Nord Pas de Calais)

Informations forums :
Inscription : février 2004
Messages : 601
Points : 539
Points : 539
__________________
Moi, j'aime pas facebook.

Musiciens de France
Commodore est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/07/2006, 15h18   #13
Membre émérite
 
Avatar de shadowmoon
 
Homme thomas
Ingénieur développement logiciels
Inscription : mai 2005
Messages : 741
Détails du profil
Informations personnelles :
Nom : Homme thomas
Âge : 30
Localisation : France, Rhône (Rhône Alpes)

Informations professionnelles :
Activité : Ingénieur développement logiciels
Secteur : Industrie

Informations forums :
Inscription : mai 2005
Messages : 741
Points : 938
Points : 938
Envoyer un message via MSN à shadowmoon


dsl, mais après les post de psycho, j'ai pas pu résister, encore toutes mes excuses.
__________________
il n'y a jamais eu qu'un seul chrétien et il est mort sur la croix (Friedrich Nietzsche)

pour les problèmes de partition, les derniers recours sont testdisk et le formatage bas-niveau

pour faire le menage efficacement sur vos DD, utilisez Ccleaner
shadowmoon est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/07/2006, 16h03   #14
r0d
Inscrit
 
Inscription : août 2004
Messages : 3 275
Détails du profil
Informations personnelles :
Localisation : Espagne

Informations forums :
Inscription : août 2004
Messages : 3 275
Points : 3 422
Points : 3 422
Citation:
Envoyé par yann2
P'tain ça fait trois fois que je reviens sur ce sujet en me disant "tiens un commentaire !" et voilà ce que je trouve...
Ca me rapelle l'histoire d'un pote, qui essayait de faire pousser des géraniums en hydroponique (culture hors sol, ou quelque chose dans le genre). Et moi, je lui disais toujours: ça ne poussera jamais comme en terre!!
...
Voilà, tu l'as eu ton "comme en terre".

Aaaaallez, ça c'est bon c'est fait. Bougez pas, je connais la sortie...
r0d est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/07/2006, 16h06   #15
Membre émérite
 
Avatar de yann2
 
Inscription : mai 2004
Messages : 751
Détails du profil
Informations personnelles :
Âge : 28

Informations forums :
Inscription : mai 2004
Messages : 751
Points : 901
Points : 901
Citation:
Envoyé par r0d
Ca me rapelle l'histoire d'un pote, qui essayait de faire pousser des géraniums en hydroponique (culture hors sol, ou quelque chose dans le genre). Et moi, je lui disais toujours: ça ne poussera jamais comme en terre!!
...
Voilà, tu l'as eu ton "comme en terre".

Aaaaallez, ça c'est bon c'est fait. Bougez pas, je connais la sortie...

Pffffffffff !!!!

Sinon ça doit être sympa marrant et joli des géraniums cultivés en hydroponique
yann2 est actuellement connecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/07/2006, 17h09   #16
Expert Confirmé Sénior
 
Avatar de Médinoc
 
Homme
Développeur informatique
Inscription : septembre 2005
Messages : 21 487
Détails du profil
Informations personnelles :
Sexe : Homme
Âge : 28
Localisation : France

Informations professionnelles :
Activité : Développeur informatique
Secteur : High Tech - Éditeur de logiciels

Informations forums :
Inscription : septembre 2005
Messages : 21 487
Points : 28 768
Points : 28 768
Envoyer un message via MSN à Médinoc
Au fait, vous avez remarqué que le "Hacker très expérimenté" a le répertoire courant dans son PATH ?

Rhoooh, pas bien...
__________________
SVP, pas de questions techniques par MP. Surtout si je ne vous ai jamais parlé avant.

"Aw, come on, who would be so stupid as to insert a cast to make an error go away without actually fixing the error?"
Apparently everyone.
-- Raymond Chen.
Traduction obligatoire: "Oh, voyons, qui serait assez stupide pour mettre un cast pour faire disparaitre un message d'erreur sans vraiment corriger l'erreur?" - Apparemment, tout le monde. -- Raymond Chen.
Médinoc est actuellement connecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/07/2006, 17h17   #17
Rédacteur/Modérateur
 
Avatar de Michaël
 
Michaël Todorovic
Ingénieur systèmes et réseaux
Inscription : juillet 2003
Messages : 3 493
Détails du profil
Informations personnelles :
Nom : Michaël Todorovic
Âge : 25
Localisation : France, Paris (Île de France)

Informations professionnelles :
Activité : Ingénieur systèmes et réseaux

Informations forums :
Inscription : juillet 2003
Messages : 3 493
Points : 5 899
Points : 5 899
on a pas dit très expérimenté en quoi
Michaël est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/07/2006, 17h19   #18
Membre chevronné
 
Inscription : juin 2004
Messages : 1 395
Détails du profil
Informations forums :
Inscription : juin 2004
Messages : 1 395
Points : 656
Points : 656
Je trouve ça rigolo.
Ceci dit :
Code :
1
2
3
4
 cat hacker.c
#include <stdio.h>
#define S "HELLO, WORLD\n"
main(){exit(printf(S) == strlen(S) ? 0 : 1);}
cc -Wall -o hack hacker.c
Code :
1
2
3
4
5
6
hacker.c:3: warning: return type defaults to 'int'
hacker.c: In function 'main':
hacker.c:3: warning: implicit declaration of function 'exit'
hacker.c:3: warning: incompatible implicit declaration of built-in function 'exit'
hacker.c:3: warning: implicit declaration of function 'strlen'
hacker.c:3: warning: incompatible implicit declaration of built-in function 'strlen'
Pas bien
progfou est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 04/07/2006, 18h29   #19
mat.M
Invité(e)
 
Messages : n/a
Détails du profil
Informations forums :
Messages : n/a
Points : 0
Citation:
Code C++ :
// ? #include
// ? #include
#include "pshlo.h"
#include "shlo.hxx"
#include "mycls.hxx"

HANDLE hEvent;

int _cdecl main(
int argc,
char * argv[]
) {
ULONG ulRef;
DWORD dwRegistration;
CHelloCF *pCF = new CHelloCF();

hEvent = CreateEvent(NULL, FALSE, FALSE, NULL);

// Initialize the OLE libraries
CoInitializeEx(NULL, COINIT_MULTITHREADED);
C'est bien compliqué pour si peu de choses ; comme on dit c'est écraser des mouches avec un marteau-pilon...
pourquoi créer des EVENT pour aficher un simple hello ?
  Envoyer un message privé Réponse avec citation 00
Vieux 05/07/2006, 09h34   #20
Inscrit
 
Avatar de bilb0t
 
Inscription : décembre 2003
Messages : 378
Détails du profil
Informations personnelles :
Âge : 34

Informations forums :
Inscription : décembre 2003
Messages : 378
Points : 223
Points : 223
Citation:
Envoyé par yann2
Pffffffffff !!!!

Sinon ça doit être sympa marrant et joli des géraniums cultivés en hydroponique
ça a un rapport avec les ponneys ?
bilb0t est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Actualité déjà publiée
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 13h43.


 
 
 
 
Partenaires

Hébergement Web