473,544 Members | 1,213 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.
-
-
KeredDrahcir
thread by: KeredDrahcir | last post Feb 19 '13 by: KeredDrahcir
Moved:
-
-
thread by: Ashishsonawane | last post Mar 9 '13 by: Ashishsonawane
Moved:
-
-
thread by: chethankt | last post Feb 16 '15 by: chethankt
Moved:
-
-
thread by: rocksam2003 | last post Aug 22 '13 by: weaknessforcats
Moved:
-
-
thread by: quickgun33 | last post Oct 11 '12 by: quickgun33
Moved:
0
122
thread by: Ian Collins | last post Jun 27 '08 by: Ian Collins
Rahul wrote: Make that snippet, a program compiles... It is undefined, so what happens is speculation. The reason you "get way" with your example is func1() does not access any data members of the class. If it did, it would attempt to dereference a NULL this pointer.
1
125
thread by: kimpopin | last post Jun 27 '08 by: Lars Uffmann
Hello, im new to the c++ world, but i want to make a site, this one http://szenvedelyes.extra.hu/ and i want to use some c++ coding. Can anyone tell me where should i get online book, or tutorial for it, and if you can go to my site and watch it and tell if its good or bad i would be happy. Thank you Ruby
0
129
thread by: kimpopin | last post Jun 27 '08 by: kimpopin
Hi, something is wrong with this site http://szenvedelyes.extra.hu/ i cant make it work, or see whats on it. I think i need flash or something, but im not a professional, can any one help me. Thanks Ruby
0
130
thread by: Noah Roberts | last post Jun 27 '08 by: Noah Roberts
I have a function that takes a template parameter that could be anything. Within this function is the following: else if (is_function<T>::value) { typedef function_traits<Tftraits; out << type_descriptor<ftraits::result_type>() << "("; out << ")"; }
0
131
thread by: Kai-Uwe Bux | last post Jun 27 '08 by: Kai-Uwe Bux
Rahul wrote: Correct. Dereferencing a null pointer is undefined behavior. That may depend on what you mean by "access the memory (function)". First, functions in C++ are not objects. That alone makes it tricky to "access the memory" that on real machines is associated with a function. In the
0
131
thread by: alkqbsmorai | last post Jun 27 '08 by: alkqbsmorai
crack cocaine addiction behavior http://cracks.12w.net F R E E
0
134
thread by: chow.tra | last post Jun 27 '08 by: chow.tra
crack cocaine addiction behavior http://cracks.12w.net F R E E
0
135
thread by: James Kanze | last post Jun 27 '08 by: James Kanze
On Apr 11, 3:16 am, Ian Collins <ian-n...@hotmail.comwrote: It's actually a fairly standard idiom for operators in general (although it may be applied for normal functions as well). In a lot of cases, in fact, the friend declaration is present not because the function requires access to private members, but
0
135
thread by: Andy Champ | last post Jun 27 '08 by: Andy Champ
Rahul wrote: It's undefined, but... You can regard a call to a member function as having a hidden first parameter of a pointer to the object. You can reference it by "this", and access to member data in the object uses this hidden parameter. In your case you haven't used "this" as you have no member data. The second point is that...
0
136
thread by: alkqbsmorai | last post Jun 27 '08 by: alkqbsmorai
1946 4.08m patch http://cracks.12w.net F R E E
2
136
thread by: Somebody | last post Jun 27 '08 by: Frank Birbacher
That way, in my case off 1/3, I'll be able to fully recover the original Huh? What does this have to do with 3's? My point was, in the case of a 1/3 ratio (or any ratio with an infinite repeating decimal), I'll never be able to recalculate the numerator exactly given the denomenator and ratio. But by storing the numerator and...
1
136
thread by: Keith Thompson | last post Jun 27 '08 by: arnuld
arnuld <sunrise@see.sigs.invalidwrites: You're using the "enum trick" (a name I just invented for it) to declare ARRSIZE and WORDSIZE as constants. I have no objection to that, but why give the enum type a name? You never use the identifier MAXSIZE in the rest of your program. I'd just do this:
0
138
thread by: Markus Moll | last post Jun 27 '08 by: Markus Moll
Hi Sven Köhler wrote: Defining a friend function inside a class is a bit weird. However, it's allowed. The difference to defining it outside the class (as far as I can see) is that it is in the scope of the class, it is not visible outside the class and it is implicitly inline.
0
138
thread by: gokul | last post Jun 27 '08 by: gokul
Want have job details in C/C++ programming languages and more details regarding other programming languages http://www.blogonprogramming.blogspot.com
2
139
thread by: kimpopin | last post Jun 27 '08 by: kimpopin
Hi, something is wrong with this site http://szenvedelyes.extra.hu/ i cant make it work, or see whats on it. I think i need flash or something, but im not a professional, can any one help me. Thanks Ruby
0
140
thread by: Ioannis Vranos | last post Jun 27 '08 by: Ioannis Vranos
Eric Sosman wrote: Well, if we all provided solutions for the ambiguous errata of K&R2 and posted them here and sending them to K&R errata site, and/or perhaps added to clc FAQ, I think would be useful to all. Myself am going to post here and send to that K&R errata site all the solutions I implemented for the ambiguous errata I have...
0
141
thread by: gokul | last post Jun 27 '08 by: gokul
Want have job details in C/C++ programming languages and more details regarding other programming languages http://www.blogonprogramming.blogspot.com
0
142
thread by: surana | last post Jun 27 '08 by: surana
Find more details about C/C++ such as job oppurtunities, Flowchart preparation and many more. A one shop website for all your programming language needs as Java, .Net, http://www.computenetwork.blogspot.com http://www.sqlserversoftware.blogspot.com
1
143
thread by: david | last post Jun 27 '08 by: david
Code: #include <iostream> #include <cstdarg> #include <cstdio> #include <string> #include <sstream> #include <exception> #include "aibe.h" class DoesNotExistInSet : public std::exception {
2
143
thread by: sophia | last post Jun 27 '08 by: sophia
Dear all, Is there any condition / requirement that nodes in linked list must be stored in contigous memory locations ?

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.