ChosenTorture

Lounge<C++>

Today we're daydreaming about C++26 reflection
Jun 24, 2013 08:01
@Rapptz Anything I should know about?
Mar 27, 2013 05:55
@JerryCoffin Thanks for the link. Something else?
Mar 27, 2013 04:51
Does anyone know any good resources for learning Dynamic arrays, dynamically allocated arrays and dynamic memory allocation? Basically I want to understand how Vectors in C++ STL work. Anything such as internet articles, name of books etc would be helpful.
Mar 25, 2013 09:42
@wilx Yeah I realize that and that's why I intend to use Introduction to Algorithms for understanding things.
Mar 25, 2013 09:40
@VinayakGarg Yes there's always a issue where you have to use the STL functions as an extension for a problem rather than using them as a norm. I think that if someone isn't aware of how things are implemented he wouldn't be able to use them properly.
Mar 25, 2013 09:38
@wilx I guess. Thanks for the suggestion! :)
Mar 25, 2013 09:36
@VinayakGarg See! There's a problem right there. That's what I am afraid of :D I wouldn't want to be in a position like that
Mar 25, 2013 09:35
@wilx Exactly. And that's the reason I want to learn DMA and DS before using the STL. So what do you think? Is that approach correct?
Mar 25, 2013 09:33
@jalf But I don't think that would be efficient. I am learning C++ right now to implement DS and Algorithms in the future. If I just keep using STL why would I want to learn how to sort? I would just use the sort() function from the STL. So my point is that I want to understand how these functions and containers work before using them.
Mar 25, 2013 09:30
@jalf So you're what saying is that I should continue learning STL and understand it later?
Mar 25, 2013 09:28
@VinayakGarg I want to understand something that I am using.
Mar 25, 2013 09:27
Data Structures
Mar 25, 2013 09:26
Dynamic Memory Allocation
Mar 25, 2013 09:25
The authors always told that using built in arrays is redundant and so I never cared to learn DMA and learn Data Structures before using the STL containers like deque and list. What should I do? Start with learning DMA and DS and then use the STL or just continue what I was doing originally?
Mar 25, 2013 09:25
So I was just learning to use the STL in C++ and started with Algorithms after finishing the sequential containers chapter in C++ Primer. Suddenly I realized that I didn't know how push_back() and insert() were implemented if it comes down to write code to construct them.
Mar 19, 2013 19:17
@sbi Ok thanks!
Mar 19, 2013 19:16
Mar 19, 2013 19:13
@sbi That's good news but I think I'll have to wait for quite a few months before I get my hands on that book. What should I read until then?
Mar 19, 2013 19:10
@Xeo Is it coming for the C++11? I didn't know that. There hasn't been any news yet is there?
Mar 19, 2013 19:09
What would be the most helpful second book (after C++ Primer) to learn C++? My primary purpose for learning C++ is to implement Algorithms and Data Structures.
Mar 17, 2013 03:19
@R.MartinhoFernandes Ok thanks!
Mar 17, 2013 03:18
I didn't know where else to go so I came here. What should I do if I want to suggest additions/modifications to the Stack Overflow website?
Mar 8, 2013 14:05
@BartekBanachewicz finished what?
Mar 8, 2013 14:03
@BartekBanachewicz Yeah, I'm trying to
Mar 8, 2013 14:00
@CatPlusPlus I'm a student :D I don't work anywhere
Mar 8, 2013 13:59
@CatPlusPlus Where can I get regular code reviews?
Mar 8, 2013 13:57
@CatPlusPlus I guess you're right. I'll keep those good answers in the favorite tab on SO and try to write more code.
Mar 8, 2013 13:55
@melak47 'Doing' things require proper training and learning. That is what I'm trying to get
Mar 8, 2013 13:53
@BartekBanachewicz Now you're talking! That is what I was asking earlier....methods to improve the manuscript which I'm learning from. One of the them would to wrrite those points in a notebook. I'm looking for a more efficient method
Mar 8, 2013 13:49
@BartekBanachewicz Part of the author's job was to teach us good practices and keep us away from the bad ones. I simply want to include a pointer to a bad practice that the author forgot to include in his book and teach myself better C++ in the future.
Mar 8, 2013 13:46
@DeadMG Such as this stackoverflow.com/questions/1452721/…. Anything about this is never mentioned in C++ Primer
Mar 8, 2013 13:44
@BartekBanachewicz Yeah I want teach myself by reading and improving the imperfections in the source that I'm trying to learn from
Mar 8, 2013 13:43
@BartekBanachewicz Teach myself better C++
Mar 8, 2013 13:42
@BartekBanachewicz You're missing the point. I'd have to wait for several years for a thing that I'm not sure will happen. I'm just looking for methods/suggestions to improve the imperfections in C++ Primer
Mar 8, 2013 13:39
@BartekBanachewicz Would that help? I'd have to wait several years before they consider my suggestion and decide to incorporate it in their book
Mar 8, 2013 13:38
@BartekBanachewicz To improve it
Mar 8, 2013 13:37
@BartekBanachewicz I know that C++ Primer is one of the best out there but as I said I don't want a disorganized study table with some concepts in one book and some of them in the other. And I'm willing to modify C++ Primer accordingly with good answers which I find on the internet
Mar 8, 2013 13:34
I figured that asking this question wasn't appropriate on SO so I came here. Ok so I purchased a C++ Primer and I have finished with the basics and I'm about to start STL. Even after being better than most of the books out there, it isn't perfect (so far). The authors aimed to teach their readers about the best practices and also tried to keep them away from the bad ones. Concepts likes these (http://stackoverflow.com/questions/1452721/why-is-using-namespace-std-considered-a-bad-practice-in-c) and (http://stackoverflow.com/questions/3601602/what-are-rvalues-lvalues-xvalues-glvalues-and-prva
Feb 28, 2013 16:33
@R.MartinhoFernandes Ok, thanks!
Feb 28, 2013 16:28
@R.MartinhoFernandes Thanks for your help but what about the other papers? Are they useful for studying a particular topic? For example, if I want to understand how decltype works then should I study n1478 and n2343 or is n3485 enough?
Feb 28, 2013 16:02
@CatPlusPlus I don't understand. That website hosts articles but I can't understand what is meant by (§7.6.1.2/4). When I visit http://www.open-std.org/JTC1/SC22/WG21/docs/papers/

all I see are papers and don't know where to go
Feb 28, 2013 15:59
@BartekBanachewicz http://www.open-std.org/JTC1/SC22/WG21/

Is it this?
Feb 28, 2013 15:58
http://stackoverflow.com/questions/3097779/decltype-and-parenthesis

Can anyone tell me what is this FCD (§7.6.1.2/4) the person asking this question is referring to? Is it a book? An online manual? What is it?
Feb 3, 2013 14:05
@MartinJames THANKS
Feb 3, 2013 12:39
@MartinJames I'm sorry but I didn't understand what you said. Can you write code please?
Feb 3, 2013 12:32
Can anyone help me out please?
Feb 3, 2013 12:30
How can I construct a function that accepts mutltidimensional square matrices arrays of any size(order)?
 

 bin

It's a bin, for binning things.
Jun 24, 2013 07:54
I'm sorry for interrupting but I didn't understand the answer provided to the 3rd question(about the returnC() function). Can someone please clarify the answer?

http://stackoverflow.com/questions/2837241/c-returning-pointers-references
 

Hello World

For beginners of programming,testing,security etc Developers a...
Mar 25, 2013 09:23
The authors always told that using built in arrays is redundant and so I never cared to learn DMA and learn Data Structures before using the STL containers like deque and list. What should I do? Start with learning DMA and DS and then use the STL or just continue what I was doing originally?
Mar 25, 2013 09:23
So I was just learning to use the STL in C++ and started with Algorithms after finishing the sequential containers chapter in C++ Primer. Suddenly I realized that I didn't know how push_back() and insert() were implemented if it comes down to write code to construct them.