473,378 Members | 1,344 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,378 software developers and data experts.

C++ class question

output an 2d array with std::copy, no external function is allowed, no
loop is allowed (10pt)

Thanks

Jul 7 '07 #1
6 1198
On Jul 7, 1:38 pm, Historia de un amor <hulian...@yahoo.comwrote:
output an 2d array with std::copy, no external function is allowed, no
loop is allowed (10pt)

Thanks
Homework. And honest enough to tell how many points does it carry.

-N

Jul 7 '07 #2
On 7/7/07 09:38, in article
11**********************@z28g2000prd.googlegroups. com, "Historia de un amor"
<hu*******@yahoo.comwrote:
output an 2d array with std::copy, no external function is allowed, no
loop is allowed (10pt)

Thanks
If this is anything to go by, I'm beginning to understand why the company I
work for is having a hard time finding people with real C++ experience who
actually *know* the language and have real software skills.

It's all too easy just to write 'C++' on a CV.
--
Regards,
Steve

"...which means he created the heaven and the earth... in the DARK! How good
is that?"

Jul 7 '07 #3
On Sat, 07 Jul 2007 09:50:13 GMT, Steve Folly wrote:
>On 7/7/07 09:38, "Historia de un amor" wrote:
>output an 2d array with std::copy, no external function is allowed, no
loop is allowed (10pt)

If this is anything to go by, I'm beginning to understand why the company I
work for is having a hard time finding people with real C++ experience who
actually *know* the language and have real software skills.
It's all too easy just to write 'C++' on a CV.
This assignment is just an exercise in STL acrobatics. Nobody would
write such code in a real world application.
--
Roland Pibinger
"The best software is simple, elegant, and full of drama" - Grady Booch
Jul 7 '07 #4
Roland Pibinger wrote:
This assignment is just an exercise in STL acrobatics. Nobody would
write such code in a real world application.
Even if one would seldom or never write such intricate solutions
in actual programs, I still think it's good to know C++, templates
and the STL so well that you could write those types of solutions
if you have to. Understanding the workings of C++ templates so well
might prove useful.
Jul 8 '07 #5
On Jul 7, 5:38 pm, Historia de un amor <hulian...@yahoo.comwrote:
output an 2d array with std::copy, no external function is allowed, no
loop is allowed (10pt)

Thanks
I believe a google search could help you better than someone spend
time to write a reply for your posts.

Regards.
Sarath

http://sarathc.wordpress.com/

Jul 8 '07 #6
On Jul 7, 5:50 am, Steve Folly <moderatedn...@spfweb.co.ukwrote:
On 7/7/07 09:38, in article
1183797515.168882.199...@z28g2000prd.googlegroups. com, "Historia de un amor"

<hulian...@yahoo.comwrote:
output an 2d array with std::copy, no external function is allowed, no
loop is allowed (10pt)
Thanks

If this is anything to go by, I'm beginning to understand why the company I
work for is having a hard time finding people with real C++ experience who
actually *know* the language and have real software skills.

It's all too easy just to write 'C++' on a CV.

--
Regards,
Steve

"...which means he created the heaven and the earth... in the DARK! How good
is that?"

Amazing, isn't it? You should see the amount of homework's people are
actually paying coders to complete on freelancing sites. I'm caught
between a rock and a hard place; I need the money and I really despise
people who are going to that length. I suppose when they get out into
the real world they'll finally learn, "Damn it, I should've really
learned the language instead of pretending I knew it... now I'm out of
a job." Then again, it's just one more job for those who actually know
the language. :)

-Patrick

Jul 9 '07 #7

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

Similar topics

8
by: Bryan Parkoff | last post by:
I find an interesting issue that one base class has only one copy for each derived class. It looks like that one base class will be copied into three base classes while derived class from base...
20
by: modemer | last post by:
Question is as in subject. For example: class BaseClass { public: void func() { do something; } // I don't want this function being overloaded in its inherited class };
1
by: Alfonso Morra | last post by:
if I have a class template declared as ff: (BTW is this a partial specialization? - I think it is) template <typename T1, myenum_1 e1=OK, my_enum_2=NONE> class A { public: A(); virtual...
21
by: Jon Slaughter | last post by:
I have a class that is basicaly duplicated throughout several files with only members names changing according to the class name yet with virtually the exact same coding going on. e.g. class...
0
by: Sebastian Hiller | last post by:
Hello, i'm new to .Net (i'm using VB as language and i'm working in the code-behind mode) and i can't solve the following problem: I have a WebForm and want to Add a UserControl...
6
by: rodchar | last post by:
Hey all, I'm trying to understand Master/Detail concepts in VB.NET. If I do a data adapter fill for both customer and orders from Northwind where should that dataset live? What client is...
2
by: Chris Puncher | last post by:
Hi. I have a RCW class that was generated by the VS.NET2003 IDE when I added a COM dll reference to my project. This all works fine when I call methods on it. My initial problem is that in...
9
by: needin4mation | last post by:
I have a .aspx file and it's src. I also have a third file, a class that the src references. Everything is in the same directory/folder. Everything has the same namespace. How do I reference the...
43
by: Tony | last post by:
I'm working with GUI messaging and note that MFC encapsulates the message loop inside of a C++ class member function. Is this somehow inherently less robust than calling the message loop functions...
2
by: K Viltersten | last post by:
Suppose there is the following class structure. class S {...} class A : S {...} class B : S {...} class A1 : A {void m(){...}} class B1 : B {void m(){...}} class B2 : B {...} Just to clarify...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.