|
arrays and pointers I need a proof (C++) Jerry Coffin <jcoffin(a)taeus.com> writes: In article <26fcb21f-ca9d-4efc-80e2-aab73ada3cd5@ 25g2000hsx.googlegroups.com>, firkraag07(a)tlen.pl says... Hello I am starting to feel consfused. AFAIK arrays are not the same as pointers to their first elements. They can decay to them, but still are not th... 19 Jun 2008 01:11
misra-c++ Hi The long awaited MISRA-C++ will be launched on the 5th of June in London at the Safety Critical Systems Club Tools Event. http://www.safety-club.org.uk/diary.html?opt=detail&id=70 From the 5th of June MISRA-C++ will be available from MISRA Http://www.misra-c.com/index.htm there will also be a ... 19 Jun 2008 01:11
What format specifier, modifier, do I need for a 64 bit unsigned int On Tue, 27 May 2008 08:45:29 -0700 (PDT), Andrew Falanga <af300wsm(a)gmail.com> wrote: On May 27, 9:31 am, Richard Heathfield <r...(a)see.sig.invalid> wrote: Andrew Falanga said: Hi, I know that %u is for unsigned integers, but, if memory serves me, that's only for 32 bit integers. ... 19 Jun 2008 01:11
error 'undefined reference' utente wrote: I'm trying to compile a calculator named Graphcalc, http://gcalc.sourceforge.net on my debian testing, amd64 file 'install' says: qmake --> make --> run it in console (no installation) but 'make' gives me full of errors, among which many 'undefined reference to `glxxxxx... 19 Jun 2008 01:11
What format specifier, modifier, do I need for a 64 bit unsigned int Hi, I know that %u is for unsigned integers, but, if memory serves me, that's only for 32 bit integers. What modifier would I use just before the 'u'? For example, (again if memory serves), to display an object of type long long, I would use "%ll", correct? So, what's necessary for an unsigned 64 bit integer?... 19 Jun 2008 01:11
Template function in template class Hi, I've a template class with one special template function. template< class T > class A { .... template< typename FT> void func( FT ); } Something like this does not seem to work: template< typename FT, class T > void A<T>::foo( FT ft ) {...} I get the compiler error: invalid use of... 19 Jun 2008 01:11
Pointer to an array Barry Schwarz <schwarzb(a)dqel.com> writes: On Wed, 21 May 2008 04:44:12 +0200 (CEST), Anand Hariharan <znvygb.nanaq.unevunena(a)tznvy.pbz> wrote: On Wed, 14 May 2008 18:32:05 +0000, Richard Heathfield wrote: Aggro said: Ben Bacarisse wrote: The second case is the "normal" o... 19 Jun 2008 01:11
read the last n lines of a file or reverse Gerhard Wolf wrote: Hi, how can i get the last n lines of a text-file without start loop from the files front (bad performanc on huge files). Open the file for reading. Go to the end of the file. Start reading one character at a time backwards until you reach a newline. Then you either have the li... 19 Jun 2008 01:11
Callback function and templates Hi, I want to use a callback function together with templates. Let's say I've this code: File a.h: class A { private: template< typename T > void func( bool( T::*f)(void) ); }; ----------------- File a.cc: template< typename T > void A::func( bool( T::*f)(void) ) { f(); } ----... 7 May 2008 12:35
copy values from Hi, i have to vectors. std::vector<double> a; std::vector<double> b; same type, size and have synchronous value pairs. The values in "a" are decimal time values (linear increasing). Now i want to copy in a 3rd vector "c" all elements from a start value to a end value. My first idea was something like: s... 7 May 2008 05:53 |