Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Results tagged with c++
Search options not deleted
user 17722
Questions about C++, a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language.
4
votes
Why do books say, "the compiler allocates space for variables in memory"?
what the compiler will do is take your code and compile it into machine code. What you mention is a good example where a compiler only needs to translate.
For instance, when you write
int foo;
You …
3
votes
Game programming : C# or C++?
I highly promote C++ for game development. There are a few extra obstacles, with various pros and cons, one of the best reasons is portability.
With C# you can develop for quite a bit more these days …
6
votes
2
answers
3k
views
Smart Pointers inside class vs Normal Pointers with Destructor
Regarding pointers which are members of classes. Should they be of a smart pointer type or is it enough to simply deal with them in the destructor of the class they are contained in?