@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13



Comments:

<0> lolll
<0> the true is that the first problem is the language, lol
<1> I highly doubt so, napolit.
<1> Or if it's truly the case, jsut swithc.
<2> you're blaming C++ ?
<1> But I'm pretty sure other, great minds, have suceeded in doing Matrix addition in C++.
<3> napolit, the problem is that you skipped a few readings or lessons
<0> too, is that my teacher did a strange thin, then i tried to do of other way
<0> she started addmatrix(float matriz1[][columM],float[][columM],int const columns,...
<0> then, it sounds so strange to me that i tried to do of other way
<2> p***ing arrays is dirty
<4> napolit you can help out yourself with figuring out your own way.
<0> yes, yes
<5> he demonstrated his own way, clearly that doesnt work :P
<2> a matrix object makes a lot of sense here



<2> you can template the object to provide parameters for dimensions
<0> not, not
<0> template not
<1> Templated dimension matrices can give you size-validation at compile-time. It's pretty handy.
<4> a multidimensional array with 5 dimension, sounds dirty
<6> which you may need to do to handle multiply
<0> i have to do taht without template
<2> says who?
<6> napolit that's ****ed
<6> your teacher isn't teaching C++. s/he's still stuck in C world
<0> lol
<0> she hasnt wanted to teach us the templates
<4> rdragon simon :)
<0> only typedef
<2> well you certainly shouldn't be messing with raw arrays so much
<6> then she should quit coming up w/ examples that NEED templates
<2> but a vector of vectors may be acceptable
<6> boost::multi_array ?
<2> but you'll probably say that vectors haven't been taught either
<0> no, no, i know about vectors lol
<6> how about valarray?
<2> then you know something about templates
<0> valarray not
<3> rdragon, what's wrong with raw arrays?
<6> it's part of the standard also
<6> Xyppher what's right with them?
<3> The fact that you can access every element and has a certain level of control
<1> Typical conversation: "[Student]:But, teacher, I know how to make better, faster code with a more advanced program construct!" "[Teacher]: No. We must test your abilities at writing unsafe, possibly buggy, hard to maintain code."
<2> Xyppher - vector's are much better, in that regard
<6> Xyppher have you ever used vector?
<2> especially if you need to resize, or p*** it to a function
<2> or iterate over safely
<3> Uhmm... actually yes, but a long while ago
<3> but lately I just use arrays
<6> Xyppher if you EVER are doing new blah[n]; you should be using vector instead
<6> silly person
<2> Xyppher maybe you're better off sinking even lower back into C
<2> i can't imagine 'switching from vectors to arrays'
<3> right...
<3> we'll see.
<2> we'lll see what?
<5> lol DrkMatter
<3> we'll see just how much I'll use vectors in the near future, rdragon.
<7> A lot, if you're writing C++ and are wise
<2> hey, i'm not going to lose sleep over it
<2> just remind me never to recommend you for a job doing C++
<3> hahaha
<0> people, peace
<0> vector are important, and the other too :P
<0> but the most imoprtant are tensors hehe
<1> Tensors?
<5> ?
<0> nothing, it is a physics-mathematics thing hehe
<0> lol, i asked peace, and peace was done hehe
<5> :)
<4> napolit: what's kind of matrix you are tryin' anyway
<3> napolit, the diplomat. You should be working in the UN :-P
<0> sincerely,
<0> i dont get that
<4> is that sort of grade homework somethin, sincerely ?
<0> my work is this: http://pastebin.com/559870



<8> Hi guys. Do you know how to workaround an issue that a 3rd-party library expects strcpy@GLIBC_2.0 -like looking symbols, and my libc is uClibc ?
<4> lem me'
<0> but, dont waste your time with taht lol
<2> iostream.h ?
<2> calc no .h
<9> no .h = Headers introduced by Standard C++ have no .h extension (e.g. <iostream>, <cstdio>). Prefer these to proprietary C++ headers that conform to no formal standard (e.g. <iostream.h>) and to Standard C headers (e.g. <stdio.h>), inherited by Standard C++ for backwards compatibility. See also: http://www.parashift.com/c++-faq-lite/coding-standards.html#faq-27.4
<4> meh, just mind-storm presumably.
<0> iostream.h, yes, why?
<2> read above
<0> it is the library of cin and cout
<2> it's 8 years obsolete
<4> your design way is fairly poor :/
<10> napolit : not for the last 8 years
<1> Use <iostream>
<10> if you have it from a book, throw it away. seriously.
<0> lol, i have been taught taht lol, but, anyways, i want only to learn to do calculations
<10> and if it's from a teacher - do whatever he tells you to get a proper grade, and then forget everything and learn c++ by yourself.
<2> looks to bean incredibly poor teacher on all fronts, napolit
<0> lol, i wanted to do taht, learn by myself, because cl***es are boring lol, i like to study by my own hehe
<1> Also, tell your teacher to come here so we migh "educate" him. With baseball bats.
<4> rohyh a design- conceptional thinking in C++ book is what you need :)
<0> hehe,
<10> my university requires the project to be handed as VC6 files
<4> rohyh would be napolit meh
<10> so they aren't very far
<10> napolit : about "cl***es are boring" bit - why do you learn c++ then ? learn a language that does not center on object-oriented paradigm
<4> DrkMatter don't mess the scientific methods with commercial programmin'
<1> rohyh: What?
<0> i want only to learn some of programation to science, not to other things
<0> i study physics
<4> they have different purposes never'mind
<1> Wasn't there a discussion here recently about how C++ "doesn't center on the OO paradigm, but rather support it"?
<2> napolit why don't you just use a calculator?
<3> You don't learn languages in school, guys. Some cl***es are required and they are thought in a specific programming language
<10> DrkMatter : I missed it, and yet - if you don't want OO, why would you use c++ ?
<2> or something like matlab
<1> I ***ume it's a recurring theme. =P
<3> You do NOT have a choice
<10> c++ is multi-paradigm, and you can use it without OO - but there are other options for that
<1> exception: If I want templates, I'd use C++.
<0> dragon, it isnt only needed calculator or matlab, i use matlab, but it isnt enough to a lot of things
<2> what do you need from C++ that you can't do in matlab?
<2> or python maybe?
<10> DrkMatter : are there real world uses of template functions without any OO ?
<0> lol, nowadays i dont know, but for example in the 5th year, in atomic structures, i have heard that it is good to learn programation in other language because it is used not matrix things, that is the focus of matlab
<1> exception: I didn't say there wouldn't be ANY OO-type constructs. But ti deosn'T ahve to be centered around those, if you get my drift.
<0> anyways, i want only to p*** the subject that i am doing in this moment hehe
<0> but i wont :P
<2> exception - sure, see the containers and algorithms in the standard library
<1> It's sure if I use vectors and standard algorithms, I'll have to deal with a few objects, but I don't have to sue a cl*** hierarchy and all.
<1> Anyway. My point being only that C++ isn't "OO-centric", but OO-enabled.
<11> woot, on to the second interview
<7> Where are you interviewing?
<2> chamber maid
<7> didn't know jb was hiring
<2> hehe
<11> company called objectvideo, they make automated surveillance monitoring software
<2> oh right, voyeurism for this one
<7> hmmm. I might know that name
<7> sure I met one of their people at an imaging thing once. they wanted to use variable compression quality to keep the overall bitcount down, but have "important" areas in high detail
<1> Hm, when leaving a certain scope, is object destruction guaranteed to be in the order of object construction?
<12> The opposite IIRC.
<1> OH. Yes, opposite... thaT's what I meant.
<12> I don't know if it's guaranteed though.
<2> it should be
<13> i rather have a harddisk donated
<7> off to newegg with you then
<13> ill try to fix it first with WD tools
<13> and i might get some waranty :)
<1> I need to get myself a copy of the standard.


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #c++
or
Go to some related logs:

#php
#AllNiteCafe
Deitel+solution manual+C how to program
#linux
#java
#linux
noctural chatzone
#linux
gentoo ping: sendmsg: no buffer space available
ronnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn



Home  |  disclaimer  |  contact  |  submit quotes