Beginners - March 2015 (Page 19)

by Navu
Random values being displayed in simple inheritance
 
This is the program to perform simple inheritance but while performing add function, the output is not as it is supposed to be. I am a beginner so please keep ...
[3 replies] Last: This is the reason you got those values : class mul publicly inherits... (by closed account SECMoG1T)
seems like my "tolower()" is not working
 
Hello im doing this exercise where i have to open 1 text file and if a letter is uppercase i have to convert it to lowercase and write new content in another fi...
[3 replies] Last: Thank you very much, this gives me good lesson to check out what funct... (by etrusks)
have the problem with the cipher.
 
please help, I am having the problem with the cypher program. this program ask the user to input the cipher value and then ask the user to input the phrase to c...
[4 replies] Last: yeah, I know that, but the problem is that when the phrase is 9 and th... (by quoccuong04)
by alexBB
Clarification on some C statements requested.
 
My environment is Ubuntu 12.04, gcc and g++ compilers. I tried to use this FFT code in C: http://www.librow.com/articles/article-10/appendix-a-2 and it co...
[5 replies] Last: Now it is all clear. Thank you very much. It is very helpful. Problem ... (by alexBB)
Formatting a table in an array
 
so i need to format a table into an array with targets candidates and the score. the targets and candidates holding six preset digits and the score being the di...
[no replies]
How to use functions. Help please
 
Hi everyone! I'm trying to use functions for the first time and I don't know how to do use them. for example: if my input is : 66 1 2 1 0 0 0 2 ...
[1 reply] : if my input is : ... my output would be like: ... More exact syntax... (by keskiverto)
by savanh
need u r help
 
what the problem with this code? it says is error C2511: 'void publication::printData(void) const' : overloaded member function not found in 'publication'for e...
[1 reply] : Hi, maybe your prototype of printData() function in "q2.h" is not same... (by amirtork)
C++ Overloading
 
Design and implement a class dayType that implements the day of the week in a program. The class dayType should store the day, such as Sun for Sunday. The progr...
[1 reply] : Hi :) i think you just have problem in overloading operators, so i sk... (by amirtork)
uppercase/lowercase with arrays
 
Program is supposed to take any sentence and convert the lowercase to uppercase and uppercase to lowercase. It runs, but it isn't outputting. Any help would be ...
[4 replies] Last: Thank you so much for the help! :) I'll have to play around with str... (by whiterun)
thanks
 
thankyou
[5 replies] Last: This works really well. Thank you both. :) (by justhappy)
creating an output file
 
I need the program to create a new file named 'evenNumbers'. My problem is that the only line that was saved in my new file was the very last one. The file is j...
[4 replies] Last: It is legal, even if unusual, to have statements in a brace block. On... (by keskiverto)
I need help please
 
I need help creating a loop that when the user enters XXXX it would be terminated. The problem with the following loop is that after the first attempt of inputt...
[15 replies] Last: Thank you again! (by thebossman)
Getting speed to apply to a fee?
 
Hello. I cannot get the speed in line 27 to apply to the choices that follow. I thought that if the cin>>speed was included within the larger brackets, then it ...
[7 replies] Last: Wow! Thanks! (by noahfrere)
getting unexpected and weird output
 
So I had to make this backtracking app, and I decided to make it also recursive, the app must do this: "User inputs N numbers , then a S number , generate all ...
[3 replies] Last: You are right, the recursion is simpler. Here is some obfuscation tho... (by keskiverto)
pointers problem. Any help?
 
It gives me an error of invalid types "int for array subscript in line 10 How do I fix it? #include <iostream> #include <fstream> using namespace st...
[4 replies] Last: Glad I could help you :) Happy Coding! (by TarikNeaj)
My pacman game(i'm a begginer)
 
#include <iostream> #include <cstdlib> #include <ctime> #include <string> #include <Windows.h> using namespace std; int input, position = 1, times...
[3 replies] Last: good :) but there is few notes, which i think they can improve your co... (by amirtork)
Help on first big project, having trouble with Trigonometric Functions
 
Hey guys need some help. First big project of the semester. I need some help on it as this class is very difficult for me to understand. I wrote a code with a m...
[4 replies] Last: ...So if you have finished your assignment or not, I usually use mathi... (by nickeeromo)
by koopey
continuously running out of memory, program crash
 
(Ughhh! so many problems) Hi guys! The problem is in that the last couple of different programs I wrote, I got continuous message of "(program_name).exe has sto...
[2 replies] Last: Your sort function has a problem: Due to line 61 (i++) it is out of b... (by coder777)
Display only the first word in a char array
 
So I'm currently writing a program to ask the user to enter their full name then only output their first name. But I can figure out how to do it. #include <io...
[7 replies] Last: std::string has find too. It can search for single character (for ex... (by keskiverto)
Need help
 
Hi, I have a problem, i made something, but when i compile i receive an error, something like this : "error : int Bus::_lineMap is private". I don't know...
[3 replies] Last: Yes! That will work if you change one thing. The const. Remove the co... (by TarikNeaj)
March 2015 Pages: 1... 1718192021... 51
  Archived months: [feb2015] [apr2015]

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