Beginners - August 2013 (Page 26)

String non-alphabet deletion
 
This program is designed to show the input is a palindrome or not. This this case, I attempt to remove the non-alphabet by using str.erase(),but show how the co...
[6 replies] Last: Without using <cctype> and limiting alphabetic characters to those i... (by JLBorges)
File names as mapped values.
 
Im trying to make a map such that i can access text files, using i/ostream. #include <string> #include <iostream> #include <fstream> #include <map> usin...
[3 replies] Last: Thanks. (by mattttty)
Cannot link allegro 5 library
 
Hi guys, I finally decided to move on to graphics for c++,yet for the past few days, i have been totally unsuccessful in linking the allegro 5 library to my co...
[no replies]
[Error] expected ';' before string constant
 
I'm new in C++. I don't know where mistake was and how to change please help me! #include <iostream> #include <conio.h> using namespace std; int main() { in...
[2 replies] Last: Thanks so much. I understood (by tieuyentu)
New at Pointers!
 
Hi I am new here and new to the whole concept of OOP. SO I decided to take these online lessons. I reached pointers and I have a basic understanding but when gi...
[10 replies] Last: sorry for the goof-up guys... Thanks for pointing out.. I have correct... (by abhishekm71)
Vectors- storing integers and calculating mean
 
I am trying to store integers in a vector. The integers will be provided by the user. I cannot get the vector to keep the integers because every time I print it...
[9 replies] Last: Looking good! There is still room for improvement here and there. For... (by Catfish4)
print out a string array from a for loop
 
In a separate sentence want to identify and print out each number from an array. I am having trouble finding a way to print in each sentence the identification ...
[4 replies] Last: Embarrassingly I must admit that was it! Thanks so much. (by johntor)
Source Code Section
 
Does anybody have an idea when the source code section of this website might be available? I would like to give back some code to the community, and they are ta...
[2 replies] Last: And I can give tutorials via this way? Thanks Grey Wolf!! (by Xistenial)
A little help please
 
I am not asking for answers, just a little guidance as to why I am receiving the errors that I'm getting after debugging. I need help with my homework assignmen...
[3 replies] Last: void printDay() const; void getDay(); Its also a good habit to make... (by Xistenial)
by matt11
Need guidance!
 
Hello im not quite understanding why my code wont generate the correct output that i need. My question is: Write a program that opens a (text) file, and ...
[2 replies] Last: See maybe my issue might be that i was using the compile online websit... (by matt11)
by haterz
Input digit, find its factorial
 
i wrote a program here, its showin incorrect result..for its factorial ... help me to fix it please.. ======================================================= ...
[2 replies] Last: Take into account that if type int has size of 4 bytes then the maximu... (by vlad from moscow)
need some help
 
I am almost finished with this but am in need of knowing how to write the main. here is what i have so far and what I need to complete the thing. create...
[1 reply] : The first thing in main should obviously be the create an empty list ... (by keskiverto)
by aggsyb
Moving a working progam from console to UI (vc++)
 
I have a fully functional console program, and I now want to make a UI version of it , are there any guides I could follow as I noticed some of the syntax is di...
[6 replies] Last: I have done some reading and it seems alot of people say they program ... (by aggsyb)
Backtracking sudoku solver
 
This works by backtracking. I've ran it a few times and it just gets stuck. #include <iostream> #include <algorithm> void print (int ); bool checkval...
[12 replies] Last: Well, logging should be enough here. But you need to get to know debu... (by andywestken)
rent due
 
Write your question here. need this in code........thanks Mr. Roper owns 20 apartment buildings. Each building contains 15 units that he rents for $ 800 per ...
[2 replies] Last: "The Eagle has landed, but the dough is still fuzzy in the oven. Check... (by Computergeek01)
I have harad time to understand this funciton
 
first we assign to objects diffrent x and y's but then in the call to operator+ what exactly happen how exactly this function evaluates the two coordinations o...
[4 replies] Last: No. In c = a + b the member function operator+ of object a is c... (by keskiverto)
Emulator Error
 
well, i have a DOS BOX emulator, which used to work properly earlier but now it is giving the following error when i tried mounting a drive and then opening the...
[2 replies] Last: hmmm. i see (by Andy Richard)
by Jubbly
Stop loop inside of switch
 
Hey guys, was wondering how would I end this loop. In my Shutdown case switch. For some reason it keeps looping at shutdown, I have no idea what I'm doing wron...
[no replies]
if/else problems within loop
 
Hi everybody! i have written an exercise i found here on cplusplus.com. I compile it and everything goes well, but the if statement at line 20, doesnt work. Any...
[4 replies] Last: @aggsyb thnx for the tip! i shall keep that in mind. (by minuss273)
if and else problems
 
Hi. I writed a simple calculator and i dont know why when i type q, the loop doesnt end. Also when i write an unknown operator, the error message doesnt show up...
[8 replies] Last: @Peter87 alright, i got that about the operator, but it still doesnt q... (by minuss273)
August 2013 Pages: 1... 2425262728... 51
  Archived months: [jul2013] [sep2013]

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