General C++ Programming - June 2011 (Page 25)

enforcing mutability
 
1. suppose I have a class called Cement whose instances are immutable when just read from the da...
[11 replies] Last: I think I understood your problem, but I don't think you understood wh... (by kev82)
Small error, please help. "Undeclared (first use this function)"
 
Hey guys, this is my first semester in C++ and i'm not grasping the whole thing yet. It's errors lik...
[4 replies] Last: #include <iostream> #include <string> #include <iomanip> #include <c... (by junh1024)
by suetam
ecuacion
 
Hola como están tengo la siguiente ecuación: F=(G*m1*m2)/(d*d); donde m1 y d son constantes...
[6 replies] Last: Lately, it IS much to ask for people to write full sentences, much mor... (by webJose)
array addition formula
 
Hi There, I am using the following statements in a loop. The last statement is supposed to add th...
[9 replies] Last: It's working now. Thank you hamsterman. (by sanehatter)
by rucafe
Using classes to retrieve data
 
I have a file that contains thousands of numeric entries sorted into four columns. The structure of ...
[5 replies] Last: Considering that the file has thousands of numerical values, it would ... (by closed account zb0S216C)
Why can't generic types be like regular types.
 
I've been looking at templates where a set of instructions is carried out on any one type of data an...
[2 replies] Last: Because then: 1. Depending on what your declaration means, it is more ... (by helios)
by suetam
datos en c++
 
hola tengo este codigo que resuelve una ecuacion. necesito hacer un nuevo codigo que obtenga 1000 d...
[6 replies] Last: como puedo agregar la forma de obtener 1000 datos para F y M2 en este ... (by suetam)
must embed operator<<() implementation when using namespaces?
 
Must I embed or is there a way to break out the implementation? Of course, if I embed the imple...
[9 replies] Last: I think you are worrying too much. AFAICS you aren't polluting it beca... (by ne555)
Simple Problem With Undeclared Statements
 
Hey guys, this is supposed to be a simple program where a teacher can enter the marks of students, f...
[2 replies] Last: I'd just like to say thank you, it works flawlessly now. (by icedabz)
by jdewey
Screenshot program
 
I currently do have a working program that takes a screenshot of the cmd window when it runs. I now ...
[no replies]
Generic Multithreading (Boost)
 
Hello all, Here is my problem: I have 3D containers in which I store any data on which I wish to ...
[2 replies] Last: I finally found a way to do it! I just put my function and its paramet... (by TCHATTE)
by Aikon
template multiplications of two matrix
 
I have the folowing code that allow me multiplicate matrix but I want it to void the size's of each ...
[4 replies] Last: Now al work. Thanks you very much. #include <iostream> using namesp... (by Aikon)
Schedule programs
 
Is there a way in C++ to schedule the running of programs, so that they start automatically at certa...
[2 replies] Last: cron exists only in *nix world, on windows you could use task sheduler... (by modoran)
Can't Bootstrap Boost Libraries: Required Files Not Found
 
I'm trying to install the Boost libraries in Mac OS X (exactly what version is classified according ...
[1 reply] : I solved this by creating symlinks in /usr/local/include for everythin... (by TechnoCat)
Char Array
 
I am making a program in which i need to assign a string to a char array but when i do so it flags a...
[5 replies] Last: A = "Hello"; while executing this line compiler create a const char a... (by dearvivekkumar)
by GPP
How copy one char from a string
 
hi, Im trying to copy one char from a string for example std:string abet; std::string message ...
[3 replies] Last: string class is a STL container just like STL vector. (by dearvivekkumar)
by rat
time() functionality and tm structs w/ pointers
 
I am writing a Rolodex-type program to store information like birthday, phone number, etc. I have de...
[3 replies] Last: Hey I have written one function which takes a string(since I am suing ... (by dearvivekkumar)
Template trouble
 
I wonder why I get a compiler error if I uncomment the two operator definitions? Also I wonder why I...
[9 replies] Last: I knew about this - I have mentioned it in other questions on the same... (by guestgulkan)
Declaring struct/class local to a function
 
Hi, Is it correct to declare a class local to any function. Suppose I have a class like : ...
[2 replies] Last: The (current) C++ standards documents does say that local classes are... (by guestgulkan)
REMOVE PLEASE
 
MODS PLEASE REMOVE, THANKS
[3 replies] Last: How so? (by firedraco)
June 2011 Pages: 1... 232425262728
  Archived months: [may2011] [jul2011]

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