@# 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



Comments:

<0> this is just a C++ course
<0> I miss not having to compile
<0> and KWrite is a crappy C++ Syntax Hilighter it seems
<1> why are you using KWrite?
<0> lol because its an awesome PHP Syntax Highlighter
<2> hm, yeah kwrite is an odd choice for writing code
<2> at least C++ code
<1> SciTE
<0> yeah
<2> personally I'm a fan of emacs ;)
<1> it's a reasonable editor
<1> and one of nice things about SciTE is that it will call make for you too
<1> we used it for our embedded development
<3> vim
<2> there's one in every crowd :)
<4> hi,



<1> lo
<4> for what purpose is New used?
<1> C++ is a case sensitive language, there is no "New"
<4> i mean new
<3> There's no 'New'. The new operator creates a new object on the free-store.
<3> (unless you use placement-new, but you don't want to know that now, I guess)
<4> i mean like in
<1> beginner_ what references are you using to try to learn C++?
<4> str = new char[strlen(s) + 1];
<2> ouch
<3> That's not new, it's new[].
<1> ugly code, btw
<3> new[] creates an array of objects on the free-store.
<3> new and new[] return a pointer.
<4> on the heap?
<1> C++ doesn't know about a "heap" in that sense
<3> on the free-store, which can be a heap.
<4> is free store heap?
<4> ok
<4> so are there any other new s?
<4> in c++?
<4> sounds a silly question
<1> why are you messing with something like char* str = new char[strlen(s)+1]; ??
<4> the tutorials have lines with it
<1> ****
<1> what tutorials
<4> vawjr: trying to understand inheritance, i am reading this http://www.glenmccl.com/virt_cmp.htm
<3> calc !tutorial
<5> !tutorial = C++ is not the sort of thing you learn (well) from a bunch of second-rate tutorials on the Web. The preferred method is to buy a good book (e.g. Koenig & Moo's "Accelerated C++"), get a good C++ compiler or development environment (e.g. Dev-C++), and practice a lot. You could even take a course at your local community college.
<3> super, that code is broken.
<1> though most colleges are little better than the second-rate tutorials
<4> =)
<4> i have prof c++ book
<3> 'Text' lacks a copy ctor and a copy ***ignment operator.
<4> but to make things clearer sometimes i need another source
<1> beginner, what book?
<1> I recommend _against_ books with any of the following in the title: idiots, dummies, teach, beginning, yourself, learn, seconds, minutes, hours, days, weeks, weekend, tricks, master, guru, visually, super, bible; or that mention a specific product or compiler.
<4> Professional C++
<4> wrox
<0> How do I turn off showpoint as a stream manipulator
<1> when was it written? (Wrox doesn't exist any more)
<3> Accu doesn't list it, apparently.
<1> noshowpoint I would guess
<4> 2005
<1> <shrug>
<4> it looks like a good book
<1> you're unable to tell
<4> as a beginner its some like better than thinking in c++
<4> i can compare the two, =)
<3> The book does use the correct headers and int main().
<3> That makes it already better than 90% of the other books.
<4> twhich one?
<3> Yours.
<4> prof c++
<4> ok
<4> its a nice book
<1> but if you're going to tutorials like the one you showed because your book isn't teaching stuff, I worry about it
<3> vawjr: I'm browsing through it on Amazon.
<4> thinking in c++ gets sphisticated after page 400 without good examples.



<1> I recommend the books here: http://rudbek.com/books.html
<3> It seems to introduce the concept of namespaces very early, too.
<1> you'll notice that "Thinking in C++" isn't on it
<4> aha that was my second question
<4> vawjr: but it doesnt clearly tell it
<4> vawjr: why would i use namespace?
<1> to partition your program
<1> so you can put things together that belong together and not worry about name collisions
<4> vawjr: do you know a tut. that tells it with an example?
<1> collisions with other parts of the program, that is
<1> beginner_ I don't, and I don't see that it's necessary
<4> vawjr: ok
<3> Amazon shows a few pages of that book at: http://www.amazon.com/gp/reader/0764574841/ref=sib_rdr_next3_ex1/102-2203049-6973750?%5Fencoding=UTF8&p=S00S&ns=1#reader-page
<1> Strustrup's book (chapter 8) does a reasonable job, but his book isn't exactly a tutorial
<4> is there a namespace decleration in std lib too? i mean if i say using namespaces std; there should be?
<4> namespace
<4> you guys all looking at the book, =)
<1> beginner, all of the names in the standard library are in std
<1> and some "sub" namespaces
<4> ok
<1> beginner_ I suspect you'll be better off following your book than chasing **** on the net
<4> i do, =)
<4> but sometimes you get suspicious..
<6> hi
<2> yo
<6> o-genki desuka cn28h?
<4> vawjr: for example, i need to declare a funtion virtually if i want to override it in a child cl*** dont i?
<2> english? :)
<6> umm,ok^-^
<6> how are you cn28h?
<2> been better, how about you?
<1> beginner_ depends on how you plan on calling it
<6> fine here
<0> whats wrong with?
<0> inData.peek() !== EOF
<0> errr
<0> while(inData.peek() !== EOF)
<0> ues4.cpp:26: error: expected primary-expression before '=' token
<7> its !=
<2> !== isn't an operator
<0> ARGH
<0> damn you PHP
<7> in php its !=
<0> no
<7> ?
<0> in PHP its !==
<8> nnp: no, !== is more safe
<0> if you want to make sure its of the same type
<4> vawjr: oh nope, i understood it, i just need to declare it virtualy in the definition file, i dont need to type virtual in the cl*** implementation file
<7> really, never knew that :)
<9> anybody knows where to get codeview debugger?
<1> beginner_ it depends on what you're planning on doing
<0> cool
<1> but yes you kinda need it in the cl*** definition
<0> is EOF a predefined constant?
<0> whoops sorry
<1> SJr|nx__ what are you doing??
<6> constant remind me mathmatics
<0> vawjr C++ homework ***ignment
<0> without reading my text book
<6> yeah like that :(
<0> oh
<0> we have to read a file in
<6> why read?
<0> each line has the gender and the gpa of a student
<7> why use peek?
<0> I need to know when to stop don't I?
<1> why use peek?
<1> getline does a great job
<0> lol
<1> i.e. that's what it was designed to do....read a line


Name:

Comments:

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






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

undernet #50plus
worltd sex
chiriroza
#AllNiteCafe
spermazoid cocktail
chatchut.com/isabelle.jpg
#linuxhelp
#slice
lesfille
#java



Home  |  disclaimer  |  contact  |  submit quotes