Difference between revisions of "C++"

From LPTMS Wiki
Jump to: navigation, search
m (Hashmap)
m (Miscellaneous)
 
(7 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
* [[Using a hashmap]]
 
* [[Using a hashmap]]
 
* [http://wwwasd.web.cern.ch/wwwasd/cernlib/cfortran.html Interfacing C/C++ and Fortran]
 
* [http://wwwasd.web.cern.ch/wwwasd/cernlib/cfortran.html Interfacing C/C++ and Fortran]
 
+
* [[pointer to member function]]
----
+
* [[Interfacing C++ and Python]]
 
+
* [[OpenMP_and_Multithreading#C++|OpenMP in C++]]
quick example of c++ source display:
+
* [[128 bits integers with gcc]]
<source lang="cpp">
+
* [[low-level integer routines with gcc]]
template<typename T> class B
 
{
 
private:
 
  T t;
 
public:
 
  B(T const& _t) : t(_t) {};
 
  T value() const {return t;};
 
};
 
 
 
int main()
 
{
 
  B<int> b(2);
 
}
 
</source>
 

Latest revision as of 16:22, 11 April 2012

Reference websites

Pointers handling

pointers are not always easy to handle, particularly for destruction, memory management... There exists some solutions provided by boost

Miscellaneous