Beginners - February 2013 (Page 21)

by Joe947
Trouble with template function
I'm trying to debug a program for an assignment, and I believe most of the errors are fixed, but there are still one or two I am having trouble finding. Thes...
Feb 21, 2013 at 5:22am
[2 replies] Last: Types are not variables. Arguments to functions must be variables. ... (by cire)
by scar95
Age guessing game
Hey guys, I need to Write a program that predicts users’ age (0-128 years old) with at most 7 questions. The game starts with asking the user whether he/she ...
Feb 21, 2013 at 5:18am
[17 replies] Last: I appreciate your help guys. Thanks alot for your time, and support. (by scar95)
by Qazone
error C2228: left of '.enabled' must have class/struct/union"
I realize this must be a super beginner problem. I am getting an error "error C2228: left of '.enabled' must have class/struct/union" 4 times for my checkBox1 ...
Feb 21, 2013 at 5:08am
[2 replies] Last: Okay, thanks. I am just trying to get through the visual elements of ... (by Qazone)
Having Issues with an Even Odd Number Seperation
/* It compiles and runs, but on output it tells me the index is bigger than the max index */ #include <iostream.h> #include <lvp\vector.h> #include <lvp\...
Feb 21, 2013 at 3:45am
[18 replies] Last: No worries - glad to help (by jim80y)
Am I using Call-By-Value correctly? Instructions and Code provided
Certainly not done coding or formatting this, but so far this can calculate female Basal Metabolic Rate. Need to know if I'm utilizing call-by-values correctly...
Feb 21, 2013 at 3:40am
[2 replies] Last: Appreciate the help. Our class was just introduced to Call-by-Value - ... (by btkircher)
by T4l0n
clarification on this tutorial
#include <iostream> using namespace std; int answer(int asd , int num); int main (){ int numbers ={1,5,42,68,85}; int total=answer(numbers,5);...
Feb 21, 2013 at 3:22am
[2 replies] Last: Thanks, that helped. Just to be sure, the value asd is basically (1,5... (by T4l0n)
by fluffy
Random Generation of five numbers assistance
Hello, I had to write a program that randomly generates five numbers between -10 and 10. It should announce the total of the numbers and the cout of how many ar...
Feb 21, 2013 at 2:28am
[1 reply] : Lots going on here. Have you attempted to compile this yet? Things of... (by confuciusdragon)
by Belyvr
Looking for some help with an assignment
The assignment "write a complete C++ program that declares a 2 dimensional integer array of size 10 rows and 10 columns. The program should use two nested for ...
Feb 21, 2013 at 1:49am
[1 reply] : I get only 0's across the 10 rows and columns Do you think this m... (by AbstractionAnon)
by fluffy
Dice Rolls Problem assistance
Hello!!! I have started to learn the C++ language and right now I am confused as to why my program is not running.It is about the random generation of dice r...
Feb 21, 2013 at 1:26am
[5 replies] Last: I have made the changes you suggested and now the program compiles. Yo... (by fluffy)
Don't type letters!
Hello, I am really new to C++ and I made a program that does addition (It's my first program). The problem, is, it glitches when you input a letter. I can't see...
Feb 21, 2013 at 1:05am
[3 replies] Last: or use getline... (by Smac89)
Help!
File reading letters, proobly into a string number to an int and then I was thinking several numbers into an array.
Feb 21, 2013 at 12:57am
[3 replies] Last: letters 1 number multiple numbers (by megagamr1)
Natural Gas Calculator
Hi I have to write a program that takes 2 inputs to indicate the amount of gas used and then calculate how much that amount of gas would cost according to the c...
Feb 21, 2013 at 12:46am
[no replies]
by w0nder
C++ text file, sorting amount of letters in a word
character by character: To sort all words in a text file by amount of letters (how many words which consist of 1 letter, 2 letters etc.)
Feb 21, 2013 at 12:42am
[1 reply] : ?? could you be more clear? (by closed account Dy7SLyTq)
Alphabet Swapping
Hello, I am new to this forum as well as to basically any form of programming. I have recently signed up for a programming class in my school. During the first ...
Feb 21, 2013 at 12:42am
[1 reply] : well first welcome. second we cant do homework for you. third try firs... (by closed account Dy7SLyTq)
Anybody know anything about Scene Graphs?
I have created a class which represents polygons made of lists of vertices. I need to create a scene graph to handle rotations, scales, and translations of thes...
Feb 21, 2013 at 12:23am
[no replies]
Jumping into C++
I wanna start off by saying, I am a COMPLETE beginner to C++, basicly a noob in all programming languages. I've been able to grasp the VERY basis syntax of the ...
Feb 20, 2013 at 11:32pm
[6 replies] Last: it provides all of C's features because it evolved from it and to keep... (by Oria)
by kiste5
Help Please.
Write a program using for loop construct to compute the sum of: 1/2 + 1/3 + 1/4 + … + 1/10
Feb 20, 2013 at 11:13pm
[4 replies] Last: ty<3 (by kiste5)
by gladi
Can i write this expression
Hello everyone, void zero (long int bigIntergers ) can long int come together like in this statement.
Feb 20, 2013 at 11:07pm
[5 replies] Last: The teacher said that this two type cannot come together and he detec... (by cire)
by lume
includes not working (yes I've read all the many posts on includes)
I can't seem to figure out why my includes aren't working. I've read all the articles and many, many posts on this and none of them address my problem. So afte...
Feb 20, 2013 at 10:43pm
[13 replies] Last: Got it working. No thanks to anyone here. (by lume)
Tic Tac Toe win function
Hello my code works almost 100% i cant figure out how to get my win function to work it finds the winner for x but not for o or no winner. Can anyone help?! ...
Feb 20, 2013 at 10:39pm
[4 replies] Last: Hahaha yea didnt mean to do that (by closed account z8q4izwU)
February 2013 Pages: 1... 1920212223... 67
  Archived months: [jan2013] [mar2013]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.