Beginners (Page 6)

Code will never be executed error
 
I'm a newbie to C++ and I'm not sure how to fix this error message I keep receiving. #inclu...
[8 replies] Last: [quote=booradley60]Not even a warning? Ahh, there is explicit flag: ... (by keskiverto)
Do...while loop assistance :)
 
This is only a small fraction of the code I have written so far, but I am having some difficulty get...
[1 reply] : while((ans !='Y')&&(ans !='N')&&(ans !='y')&&(ans !='n')); This mea... (by tipaye)
Dev-C++ Compiler [error] problem.....
 
This line of code was working, but now it is through me compiler errors that I am not exactly use to...
[6 replies] Last: As you change those error variable i think all the error above should ... (by quisite)
by AWbman
C++ Calendar
 
I've nearly completed my C++ project to create a calendar, but am running into a small problem. Aft...
[4 replies] Last: its programmable by user input only for the year and month. http://www... (by anup30)
by oseri
Private inheritance and exposing a functionality
 
I've got 2 classes : class B { public: int pubB; int getPub(); }; class C : priv...
[2 replies] Last: Ok, thank you (by oseri)
Error LNK2019
 
I've looked but can't seem to figure out what's causing these errors: warning C4013: 'print__comp...
[2 replies] Last: Yip that was it, wow thanks! (by edwinibon)
Switch cases and Array's
 
A few assignments back I made a leap year program with a switch case involved in which I divided the...
[6 replies] Last: Man, if i could give you a huge I would..... I figured x would have n... (by Jxcorex29)
trouble creating two user created class type vectors...
 
I'm making a game and running into a weird problem.... I'm trying to make a vector of pointers to an...
[2 replies] Last: #include <vector> (by MiiNiPaa)
Not sure what is wrong with my program
 
Write your question here. My program keeps getting these errors, any helped would be great. ERRORS...
[4 replies] Last: Thank you very much, it works now! (by edwinibon)
by amznjr
Factorial Problem
 
Good evening, I need help with a problem for my class. I have looked through the forums, and I di...
[1 reply] : You set totalVal on line 14 and show it on line 19. Shouldn't the loo... (by keskiverto)
SMS error
 
I need to be able to call the function Sensor when Button is on logic level 1 but I keep getting th...
[8 replies] Last: A function must be known before you call it. Either you write the whol... (by coder777)
PLEASE HELP program only reading first line of txt file
 
I need help. I wrote this code. It takes information from a txt file and calculates pay, tax, and ne...
[3 replies] Last: Yes, inside the braces that belongs to the while loop. infile.close()... (by coder777)
Why can I display every character in quotations with std::cout?
 
When I run this, the "\" doesn't show. How come? #include <iostream> using namespace std; int mai...
[4 replies] Last: In C++11 you can use raw string literals to avoid escaping characters:... (by MiiNiPaa)
Need help with a couple errors.
 
Hi. I'm stuck on a greatest product code. I basically got it all working. When I print the locatio...
[5 replies] Last: Oh sweet, thanks! :) (by brosephius)
2D arrays/greatest product
 
Hi, So I need to write one of those greatest product codes where the user enters the number of r...
[11 replies] Last: Well thats all been sooo helpful thank you! I finally figured all that... (by brosephius)
Selection sort algorithm
 
I'm having trouble implementing the selection sort algorithm in a program. I need the program to pr...
[10 replies] Last: call PrintArray(array, track); after sorting work finished. or write... (by anup30)
Could someone help me with this problem? (1,2)
 
I have a problem where eight queens are to be placed on an 8x8 chessboard in such a way that no quee...
[30 replies] Last: activate C++11 support. (by anup30)
by Cingg
Infix to postfix converter
 
I write a infix to postfix converter 1st time by stack... but cant get correct ans. ( My input no in...
[1 reply] : input 9 + 2 * 4 i need a output as 9 2 4 * + (by Cingg)
iPhone Password generator
 
So the code I've attached works well and fine, however my lines 25-33 is bulky and I have a feeling ...
[1 reply] : You have many redundant conditions there: if (array != ... (by cire)
Need help with this code ;/
 
//This program will be able to have the user choose from the menu and decide which equation to per...
[2 replies] Last: This compiles okay on my system when I comment out system("pause"); .... (by dhayden)
Pages: 1... 45678... 65
  Archived months: [jan2015]

Cannot post in this page. To post a new message, go to the first page.