473,387 Members | 1,603 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Array C'tor

Hallo,

Gibt es eine elegante Möglichkeit, gcc's Array-Initialisierung

a = new A[BUF_SIZE](4,2);

nachzubilden?

Jirka
Nov 13 '05 #1
8 1785
On Mon, 08 Dec 2003 19:53:50 +0100, Jirka Klaue <jk****@ee.tu-berlin.de> wrote:
Hallo,

Gibt es eine elegante Möglichkeit, gcc's Array-Initialisierung

a = new A[BUF_SIZE](4,2);


Nicht comp.lang.c

news:comp.lang.c++

--
Lew Pitcher
IT Consultant, Enterprise Technology Solutions
Toronto Dominion Bank Financial Group

(Opinions expressed are my own, not my employers')
Nov 13 '05 #2
Jirka Klaue wrote:
Hallo,

Gibt es eine elegante Moeglichkeit, gcc's Array-Initialisierung

a = new A[BUF_SIZE](4,2);

nachzubilden?


Wrong language, and wrong language.

Try comp.lang.c++.de or perhaps de.comp.lang.c++

--
Richard Heathfield : bi****@eton.powernet.co.uk
"Usenet is a strange place." - Dennis M Ritchie, 29 July 1999.
C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
K&R answers, C books, etc: http://users.powernet.co.uk/eton
Nov 13 '05 #3
Richard Heathfield wrote:
Jirka Klaue wrote:
Hallo,

Gibt es eine elegante Moeglichkeit, gcc's Array-Initialisierung

a = new A[BUF_SIZE](4,2);

nachzubilden?


Wrong language, and wrong language.

Try comp.lang.c++.de or perhaps de.comp.lang.c++


Jirka certainly knows better than you that the right group is
de.comp.lang.iso-c++. de.comp.lang.c++ is as dead as _the_
parrot. Why he posted to comp.lang.c is another question.

Kurt Watzka

Nov 13 '05 #4
Kurt Watzka wrote:
Richard Heathfield wrote:
Jirka Klaue wrote:
Hallo,

Gibt es eine elegante Moeglichkeit, gcc's Array-Initialisierung

a = new A[BUF_SIZE](4,2);

nachzubilden?


Wrong language, and wrong language.

Try comp.lang.c++.de or perhaps de.comp.lang.c++


Jirka certainly knows better than you that the right group is
de.comp.lang.iso-c++.


Ah, my apologies. I am obviously even less well-informed about the German
hierarchy than I realised. Thank you for the correction.

--
Richard Heathfield : bi****@eton.powernet.co.uk
"Usenet is a strange place." - Dennis M Ritchie, 29 July 1999.
C FAQ: http://www.eskimo.com/~scs/C-faq/top.html
K&R answers, C books, etc: http://users.powernet.co.uk/eton
Nov 13 '05 #5
Kurt Watzka wrote:
Richard Heathfield wrote:
Jirka Klaue wrote:

Gibt es eine elegante Moeglichkeit, gcc's Array-Initialisierung

a = new A[BUF_SIZE](4,2);

nachzubilden?


Wrong language, and wrong language.

Try comp.lang.c++.de or perhaps de.comp.lang.c++


Jirka certainly knows better than you that the right group is
de.comp.lang.iso-c++. de.comp.lang.c++ is as dead as _the_
parrot. Why he posted to comp.lang.c is another question.


I wanted to post this to de.comp.lang.iso-c++ and wondered why
it doesn't pass the moderator.

Sorry,
Jirka
Nov 13 '05 #6
In <br**********@mamenchi.zrz.TU-Berlin.DE> Jirka Klaue <jk****@ee.tu-berlin.de> writes:
I wanted to post this to de.comp.lang.iso-c++ and wondered why ^^^^^^^^^^^^^^^^^^^^it doesn't pass the moderator.


Wow, that's quite a typo!

Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: Da*****@ifh.de
Nov 14 '05 #7
Dan Pop wrote:
Jirka Klaue <jk****@ee.tu-berlin.de> writes:
I wanted to post this to de.comp.lang.iso-c++ and wondered why

^^^^^^^^^^^^^^^^^^^^
it doesn't pass the moderator.


Wow, that's quite a typo!


Bullshit. It was a clicko. Do you *type* the group name every time
you post an article?

Jirka
Nov 14 '05 #8
In <br**********@mamenchi.zrz.TU-Berlin.DE> Jirka Klaue <jk****@ee.tu-berlin.de> writes:
Dan Pop wrote:
Jirka Klaue <jk****@ee.tu-berlin.de> writes:
I wanted to post this to de.comp.lang.iso-c++ and wondered why

^^^^^^^^^^^^^^^^^^^^
it doesn't pass the moderator.


Wow, that's quite a typo!


Bullshit. It was a clicko. Do you *type* the group name every time
you post an article?


I don't use a GUI-based newsreader. If I want to post an article to
another newsgroup than the one I'm currently reading, I have to type
its name, otherwise I can simply press the space bar to tell the
newsreader that I want to post to the current newsgroup. For some
mysterious reason, I've NEVER posted anything in the wrong newsgroup.

Dan
--
Dan Pop
DESY Zeuthen, RZ group
Email: Da*****@ifh.de
Nov 14 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Buddy Ackerman | last post by:
I created a simple class: Public Class MyTestClass Public Test() As String End Class I tried to assign some values to the array Test() and display them like this:
58
by: jr | last post by:
Sorry for this very dumb question, but I've clearly got a long way to go! Can someone please help me pass an array into a function. Here's a starting point. void TheMainFunc() { // Body of...
10
by: amparikh | last post by:
Ok, my question is not about Virtual destructors and why, but more on the significance. Generally we have a virtual destructor in the base class ( and inadvertently in the derived class) so that...
29
by: shmartonak | last post by:
For maximum portability what should the type of an array index be? Can any integer type be used safely? Or should I only use an unsigned type? Or what? If I'm using pointers to access array...
15
by: Geoff Cox | last post by:
Hello, Can I separately declare and initialize a string array? How and where would I do it in the code below? It was created using Visual C++ 2005 Express Beta 2 ... In C# I would have ...
10
by: Tor Inge Rislaa | last post by:
Creating Control Array How to create an array of buttons, with common procedures based on the index of the control. How would this Example from VB 6.0 be in VB.NET? Private Sub...
8
by: Protoman | last post by:
#include <iostream> #include <cstdlib> #include <cmath> #include "SmrtPtr.hpp" using namespace std; struct Data { double plus; double mult;
6
by: tony | last post by:
Hello! When exactly is it important or advisable to use this form load event handler compare to using the C-tor. For example here I create an event handler called dataBoundGridForm that is...
5
by: zr | last post by:
Hi, Is there a way to initialize a std::tr1::array with a pre-allocated built-in array in a copy-less assignment, such that both will point to the same memory? Vice-versa is easy to do, simply...
0
by: zr | last post by:
On Nov 10, 6:35 pm, Maxim Yegorushkin <maxim.yegorush...@gmail.com> wrote: I had to write a small test to realize the problem, though i don't understand what is really happening. Max, or anyone...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.