473,544 Members | 1,870 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C / C++ Forum

C / C++ programming language - Get answers to questions about compilers, visual C++, templates, namespaces, classes, data structures, OOP (object-oriented programming), inheritance, data types, exceptions, Standard Template Library (STL) and the C Standard Library.
4
155
thread by: girays | last post Jun 27 '08 by: girays
Hello everyone, I have a simple problem what I don't know the exact syntac for this. My code is shown below: enum LengthType { LENGTH_METER = 0, LENGTH_KMETER, LENGTH_YARD, // 1 yard = 0,914 meter
0
155
thread by: Nick Keighley | last post Jun 27 '08 by: Nick Keighley
On 14 Apr, 08:36, InuY4sha <inuy4...@gmail.comwrote: but you're wrong :-) the topic of this ng is the C programming language and *not* the systems that happen to be written in C.
2
155
thread by: esclepius | last post Aug 23 '08 by: mdh
In the following little bit of code, I understand what and why the error is, ( lack of parentheses in *pp.y , thus declaring 'y' a pointer, which it is not) but what I don't get is the error the compiler raises. int main (int argc, const char * argv) { struct point { int x; int y;
0
156
thread by: spamkiller1960 | last post Jun 27 '08 by: spamkiller1960
spam
0
158
thread by: majorcolletmkvu | last post Jun 27 '08 by: majorcolletmkvu
bf 1942 patch http://cracks.12w.net F R E E
0
159
abc
thread by: ravipatil29 | last post Jun 27 '08 by: ravipatil29
please send me the notes of this subject and c language
0
159
thread by: gokul | last post Jun 27 '08 by: gokul
Know more details on Programming languages C/C++ http://www.blogonprogramming.blogspot.com
0
160
thread by: Eugeny Myunster | last post Jun 27 '08 by: Eugeny Myunster
test
2
160
hi
thread by: asha.chandran | last post Jul 21 '08 by: joseph cook
whether dynamic binding ,runtime polymorphism & late binding are of same concepts?
3
160
thread by: Rainer Weikusat | last post Aug 6 '08 by: Willem
Chris Torek <nospam@torek.netwrites:
0
161
HI
thread by: chow.tra | last post Jun 27 '08 by: chow.tra
Hello All!
2
161
thread by: mathews9138 | last post Jun 27 '08 by: Hans Mull
Hi all! Where can I read about this topic? Thanks in advance.
1
161
thread by: user923005 | last post Jun 27 '08 by: user923005
On May 13, 10:21*am, "Robbie Hatley" <see.my.signat...@for.my.email.addresswrote: Not really, but you can do like I did in chapter 13 of "C Unleashed": Windows line endings: http://www.cpax.org.uk/prg/portable/c/unleashed/code/cubookcode.zip Unix line endings:
0
161
thread by: spinoza1111 | last post Jun 27 '08 by: spinoza1111
I want the GUI of the spinoza system to not piss me off with the usual type of progress reporting one sees: the flashy, colorful, and utterly uninformative gizmos that go back and forth and round and round until who knows when. Therefore, the following C Sharp .Net code constitutes a theory of progress reporting.
0
161
thread by: Daniel Pfeiffer | last post Jun 27 '08 by: Daniel Pfeiffer
Makepp is a drop-in replacement for GNU make which has a number of features that allow for more reliable builds and simpler build files. Finally here's again a new well tested beta snapshot. Besides numerous general improvements and bug fixes, a highlight of this version is the much enhanced support for all Windows environments. There...
0
161
thread by: Nikki Locke | last post Sep 14 '08 by: Nikki Locke
Available C++ Libraries FAQ URL: http://www.trumphurst.com/cpplibs/ This is a searchable list of libraries and utilities (both free and commercial) available to C++ programmers. If you know of a library which is not in the list, why not fill in the form at http://www.trumphurst.com/cpplibs/cppsub.php
0
162
thread by: Ian Collins | last post Jun 27 '08 by: Ian Collins
Jerry Coffin wrote: I think it's also a matter of delegation; one delegates the management of the resource to the object implementing RAII. Any cleanup code is encapsulated in that object and only needs to be maintained in one place. -- Ian Collins.
5
162
thread by: michael.goossens | last post Jun 27 '08 by: LR
1>e:\development\root\root\vector3.h(24) : warning C4114: same type qualifier used more than once 1>e:\development\root\root\vector3.h(24) : warning C4114: same type qualifier used more than once 1>e:\development\root\root\vector3.h(82) : warning C4114: same type qualifier used more than once line 24: Vector3( const Vector3 const * v );...
1
162
thread by: pereges | last post Jun 27 '08 by: pereges
#include <stdio.h> #include <math.h> #include <stdlib.h> int main(void) { unsigned long int numpoints; printf("Enter num of points\n"); scanf("%lu", &numpoints); unsigned long int numpointsx = sqrt((double)numpoints);
0
163
thread by: barcaroller | last post Jun 27 '08 by: barcaroller
I've noticed that neither container.begin() nor container.end() return an error when the container is empty, so I get a nasty segfault when I dereference the iterator. Do I have to check if the container is empty every time I use an iterator, or am I missing something? Speaking of iterators: if I initialize 'iter = container.end()', can I...
7
163
thread by: abhash | last post Jun 27 '08 by: Pete Becker
I am bit puzzled at the following piece of code I tried: ---------------------------------------------------------------------------------- #include <iostream> using namespace std; class Test { public: Test() { cout<<"Cons\n";} Test(Test& a) { cout<<"Copy cons\n";}
0
163
thread by: sunil | last post Aug 13 '08 by: sunil
Hello All, reading http://docs.sun.com/source/819-3690/Program_Org.html#37468, I see there are two ways to instantiate templates: template definitions included, template definitions separate, does template definitions separate mean there will be only one copy of instantiated template code per type ? Also the compiler options:...
0
164
thread by: Christopher | last post Jun 27 '08 by: Christopher
On Apr 11, 12:07 am, Ian Collins <ian-n...@hotmail.comwrote: I've never seen those implemented _inside_ the class, but defined and implemented outside the class and then made a friend of the class.
1
164
thread by: dizzy | last post Jun 27 '08 by: James Kanze
James Kanze wrote: Correct, the char const* uses are very few to worth those versions. Good idea, in my case the code is to be used only on POSIX systems but I'll keep that in mind because I too like to write portable code even when not required.
0
164
thread by: =?ISO-8859-1?Q?Marcel_M=FCller?= | last post Jun 27 '08 by: =?ISO-8859-1?Q?Marcel_M=FCller?=
clintonb wrote: :-) You did not catch what is going on here, isn't it? The compiler cannot even store the fractional number 9.495 in a IEEE float storage, because that number is not an element of the domain of the double data type. So your application was never compiled with 9.495. Beyond this it

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.