Beginners (Page 4)

Please help array problem? -Beginner
Why does this give me this result? (Learning about pointers etc. and...
[6 replies] Last: [quote=OP]If they are in my memory why are they there in the first pla... (by Computergeek01)
by ynd
recursive function return Without return
In the following code, I wrote a function recursively which should return a value, and really when t...
[4 replies] Last: a) youre not using anything in it b) thats a c library. the proper one... (by Little Bobby Tables)
Loop still run even if condition is not met.
I'm just starting out in C++ and I have an assignment I seem to be having issues with. We are suppo...
[3 replies] Last: Yeah, no problem! Mark the answer as solved at the top of the page. (by androidguy1)
Noob problem
Hello, I just started to study c++ with Sam's Teach Youself c++ book and ran into a problem with an ...
[6 replies] Last: problem solved thanks anyway (by AidanSana)
by tduff8
hw help
I need help with this hw problem i have been working on for this week. I cant get any in class help ...
[1 reply] : You pasted your code in the wrong spot, it needs to be [co de]between... (by LB)
a program that flips integers
I was asked to write a program that prompts the user to enter a 3-digit number, the program flips & ...
[3 replies] Last: Your math is wrong. Don't forget you need to multiply each digit by th... (by LB)
Array Problem
I am currently having issues with getting user input from a separate file, and using that input to p...
[10 replies] Last: Your arrays in Rolodex are string names and int numbers. If you want ... (by tscott8706)
Need help compiling a payroll program
I think I'm pretty close. I'm getting an error "no default constructor exists for class "Payroll"". ...
[4 replies] Last: What exactly you do not getting? Payroll total; //This is variable d... (by MiiNiPaa)
by Orval
Need help with Classes
#include <iostream> #include <string> #include <vector> #include <cstdlib> using namespace std; ...
[1 reply] : Hi, the statements health; health - 20; do not change any state or... (by Ganado)
Need to improve this code.
Need to improve this code, it should loop back to the starting menu switch case like a real program....
[5 replies] Last: void getSale(int &prod, int &quantity, float &price) The parameters ... (by dhayden)
What can I do to make this functional?
What am I missing to get this farenheit to celsius program running? I am almost there but I keep ge...
[1 reply] : The "stray" error is from your minus sign not being a minus sign on li... (by tscott8706)
Refreshing the console
What is use to refresh the console? I use system("cls") but I think, it doesn't refresh the consol...
[3 replies] Last: You can't actually "refresh" the console because it doesn't have a vid... (by Computergeek01)
Input validation
I am trying to verify that the user only enters R , r , P , p , S , or s. char choice = 0, R = 0...
[1 reply] : 1.) choice is a character, so it will contain their choice in ascii an... (by GRex2595)
rand function
Hey guys, I am writing a rock, paper, scissors program. I've got it pretty much hammered out, except...
[8 replies] Last: Which line? Did you add braces to definition? (by MiiNiPaa)
Pushing back a sprite from a typedef struct
How to push back sprites from typed structs? Have tried many combinations, but to no avail. Thx in a...
[2 replies] Last: Sorry, I've corrected it. It's about "Units" in SFML, which have a spr... (by Bronislaw)
Own command prompt
Hello, I need a help. A want to create method to print the text. Also, i want to create new simple c...
[2 replies] Last: Instead of cin >> command , you should include string and use getlin... (by GRex2595)
ArrayList Custom class
I've made the ArrayList class like in java. This runs fine but when i stores values (i used for loop...
[4 replies] Last: Thank you very much tipaye and coder777 .... Yours answers mean a lot... (by salman 123)
trouble with setw and 2D arrays
I'm having trouble printing 2D arrays in an aesthetically pleasing manner. When I use the code belo...
[2 replies] Last: That's all of the code that I have in main, but the first row isn't al... (by strangelove1221)
by amm123
can someone help me fix this code?
[3 replies] Last: Where is your original code? Oh wait! I have it right here! // Cont... (by Militie)
Basic looping question confusion
The below code works fine, but I believe there is a cleaner way of coding it. I need the program to ...
[4 replies] Last: Got it. Thanks man! (by DocHollyw00d)
Pages: 123456... 66
  Archived months: [jan2015]

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