Beginners - March 2010 (Page 7)

by tongpu
A Practical Question...
 
I'm 28 and I want to make video games(or a specific game). I am armed with intro/novice level programming exposure in c++ years ago and java more recently... ...
[4 replies] Last: Take a professional course. That's probably the best advice I can offe... (by tummychow)
Cant understand the tutorial [ESL Student]
 
Hello cplusplus forum. My name is David (13 years old) and I recently moved into the united states. This is my second year in the united states and I am trying ...
[7 replies] Last: You're not going to find a small C++ handbook. What do you define as s... (by tummychow)
My time converter - trying to handle uncorrect input!
 
Well I made a simple time converter, anyways I am trying to get it to where, lets say the user types in D but the options are only 1-10 I want it to not close a...
[8 replies] Last: You are absolutely right, thanks for pointing that out sammy34 I ha... (by attaboy)
eternal loop
 
I keep getting this loop but my program compiles. #include "RAHIM.H" #define HEAD1 "GO-BROKE-AND-LAYOFF MANUFACTURING COMPANY" #define HEAD2 "EMPLOYEE_NA...
[1 reply] : I'm a bit concerned that you've declared: char employee_name ; ... (by sammy34)
overloading operators problem
 
Hi guys I have this assignment for class, thinking it was going to be pretty easy turns out I can't figure a thing out. My main problem is with overloading oper...
[4 replies] Last: Sorry I didnt know what was causing it until I asked my professor toda... (by deadbolt742)
Pointers - More Information?
 
Hi guys, First let me say that I understand the basic concept of pointers, however I would like to know a little bit more about how the memory is allocated. ...
[2 replies] Last: Hmmmm...you're right. In fact, whenever I run it in debug mode using V... (by sammy34)
comparison between pointer and integer
 
I need help with a calculator i created. It keeps giving me the error;"ISO C++ forbids comparison between pointer and integer" and "invalid conversion from `co...
[7 replies] Last: it worked! ty! i didn't know before that char can only hold one charac... (by marvolo1300)
by pika
Classes and dynamic memory
 
Hi, I've just started learning C++. Right now I'm fine with classes, and I'm fine with dynamic memory, but I struggle to get things right when I'm dealing with...
[11 replies] Last: Yep. Well, never mind, I'll try to get the basics down first. Thanks... (by pika)
about looping
 
do anyone know how to bring all value for a data(including the data before) from the first loop to use in the second loop?
[2 replies] Last: @kenhapi: Why yes, yes we do. @ARWA: It was a simply phrased questi... (by Computergeek01)
Why isn't the copy-constructor being called?
 
I'm learning about copy-constructors, and I have a test program with two functions: one to take an object of a class by value and show that its copy-constructo...
[2 replies] Last: Yeah, I guess that might be what's happening. I tried that and also C... (by closed account jwC5fSEw)
RTTI and Pointer problem
 
Hello! Im having a problem with the following code structure. The code compiles without problems but when i start the program i get an "exception: __non_rtti_o...
[2 replies] Last: @whjatjx Tank you very much - that solved the problem. i modified the... (by o0mkh0o)
addition array elements
 
I'm somehow a n00b in C++ but i was writing a small code where i want to store user data in the elements of an array, and then when it is stored i want to count...
[5 replies] Last: Ok thank you :) Later i will try this right now i dont have time. I wi... (by SoulRyder)
A class design question for an interview.
 
Is there any problem regarding the following design? class A{ public: virtual void foo(){} virtual void foo_00(){} virtual void foo_01(){} . . virtual v...
[1 reply] : It is syntactically correct. The only "problem" I see is that you... (by jsmith)
Don't understand this program
 
I'm using "C++ primer 4th edition" to learn C++ with, and it had this program: #include <iostream> int main() { int sum = 0, value; // read till end-o...
[3 replies] Last: Ok just glad I could help! Just making sure, I've ANSWERED your que... (by billlin)
Need assistance with a retrieval program that outputs into another .txt file
 
Okay, this program is designed to withdraw information from a .txt file that contains a list of grocery items. After the item number is used, then the item numb...
[1 reply] : the way you wrote the prog is verey confusing try to make your prog mo... (by ARWA)
How can I return a character string? To use it in main.
 
I have a variable: char item ; The user inputs the name of an item they wish to buy. This is in the function int get_item() How can I get it into m...
[4 replies] Last: you can use strdup() but it needs free after being used for examp... (by looksad)
Ideas on my project.. or a step in the right direction?
 
So I have a project. It's a game where the user is going through the pyramids and needs to retrieve all of the canteens before he runs out of time and dies from...
[1 reply] : Personally I would recommend going with an array of some kind for the ... (by genuwine21)
Converting text to phonetic alphabet --- if loop problem..
 
Hi all, I am writing a program that converts text in a standard .txt file into the NATO phonetic alphabet ( a= alfa, b = beta, c = charlie, etc..) I am ha...
[2 replies] Last: ahh, of course, I knew i was just missing something simple.. progra... (by AndrewThe70sMan)
How do you skip over sentances in file input
 
Ok so I want to read in a file that says this Please enter the name of the family purchasing the home:Howard Please enter the home's price:250000.00 Please...
[3 replies] Last: I think I kinda miss lead you guys, im reading in from a file not from... (by patsies62)
March 2010 Pages: 1... 56789... 34
  Archived months: [feb2010] [apr2010]

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