Beginners - July 2014 (Page 31)

Jumble word through user input
 
(Jumble word program) (plz guys help me to make this program) user enter few characters random...
[6 replies] Last: thank you very much. i resolve the problem and program work perfectly.... (by zeewaqar)
biggest element of the line and column of the array
 
#include <iostream> using namespace std; void Lines(int mat , int vect1 ) { int i,...
[2 replies] Last: @coder777 Note that current C/C++ is case sensitive. you just frigh... (by Jaybob66)
by bonho
Singleton compilation error LNK2001
 
I'm trying Singleton to generate unique number during a session and arrived at the error Error 1 ...
[2 replies] Last: oh great that's even better thanks. (by bonho)
[C++] Decryption: Undoing a circular left binary shift
 
For anyone stopping by, I needed to make all of the "char" variables unsigned. "unsigned char num...
[2 replies] Last: Thank you so much helios! I tried that earlier, but my mistake was: c... (by slypenguin0)
Calculating the function and checking its domain
 
Hello, my task is to calculate the following function: cube_root(log 5 (x 2 - sqrt(x)) for ar...
[9 replies] Last: So I should always test if I can represent a specific number as a fra... (by Cubbi)
rot13 from command line
 
Hi! and HELP! Working on an assignment for a class, been going in circles on how to get arguments...
[2 replies] Last: Makes sense, thanks. (by andert1)
If statement
 
I am writing some code. I need an if statement that basically states if a digit does not appear in t...
[7 replies] Last: Thank you so much for all of your help! This forum really is very help... (by rapster)
by wharp2
Code will not out put properly!
 
After it goes goes through and plays it's 1 million games. It proceeds to tell me that I have won al...
[7 replies] Last: @wharp2 I added the setprecision() command into the program. Reduce... (by whitenite1)
Pass object as parameter from another class' member function
 
All the examples I have seen so far relate to passing an object as a parameter to some function that...
[8 replies] Last: There has to be something about how you're including the headers. Yo... (by dragonforest)
Need help with basic subtraction formatting
 
I am writing a program that is supposed to compare how old someone is in relation to recent events. ...
[5 replies] Last: Um, are you sure? You didn't update the code in your post. (by Lachlan Easton)
by wharp2
Using set precision!
 
How would I get this: Out of 1 million games you won: 493549 Out of 1 million games you lose: 50...
[1 reply] : Oh, I didn't see that you opened a new topic for unanswered question, ... (by Ganado)
by wharp2
Have one more question! (simulate the casino game "craps")
 
So I need to wright a program that does this (But I have run into some issues any pointers, helps or...
[8 replies] Last: I figured it out thanks for all your help! (by wharp2)
Question regarding local static object
 
Hi, guys. I was just now reading about local static object and really troubled by the mechanism of h...
[4 replies] Last: function-local static are always initialized before the first time the... (by Cubbi)
C++ or C#
 
I am 14 and when I am older I would like to be a games programmer. I have just recently started lear...
[4 replies] Last: Okay thanks for you very helpful reply, I will first start with C++, a... (by closed account 4yUpDjzh)
by omoe
Is storing strings under managed c++ safer than unmanaged ?
 
Hello guys , So im working on a little project c++/cli and realized that if i put a string i wanna k...
[1 reply] : With the managed code in C++\Cli all of your variables are divided int... (by Computergeek01)
by lays
I'd like to know why assignment operator doesn't return a const reference?
 
classtype& operator=(const classtype&); I think returning a const may avoid (obj1 = obj2) =...
[3 replies] Last: For the built-in types like int, the assignment operator returns a ref... (by dhayden)
by marcoE
Class Composition problems
 
Hello guys. I'm tryng to learn how to implement c++, and at same time learning OOD. I'm tryng ...
[1 reply] : to resolve your include circularity http://www.cplusplus.com/forum/art... (by ne555)
by marcoE
Problems implementing Polymorphism
 
Hello guys. I'm trying understand and learn C++. I've started to read a book, then I read about OO...
[8 replies] Last: > So, I shouldn't have a parent class like Store, to "hold" my product... (by ne555)
by ci one
Big vector accessed by different classes
 
What's the most sensible way in regards to performance? I have a large vector of objects and diff...
[2 replies] Last: Thanks! Makes sense. :) (by ci one)
by lays
A simple question, why "const static" class member can be initialized inside declaration?
 
I know why non-const static member cannot be initialized inside class declaration. It is because cla...
[2 replies] Last: All static data members of a class have external linkage; whether con... (by JLBorges)
July 2014 Pages: 1... 2930313233... 43
  Archived months: [jun2014] [aug2014]

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