Beginners - April 2015 (Page 22)

sqrt confusion
 
I am completely new to C++ but have a need to tweak some existing code. My problem is sqrt, which al...
[1 reply] : Heya, sqrt most certainly does return non-zero values- which you can s... (by ultifinitus)
by trasbd
Overloading the Insertion (<<) Operator
 
I am trying to overload the insertion operator for a class called resident . Whenever I run this, ...
[4 replies] Last: Can you make m_name a string? (by S G H)
by enemy
T H I S S.O.S. ! ! !
 
Hello! Please, can someone write easiest example using keyword "this"? Many thnaks!!!
[14 replies] Last: Many thank!!!!!!! (by enemy)
by enemy
Copy constructor
 
Hello! Please, I tried to copy the first object using copy constructor and I do nto see mistake! Why...
[3 replies] Last: Thanks!!!!! (by enemy)
by Bocian
Open text file in a function
 
Hi, i can't seem to figure this out, how can i open my text file when i call it in a function? The i...
[5 replies] Last: Ok,idk what you actually wanted to do,but heres the program I wrote fo... (by LadyInRed7)
How to give user specified names to a file???
 
Hey guys ,so yesterday I was to my tuition class and there the Sir taught us something of data handl...
[4 replies] Last: Ok,so after a few ifs and elses,I made some minor tweaks to my program... (by LadyInRed7)
Brush Class
 
So I am out to use a Brush with windows easier. So far this is what I have. I am trying to get a ha...
[no replies]
setprecision not working
 
This program has 10 different salespeople, and their total sales. The user puts in a bonus rate, and...
[1 reply] : Had to change the variables bonus and totalBonus to doubles, then it w... (by TheChang)
Basic Textmate help
 
This is probably a very stupid question but here goes. I am going to start learning C++, I did some ...
[1 reply] : First hit on Google: http://stackoverflow.com/questions/1008019/c-sin... (by AbstractionAnon)
Dictionary using Binary Search tree and AVL tree using files
 
I want to make dictionary using BST and AVL tree but i am having difficulty in file handling please ...
[no replies]
Don't allow out of board
 
Hi guys, So I have a question... I have a board, and I don't want the user to write anything where ...
[2 replies] Last: Oh, I didn't knew that was possible. Thanks! :D But if the condition ... (by Evenilink)
by wolfv
static scope question
 
There is something about static scope I am not understanding. Please explain the following output. ...
[3 replies] Last: Thanks Cubbi! That explains it. http://en.cppreference.com/w/cpp/l... (by wolfv)
by cppS
C++ Parameterized constructor error
 
File Perceptron.h: class Perceptron { public: Perceptron(){}; Perceptron(...
[1 reply] : Perceptron p = new Perceptron(INPUTS_COUNT); should be: Perceptron ... (by cire)
Help needed about project
 
Hi.I have to make a project for the semester and have decided to make a polling station program.The ...
[1 reply] : Can u Hlp me Solve MIne The program ' Project5.exe: Managed (v4.0.30... (by fuyu)
by HelenI
Game help
 
Hey! I'm helping a friend with a game and i have a very BIG problem. I have to check if the object1 ...
[2 replies] Last: hi! the bullet is the same object with the marble...i have to find if ... (by HelenI)
by hmlwin
Program not handling properly when values are equal.
 
I am writing a program for my programming class. For one program we were to create an amortized loan...
[4 replies] Last: ....and they are doubles This is most likely the problem. Read: ht... (by firedraco)
Finding the average for each athlete
 
I have to find the average of each athlete.But with my program ,the sum of the score score doubles u...
[no replies]
by Kman
Address book problem.
 
This is a really cliche problem, I know, but I'm still stumped. I have to read the first name, last ...
[12 replies] Last: input is an int. If you enter 1, 2 or 3 it will have the value 1, 2... (by cire)
Random Number
 
Ok I am have a simple issue that is eluding me badly for some reason I am running a simple loop to g...
[8 replies] Last: I ran it and it just kept saying comp is to low , so I killed it.... (by Smac89)
Algorithms - Big O
 
Lately I've been trying to learn about algorithms, particularly sorting and searching algorithms. Ge...
[8 replies] Last: Thank you, I understand now. (by Bogeyman)
April 2015 Pages: 1... 2021222324... 52
  Archived months: [mar2015] [may2015]

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