🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: de.comp.lang.c++
Article #1344

Re: Variablen in char[]

#1344
From: STEPHAN WEINBERGER
Date: Mon, 22 Jan 1996 12:53
19 lines
924 bytes
Watson (sayegh@fokus.gmd.de) wrote:
: Hi,
Hallo...

: f() {
: 	int x = 10;
: 	char s[x];
: }
Wozu soll das gut sein?
Wenn Du x explizit auf 10 setzt, kannst Du ja gleich "char s[10]" schreiben.

: -- 
: *	Greetinx from Watson (sayegh@fokus.gmd.de)
: 	http://www.fokus.gmd.de/ovma/employees/sayegh/entry.html
: 	signal(SIGSEGV,SIG_IGN);

-- 
CU                               e-Mail: weini@sbox.tu-graz.ac.at
  STEPHAN                          Fido: Stephan Weinberger@2:316/25.8
Technical Details
Message-ID: <4e01d6$dlc@fstgal00.tu-graz.ac.at>
Path: arc1-ca.pugleaf.net!fstgal00.tu-graz.ac.at!not-for-mail
References: <310374EE.5322@fokus.gmd.de>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!fstgal00.tu-graz.ac.at!not-for-mail
From: weini@sbox.tu-graz.ac.at (STEPHAN WEINBERGER)
Newsgroups: de.comp.lang.c++
Subject: Re: Variablen in char[]
Date: 22 Jan 1996 12:53:58 GMT
Organization: Graz University of Technology, Austria
Message-ID: <4e01d6$dlc@fstgal00.tu-graz.ac.at>
References: <310374EE.5322@fokus.gmd.de>
NNTP-Posting-Host: freelove.tu-graz.ac.at
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]