General C++ Programming - March 2012 (Page 21)

Char * encoding
 
Hi, If I write the statement below in C++ under visual studio, what will be encoding here. const ...
[16 replies] Last: Thanks Peter!! Nice to know c++ comes with this! (by dearvivekkumar)
C++ abilities
 
Hello, I'm new guy in C++ world. I'm here, because I want to be programmer( as my profesion). I want...
[14 replies] Last: A good c++ programmer with sdl/sfml can too. There are a lot of youtu... (by Azagaros)
Calculator Restriction
 
Hello I'm new at C ++ , i'm trying to make calculator using atof() function can someone show me ...
[3 replies] Last: What you ask for is a lot more complex than vilml has done. The first... (by Azagaros)
Puff... getting wrong answer ?!!? (1,2)
 
Here's the question :- Problem 2: List of Books, (K Narayan Kumar / R Shreevatsa, CMI) This is anot...
[21 replies] Last: The point of that line is that the user input index is corrected so th... (by coder777)
WHAT DOES A COPY CONSTRUCTOR DO?
 
Hi there, can somebody tell me what a copy constructor does? and when do u know you need one? ...
[3 replies] Last: Note that while viliml's example is not incorrect, it is not a good id... (by andywestken)
strings and how to check for spesific chars?
 
Hey I have been trying to find a food and ofisont way of checking to see if a string contains a cert...
[2 replies] Last: So if the string do not contain atlest 1 of all the characters in test... (by WetCode)
by LB
Multiple Inheritance Diamond: Why ambiguous conversion?
 
struct Base { virtual ~Base() = 0; }; struct Sub1 : public Base { virtual ~Sub1() =...
[4 replies] Last: Thanks for all your help - I have it working properly now and it is ac... (by LB)
null pointer inheritance
 
class employee1 { employee1( string _id="0", string _name="0", string _date="0", string _pho...
[7 replies] Last: ¿Could you please provide a minimal example that reproduces your issu... (by ne555)
help me please in dynamic memory allocation
 
int main() { double *monthSales = NULL; // a pointer used to point to an array holding monthly sal...
[1 reply] : Here's a hint http://www.cplusplus.com/reference/std/new/operator%20ne... (by naraku9333)
Run for a certain amount of time.
 
Hello, I am trying to write a program that checks if a person presses an arrow key within a 2 second...
[5 replies] Last: Thank you very much for your help , however, I'm farily new to program... (by Stronghead)
Sequence Programing
 
here what i am supposed to do Write a C++ program that inputs a number from the keyboard be...
[2 replies] Last: but then how would you make it ask wether you want to run again or not... (by romilstr29)
iterator seg faults
 
I'm trying to create an asteroids game using OpenGL. I'm getting seg faults if I erase an element f...
[2 replies] Last: You can't move the erase() past the constructNewAsteroid because t... (by shacktar)
Help on using template
 
I wonder if any one can help on this. I am trying to do a simple template class like this: templa...
[2 replies] Last: template< typename FUNCTION > class my_class { public: ... (by JLBorges)
exceptions and throw inside a class (1,2)
 
I have a need to throw an exception inside a class which I derive from <exxception> how am I goin...
[22 replies] Last: > how are casts different than an automatic upconversion Re-read a C ... (by JLBorges)
Class error in header file. "expected class-name" Please help!
 
Hello guys. I got this problem in a small c++ project im working on. I have build classes for differ...
[no replies]
by erkka
while (ii<(filesize-6)) ambiguous - how to fix
 
I have two variables, named ii and filesize, both are of type ifstream::pos_type filesize holds the...
[2 replies] Last: before posting my question I already tried while (ii<int (filesize-6)... (by erkka)
What is a fast sorting algorithm?
 
Hello, I have had no education in algorithm. I have written an algorithm that can sort 2200 song ti...
[10 replies] Last: Just a little update. I read on how the merge sorting algorithm works ... (by Shatronics)
by LB
Can't have static and instance member functions with same name?
 
Why can't you have a static and an instance member function with the same signature? class A { v...
[15 replies] Last: > The static storage class specifier doesn't "change" the signature of... (by JLBorges)
Calculating
 
Hi , Can some one tell me or let me know some link where we get the theory of calculating the chec...
[2 replies] Last: thanks .. kbw .. it helped (by bluecoder)
Is there a Better Framework than Qt to work?
 
Hi I'm in the theoritical research stage to launch a large scale project next semestre in C++ where ...
[no replies]
March 2012 Pages: 1... 1920212223... 49
  Archived months: [feb2012] [apr2012]

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