
please wait
by tonnot
Your opinion about using iostream to do big read-write operations
|
I'd want to have a fast method to read - write data from-to vectors form memory-to file and vice-versa. I'm planning to store the data associated with each vec... |
May 30, 2011 at 3:52pm
[no replies]
|
by manu1983
Add template library in MS visual C++ express 2010
|
Hi everyone, I am currently learning C++ and am using Microsoft visual C++ express 2010. I am trying to add/install a template library called Eigen which wil... |
May 30, 2011 at 3:45pm
[no replies]
|
by sadeh80
Im trying to over load the operator <<
|
This is my header file #ifndef DATASTORAGE_T_H #define DATASTORAGE_T_H using namespace std; enum EXCEPTION_ERROR { ALLOCTION_FAILED, OU... |
May 30, 2011 at 3:39pm
[no replies]
|
by Deathly
Why is this call ambiguous?
|
namespace A{ template <typename T> T const& max(T const& one, T const& two) { return two<one?one:two; }} int main() { using A::max; std... |
May 30, 2011 at 3:35pm
[10 replies] Last: ah, yeah, that makes sense @ m4ster r0shi. I guess I never though abo... (by Disch)
|
by Deathly
Where does uninitialized pointer point to?
|
int main() { int* ptr; *ptr = 56; } This compiles without warning. I thought the pointer had to be initialized before anything could happen. Is thi... |
May 30, 2011 at 3:16pm
[1 reply] : When you create a pointer like this, the memory for that pointer is al... (by Moschops)
|
by zerazerg
Problem with std::bad_alloc
|
I made function to extract the pilygons and similar stuf, but when I execute it it pus me bad alloc... the coments are in spanish and don't know kow to make it ... |
May 30, 2011 at 2:38pm
[4 replies] Last: class Arista { private: Vertice3D *v1; Vertice3D *v2; public: Ari... (by Silvermaul)
|
by bbcc
destructors
|
Hej every one, Could any one explain me what is the meaning of virtual destructor? virtual ~G4VUserDetectorConstruction () Thanks in advance... |
May 30, 2011 at 2:38pm
[4 replies] Last: if you want the destructors to all of the base classes above you calle... (by kfmfe04)
|
by ankushnandan
Including Same file twice
|
Hi, What will happen if we include same file twice in a project. How comiler and Preprocessor handle it. Fro Example #include <iostream.h> #include ... |
May 30, 2011 at 1:50pm
[2 replies] Last: I guess it would depend on the compiler. In my MS VC++ Express 2010, ... (by Nisheeth)
|
by mingare01
Menu Driven Program
|
design a program marks.cpp that will be used to analyse a list of marks. This program will be menu driven, and the user should be able to interactively enter or... |
May 30, 2011 at 11:21am
[1 reply] : first, we'll get the formalities out of the way, learn how to use code... (by matsom)
|
by bin262144
Question about doubles?
|
I am quite new to c++ and i wonder if there is any way to check if a double has any decimals? for example check if it is 3.24 or 3.0? |
May 30, 2011 at 10:57am
[2 replies] Last: Thank you so much! (by bin262144)
|
by pinecones
MD arrays as class members
|
how do i declare a multi-dimensional array as a member object of a class when i don't know the size ahead of time? for example: class example{ int array ; ... |
May 30, 2011 at 10:49am
[9 replies] Last: as an example you could have class example { example(int height, i... (by LBEaston)
|
by bbcc
references
|
Greetings, Could any one help me with this please: void SetFileName (const G4String& name) { fileName = name;}; This function gets the address of ... |
May 30, 2011 at 9:34am
[6 replies] Last: Hello Buddies, I would like to answer dangrr888 that I am trying to u... (by bbcc)
|
Overtime compiler |
I am running in to a single errored line at this point. I've got everything else squared away, or so it would seem. I just cannot get this last one to go away. ... |
May 30, 2011 at 7:05am
[3 replies] Last: Keep the console open long enough to see your program's output http://... (by ne555)
|
by twentfiveu
no operator error
|
I know that this is simple to most but I dont see what is wrong. #include <iostream> using namespace std; int main () { string firstName = "Ben"; ... |
May 30, 2011 at 6:25am
[1 reply] : add #include <string> on Line 2 (by kfmfe04)
|
by Jeff96
Windows form application how to declare string
|
how do you declare string in visual c++ windows form application. and how do you write serial ports? ty:D |
May 30, 2011 at 5:35am
[no replies]
|
Iterators with classes. |
Alright, so the past few days, I've been trying to study vectors, list, and maps. I'm currently starting with vectors, then am going to experiment with the o... |
May 30, 2011 at 5:17am
[5 replies] Last: Indeed, you are right. My bad for not noticing previously, thanks. I'... (by TotallyLearning)
|
Trying to place code into a string. |
Hello all. I am trying to place sections of code into a string and I would eventually like to cout the string and then place in a compiler, so I need all the ch... |
May 30, 2011 at 4:54am
[11 replies] Last: Thanks Disch Thats what I was looking for. I did not remember I could ... (by tournamentdan)
|
by llVIU
Template inheretance?
|
hello, I am a newb at C++, and I am sorry for the layout, no indet or apropriate names for anything (class, doubles, int, etc) + the program is very sketchy, no... |
May 30, 2011 at 3:53am
[4 replies] Last: Indent your code. ¿what is the problem? (by ne555)
|
by Guluck
Parallel Tasks
|
Hi everybody, I'm creating a program with Microsoft Visual Studio 2010, it's a console program. My computer is running on XP. The program created can take... |
May 30, 2011 at 3:42am
[2 replies] Last: Thanks a lot ! (by Guluck)
|
by jackie321304
how to sort the letters?
|
if i enter everyone first name, last name. how can i sort the last name? |
May 30, 2011 at 12:23am
[1 reply] : What are you storing the names in? (by Moschops)
|