Beginners - March 2014 (Page 65)

Help! I'm a beginner
 
Hi! I'm a kid who want to make a rpg! But i don't know anything about c++ or other code language. Can anyone teach me or show me a link to a rpg tutorial? ...
[7 replies] Last: @ jdogsiis: There are plenty of small, fun RPG style games made by sma... (by cnoeval)
by Sylnox
Help with manipulating passed array
 
Hi! Total c++ newbie here. I'm trying to make a tic-tac-toe game for my c++ class and I've made pretty good progress, but I think I'm finally stuck. Here's w...
[4 replies] Last: Yeah, the assignment specifically said to use a 2d array :/ Although ... (by Sylnox)
X+=Y Understanding
 
Slightly confused/stumped on the statements: x+=y and x=+y I know if I had, say, x++ or y++ that would mean whatever number x or y was it would be ...
[4 replies] Last: Ah! Thank y'all so much. That helped a lot. (by Madeirey)
how to exit from a member fuction
 
Hey all, without pasting all my code here, I'd like to know how to exit a class and return to main. It is a void member function. class MyClass { int x, y...
[4 replies] Last: doesnt work. if i do that, it just gets out of the member function, b... (by pilotnate)
time/clock
 
i wrote a program that searches through names from text file. what function should i use to cout time it took to execute a certain search.
[no replies]
by cozier
Question about using while vs. do while loop
 
Recently we have been doing I/O streams and while writing the loops I seem to have a hard to knowing whether to use a 'while' or 'do while' loop. I know that 'd...
[1 reply] : The code in a do-while loop will always run once, then loop based on t... (by MrHutch)
Project
 
Hello this is a a project i have to do. but i dont know where to start Betty's Bagelry charges $3.80 for a baker's dozen of bagels (13 bagels). The price for h...
[1 reply] : have you started anything with this project? You have to have some id... (by visanoven)
by merta
MATRIX
 
int row = 0, col = 0, counter = 0; const int maximumSize = 10; int A ; while(row <= counter){ col=0; while( cin.peek() not_eq '\n' ){ cin >> A ...
[no replies]
by meva21
Add and Sub program
 
HELP PLEASE !!! Every time i run this program, using the operatorCode S it always adds it instead of subtracting. What is wrong with it? // Program A...
[1 reply] : Hi @meva21, if (operatorCode = 'A') //line 25 if (operatorCode = 'S'... (by eyenrique)
Copy Constructor Exercise Problem
 
I'm getting these errors and don't quite know what to do with them. As far as I've seen (though I've been coding for about 7 hours straight now, so issues coul...
[2 replies] Last: sigh, it always seems to be simple typos >.< thank you :) (by jakelawson44)
Calculator Program
 
So I have a small project where we have to construct a calculator program However, the problem I have is: ask for the user to enter their equation all at ...
[8 replies] Last: There's a few problems wrong with that jdogsis. 1) it does not meet hi... (by giblit)
C++ Questions
 
Well, I'm honestly am not sure what to make of these questions. I'm either missing something, or just really dumb. I have looked through my book and looked just...
[4 replies] Last: Thank you so much! :) (by Madeirey)
Help please
 
I am new to C++. I have a confusion about this: What's the difference between int *a = b; and int *a = &b;
[2 replies] Last: *a = b is assigning a ? value to an int pointer. *a = b is assining Th... (by closed account 36k1hbRD)
Writiing a C++ program
 
Hi, I'm a CS student. I'm new to this field. The most challenging part for me is how to start the program. I'm not looking for the full/final answer, I just ...
[7 replies] Last: I was actually able to finish the first part of my assignment. #inclu... (by khatereh)
Segmentation error when initiating an object
 
Hi everyone. I'm having trouble with my program. I have a class poly, and this class has a default constructor. However when I write in the main function "poly ...
[3 replies] Last: Thanks for you replies. I rewrote my default constructor as poly(){... (by babyBunny)
Need advice on pointers
 
Hey, so this book I'm following, this is the previous used code that basically just asks for some user input and then creates a custom story with that informati...
[2 replies] Last: Thanks, that's good to know. (by Sausage)
by cnsk90
it wont loop..
 
i think im having a problem with the variables... thank you guys/// Design a program in C whose task is to compute the values of the following two functi...
[4 replies] Last: yeah you are right!! thank you again for help , so this below kinda wo... (by cnsk90)
by twigz
Jumping into C++ chapter 8 question 5
 
Hey there guys. i've been going through this book in all and finally hit chapter 8. But now i'm stuck on this practice problem. Practice Problem. Write a ...
[3 replies] Last: @billy william chapter 1 - Intro and developer environment setup chap... (by twigz)
by jrsr
please help me with multidimensional arrays
 
1. I have difficulties in getting the last column of my csv file. 7 rows and 6 columns. the 6th column is not going into data. 2. How do i return a multi dimens...
[no replies]
phone number class with demo
 
I have created a class to hold phone numbers and everything works except my constructor that takes parameters. In my main when I try to call the constructor wit...
[2 replies] Last: thanks, that worked (by pepstein)
March 2014 Pages: 1... 6364656667... 79
  Archived months: [feb2014] [apr2014]

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