[so] [Tema 1][Windows]Intrebari
andrei dragus
andreidragus at yahoo.com
Sun Mar 22 18:12:05 EET 2009
--- On Sun, 3/22/09, Razvan Deaconescu <razvan.deaconescu at cs.pub.ro> wrote:
> From: Razvan Deaconescu <razvan.deaconescu at cs.pub.ro>
> Subject: Re: [so] [Tema 1][Windows]Intrebari
> To: "Sisteme de Operare" <so at cursuri.cs.pub.ro>
> Date: Sunday, March 22, 2009, 12:01 PM
> On Sun, 2009-03-22 at 08:21 -0700, andrei dragus wrote:
> <snip>
> > Am rulat atat in cygwin cat si in WindowsPowerShell pe
> masinile
> > virtuale puse la dispozitie pe site-ul de SO.
> >
> > Am facut doar un main in care sa-mi afiseze variabila
> USER si
> > rezultatul a fost acelasi . Functia returneaza 0 ca
> lungime ,
> > buffer-ul ramane gol si printError zice : "The
> operation completed
> > successfully."
>
> Compileaza si ruleaza, te rog, urmatorul exemplu[1]. Mie pe
> masina
> virtuala, sub Cygwin, imi da urmatorul rezultat:
> ---
> Administrator at scarlet:~/test-env$ ./test-env.exe
> name = USER; value = Administrator
> ---
>
> Razvan
>
> [1] http://rafb.net/p/wctngk14.html
>
> _______________________________________________
> so mailing list
> so at cursuri.cs.pub.ro
> http://cursuri.cs.pub.ro/cgi-bin/mailman/listinfo/so
Am compilat si rulat in cygwin:
assertion "GetEnvironmentVariable(ENV_NAME, buf, BUFSIZ) != 0" failed: file "razv.cpp", line 18
Andrei.
More information about the so
mailing list