Beginners (Page 3)

error
 
avg = runs / ( innings - notout ) my mvs keeps complaining about dividing by zero. but i e...
[1 reply] : Have you tried using the debugger to see what the values of the variab... (by Zhuge)
by Dkob1
Switch Statement to make Menu
 
I think I was supposed to use swich statement to construct a menu but I did it like this, how would ...
[1 reply] : make the user to select option on menu; switch ( selection ) { cas... (by Lorence30)
Stopping program at five significant figures.
 
So my last post ended so well I decided to ask another question. My next project requires me to writ...
[12 replies] Last: “Double S, x, z, etc…” Is that not initializing? This bit : ... (by TheIdeasMan)
by trunax
C++ Tutorial Basic Input/Output Bug
 
Hi, there is a bug either in the script or answer, if i run a compiler i get 154 as an answer (Ente...
[6 replies] Last: Yes, so is it. Thank you.. (by trunax)
Best way to read and parse data?
 
resolved
[no replies]
by AVM8
footballer 1
 
Write THREE (3) classes in a file named classA.h, where class footballer functions as a base class,...
[4 replies] Last: constructing PR.h This is the part 2 from the above question. Write ... (by AVM8)
Make a simple linked list
 
Write your question here. I am trying to learn about linked lists, and this function makeList() is ...
[1 reply] : > I'm kind of lost. the error messages are getting more and more esote... (by ne555)
problem with sort function <algorithm> lib
 
Hi everyone! My problem looks like this: 1.At the beginning u have to insert an amount of numbers. ...
[4 replies] Last: > The advantage of this method over JLBorges's is that the sort will r... (by JLBorges)
by ct180
Boolean switch/selection structure?
 
Literaly the second day I've been working on this. I was given instructions to create a boolean swi...
[6 replies] Last: Just input the numbers with spaces between them. I.e., 1 0 1 instead o... (by dhayden)
by gmac
vectors
 
This is a very very confusing assignment. Way too long as well... implement the comp201 vector ...
[1 reply] : Notice the 3 data members: mySize, myCapacity and myArray. Make sure ... (by dhayden)
Need Help Making a program to count spaces in a sentence
 
Write a function that will count the spaces in given sentence. Think about how your function header ...
[no replies]
Binary to decimal error handling
 
I'm having problems implementing this. The original program works, which is as follows: #include...
[12 replies] Last: If I enter 10101, I get the error message, but then I get 21 in the n... (by dhayden)
by gmac
matrices
 
multiplies two matrices (M1 × M2) of integers using pointers and dynamic arrays (you are not allow...
[no replies]
if statement trouble
 
I have to make a program where it prompts the user to input a number between "zero" and "nineteen" a...
[4 replies] Last: @Mint It's a homework problem, and the user has to input a number tho... (by joecookjc)
I need give form ti
 
I want to shape this mathematical exercise 1-1 / 3 + 1 / 5-1 / 7 + 1/9...... to an algorithm I get...
[2 replies] Last: OH gracias !!! digo thanks men (by Loverain)
How to check if the user is entering the same input twice?
 
I have a simple program that asks the user to select 3 players from a list. Is there any way to keep...
[4 replies] Last: I modified your solution and it works perfectly now. Thank you for you... (by sean244)
by GJOwl
Differing variable input question
 
Hi all, I'm working on an assignment where the user inputs the center coordinates(x,y) for an cir...
[no replies]
by Ch1156
How can i use getters and setters with math? (1,2)
 
I have a function in a game i'm working on that is the shop function and I need to do some math for ...
[38 replies] Last: Thank you both :). I'll look over my code tomorrow and get back to you... (by Ch1156)
How do I round?
 
I've tried everything possible and the final answer won't round up. This is what I have so far and t...
[6 replies] Last: Can someone please help me? I've been struggling through this for hour... (by Giorgio)
Noob needs help with foo and other things
 
So I'm just picking up C++ in college and I'm really enjoying it. However my teacher is a backup who...
[13 replies] Last: Thanks. I was just using it as an example because I only know of main ... (by TieRein)
Pages: 12345... 42
  Archived months: [dec2014]

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