Beginners - October 2014 (Page 28)

Trying to point to a function
 
I am not sure what is going on. All I am trying to do is call a function with pointers. It will not let me assign the pointer to the memory addresses. I am not ...
[2 replies] Last: hey ispil thanks for your reply. Line 7 and line 28 looks to me like i... (by MRangel)
Help Needed with simple assignment
 
Hi there guys, i've been working on a particular assignment for a prog class and cannot seem to find a way to solve the second requirement (in bold below) of th...
[4 replies] Last: You're not supposed to be pushing an fstream object into another. The ... (by TheKingOfTyrants)
FUNCTION CHECK HELP PLEASE
 
This is what i have for this function so far but im pretty sure its wrong. can someone check it for me or tell me what it should look like if i did it wrong? ...
[6 replies] Last: sure. #include <iostream> using namespace std; int print_range(int ... (by lonelylense)
Finding the average, lowest and highest value number etc in a list of numbers from a txt file
 
I have an assignment where I have to create a menu and then depending on the menu choice the program has to call from a list of numbers from a file and find the...
[3 replies] Last: I havent learned about how to do arrays yet so I wouldnt be able to us... (by wilsonkay1)
by hosoi
please help with my print star assignment
 
Hi I'm new to programming and really need some help with my assignment So, this is the prompt: Modify this main program so that it prints: * ** *** ****...
[4 replies] Last: #include <iostream> using namespace std; int main() { int sides; co... (by lonelylense)
Test Plan
 
Hi, I am a beginner and I'm just wondering what a test plan consists of. The book I have tells me nothing on how to write a test plan and I need to write some...
[no replies]
by BML
windows graphics programming (checkers game)
 
Hi there, i'm trying to create the checkers game that i'm sure most experts have done at some point in their programming life. This is the code i have so far...
[no replies]
Variable always equal to 0.
 
Hello! I am trying to make a fraction calculator for an assignment. In summary, one of my variables (totalPercent) is set to equal a value (correct) divided by ...
[4 replies] Last: Thank you so much. I personally don't like to leave problems in the wi... (by Chipchip)
by woohoo
2-3-4 Tree Insert
 
I need some help with my homework. Prompt The variable some_key contains the value (or key) to be inserted into the array the_keys Empty slots will contain a ...
[no replies]
Can't figure out what is wrong.
 
Can someone tell me what is wrong with this code. #include<iostream> #include<iomanip> #include<fstream> #include<string> using namespace std; struc...
[7 replies] Last: I am majoring in Computer Engineering. Thanks for the advice Keene. (by BigBadHarv)
Overloading functions
 
Hi im making a program that takes the average of 5 judges and drops the highest and lowest to give a final score. I'm running into a problem where feedback is t...
[1 reply] : Your prototype says calcScore takes a double in the arguments. In mai... (by mobotus)
adding a pre-loader
 
Hi! I've only seen this applied on Foundation's Orbit plugin, but I'd like to know if adding a pre-loader, or a loading screen can also be done on the site ...
[no replies]
Random number gererator with in range
 
I'm trying to build a program to generate a random number with in a range set by two number entered by the user. It's almost working, except sometimes it genera...
[3 replies] Last: Thank you! (by dunnDolphin)
I/O to/from a .txt file
 
I am having trouble reading from a .txt file i have already made in the format of: 2 3 1 2 3 4 5 6 I am trying to extract the "2 3" row as dimensions to...
[no replies]
multiple decleration error when including header file instead of cpp
 
Hi i am trying to code an ncurses snake game on linux. I have these following headers and .cpp files with inclusion guard point.h -> to define a point struct w...
[6 replies] Last: The problem is you're including function implementations in your heade... (by AbstractionAnon)
Input validation for numbers 0-100 for 3 variables
 
Hello, The first part of my assignment asks me to write a program that takes 3 integers from 0-100 input in any order and outputs them shown smallest to larges...
[no replies]
Quick recursive function question
 
I can't figure out why this is not returning the correct result. int raiseToPowerR(int base, int exponent) // assume exponent > 0 { if (ex...
[2 replies] Last: Oh duh, thanks man. (by eladage)
Use modulo and conditional to make rows/table?
 
I have a problem for school (below) I have the first part but I need help with the second part. Also if you could confirm the first part that would be nice. The...
[14 replies] Last: @and kand 97, sum=i/100 + (i%100)/10 + (i%100)%10; ... (by anup30)
Assignment help.
 
I'm having some serious issues really understanding this question. Does he want me declare the variables in main and reference them to input? Maybe I'm just no...
[1 reply] : Does he want me declare the variables in main and reference them to i... (by keskiverto)
Locker Puzzle, help.
 
Problem for puzzle: A high school has 1000 students and 1000 lockers, one locker for each student. On the first day of school the principal plays the following...
[3 replies] Last: //gcc and clang compiler allows you this way... //visual studio dont... (by anup30)
October 2014 Pages: 1... 2627282930... 70
  Archived months: [sep2014] [nov2014]

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