Beginners (Page 63)

by Fink
[8 replies] Last: So you have the code for the program, and yet when you ask how the pro... (by Smac89)
time in seconds
basically i need to create a function that calculates time in seconds before two objects meats which...
[4 replies] Last: a function should have type and parameters. I think you did not pass t... (by a3625799132)
by ayusch
Order of calculation in cascaded cout
when I run this code it gives the following output: 21 20 21 can somebody explain this output...
[7 replies] Last: it is the problem about postfix and prefix. You can look up online. (by a3625799132)
Help with a program
The program should read integers from a text file and then determine if the sum of the odd numbers i...
[4 replies] Last: prodE should be initialized to 1 on line 15. (by fg109)
Converting unsigned Binary numbers to decimal
I've made a small little program to convert binary numbers to decimal, but the problem is that I hav...
[2 replies] Last: Yep, That did it for me. This code works. Thank you very much :D #in... (by cbsestudent)
Help with function please
Write your question here. I want it to print the number i input however it only let me input number...
[2 replies] Last: You need to define int myabs (int val); after main. Right now you... (by JB252)
Write a program that prompts the user to input a sequence of positive numbers to test whether each ...
[2 replies] Last: create a bool for prime and set some conditions. Think about the basic... (by JB252)
pass arrays between functions
I just learned about arrays and am having trouble getting them to pass to another function. I ha...
[13 replies] Last: The getScores() returns one double. That is why the line 16 is simi... (by keskiverto)
help me write comments on the following program
#include <iostream> #include <cstring> using namespace std; class Account { private: char n...
[6 replies] Last: Why would we write comments for you? You are best suited to do that an... (by JB252)
Sorting elements in array without repetition or vectors
Hello everybody. This is my first post here on the c++ forums :D I made a code for sorting the eleme...
[7 replies] Last: int SZ= sizeof( nums ); That returns the number of bytes in th... (by AbstractionAnon)
How do you make a program check if an input is a float or a integer?
I'm making this program for math class, it's going to check what real number class a number is in. I...
[5 replies] Last: Do not use to_string(). If I entered a 3 and you store it as a double... (by fg109)
Help with prices !!
ok this is my first time asking for help but if someone could help me i would appreciate this. I ha...
[4 replies] Last: Glad you did :) (by TarikNeaj)
error while debugging
Im trying to create a quadratic equation using class, and to put some values into it. first i was tr...
[6 replies] Last: try to put evaluate and print inside the class. They are members o... (by AbstractionAnon)
point of sale system and inventory
I need to create a point of sale system and a inventory. The point of sake system should reduce the ...
[no replies]
by LGoh
Help with if else statements
I've been facing the problem in which an error message: In function 'int main()': 16:1: error: 'else...
[4 replies] Last: You have semicolons (;) after the if on line 11, the else on line 16. ... (by kevinkjt2000)
Help with simple code pls!
Hi guys! Whats wrong with my code? I got this 2 lines at same time and not 1 at a time. Sorry fo...
[1 reply] : The answer to your question depends on what is the code supposed to ... (by kevinkjt2000)
C++ text Adventure Game
Hello guys, I have working on a text based adventure game for 4 hours now and i can not seem to use ...
[2 replies] Last: I don't know what language you're coming from, but you need to spend s... (by AbstractionAnon)
Find max number from a set of n numbers !!!
Hello, I am trying to solve the Stanford course materials at home Chapter1 ex 5 course cs106bx. I a...
[9 replies] Last: Worked like a charm !!! Thanks... (by manishthatte)
Arrays and Pointers
Let's say I have const char * Snames = {"Spring", "Summer", "Fall", "Winter"}; How do I ...
[9 replies] Last: Oh nvm. Thank you for your help! (by Drakonaut)
by Fink
please help me
[10 replies] Last: you need to edit your post because some of my classmate haven't yet th... (by Fink)
Pages: 1... 6162636465... 99
  Archived months: [feb2015]

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