Beginners - May 2011 (Page 3)

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-ver...
[no replies]
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 try...
[no replies]
Im trying to over load the operator <<
 
This is my header file #ifndef DATASTORAGE_T_H #define DATASTORAGE_T_H using namespace st...
[no replies]
Why is this call ambiguous?
 
namespace A{ template <typename T> T const& max(T const& one, T const& two) { return two<on...
[10 replies] Last: ah, yeah, that makes sense @ m4ster r0shi. I guess I never though abo... (by Disch)
Where does uninitialized pointer point to?
 
int main() { int* ptr; *ptr = 56; } This compiles without warning. I thought the pointe...
[1 reply] : When you create a pointer like this, the memory for that pointer is al... (by Moschops)
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....
[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 ~G4...
[4 replies] Last: if you want the destructors to all of the base classes above you calle... (by kfmfe04)
Including Same file twice
 
Hi, What will happen if we include same file twice in a project. How comiler and Preprocessor ha...
[2 replies] Last: I guess it would depend on the compiler. In my MS VC++ Express 2010, ... (by Nisheeth)
Menu Driven Program
 
design a program marks.cpp that will be used to analyse a list of marks. This program will be menu d...
[1 reply] : first, we'll get the formalities out of the way, learn how to use code... (by matsom)
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 ex...
[2 replies] Last: Thank you so much! (by bin262144)
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 ...
[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) ...
[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...
[3 replies] Last: Keep the console open long enough to see your program's output http://... (by ne555)
no operator error
 
I know that this is simple to most but I dont see what is wrong. #include <iostream> using name...
[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...
[no replies]
Iterators with classes.
 
Alright, so the past few days, I've been trying to study vectors, list, and maps. I'm currently s...
[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 t...
[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 ...
[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. M...
[2 replies] Last: Thanks a lot ! (by Guluck)
how to sort the letters?
 
if i enter everyone first name, last name. how can i sort the last name?
[1 reply] : What are you storing the names in? (by Moschops)
May 2011 Pages: 12345... 48
  Archived months: [apr2011] [jun2011]

This is an archived page. To post a new message, go to the current page.