Beginners - February 2009

by wretch
polymorphism bypasses private protection?
 
Something in C++ that is puzzling me... Let's say I live in a very quiet apartment with a very mean landlord. If I try to call makeNoise from dogObj with th...
[5 replies] Last: Thanks very much Disch, Bazzy, jRaskell, and guestGulkan... for all of... (by wretch)
C++ Form
 
How to make a form. Is it possible to make like a form in C++ where a user can input data and then that data is translated into a variable or something?
[1 reply] : This requires either exploring the GUI API of the OS you're working wi... (by Disch)
C++ Dodgeball Game!
 
This Is A Little Game I Made. Please No Bad comments its only my 2nd game i have ever made. also do not say it wont work cuase every time it say you were hit b...
[2 replies] Last: Are you expecting us to download an exe without providing appropriate ... (by helios)
My C++ Hunting Game!
 
I Have Finished My TxT Hunting Game And If You Would Like To Try It Here Is The Download Link : http://www.mediafire.com/download.php?2w2zd00jhzi Please Dont P...
[1 reply] : Are you expecting us to download an exe without providing appropriate ... (by helios)
Where to go next? (1,2)
 
So prior to me deciding to take on C++, I do have "some" history. I have HTML, PHP, and MySQL background. Now I know those are all web based languages, I figure...
[23 replies] Last: No. I do think C++ is not a good first language, but I propose exactly... (by helios)
If, Else Statements, Correct Codes
 
Ok so I think I have all of the right code here, if there's anything I don't really need in there, your suggestions are welcomed. Thank you in advanced to whom...
[5 replies] Last: Oh I had a question,before I changed this text around. I had the outs ... (by rossjohn07)
console closing down
 
what is the risk in using the command system("pause.exe"); i know that it is window supported function or platform but why not ? i don't found any risk ...
[4 replies] Last: thsnk you very much (by muhamed)
Need direction on homework problem using enum
 
Hi, all. I am new to this site and to C++ (and am struggling with it). I am getting ready to turn in my second assignment and have a question regarding one of m...
[1 reply] : IIRC, cin.good() returns zero when the input is invalid. (by helios)
by xcure
Need some assistance with C++ homework, we are making a gas mileage calculator
 
Hey guys. I just started C++ last week in college and we already got slammed with the first homework assignment. Here is the assignment: "Write a program tha...
[3 replies] Last: Well, actually it isn't legal that line in a function body, that looks... (by Bazzy)
My First C++ Game
 
Please Answer! This Is An Easy Question! I Made A TxT Game Using Dev C++ But How Do I Change It To A .EXE File?
[3 replies] Last: Thanks, Disch! That Helped Alot! (by cppc101)
numbers appears 1245052
 
i'm using VC++6 to compile c files i have a prolem when i write this #include<iostream> void main() { int i=100; printf("%d",&i); } on running the pro...
[2 replies] Last: thank u very much (by mos6afa)
very open question
 
This doesn't have much to do with specific details or anything technical. I was just wondering if C++ it'self is a good choice as a first language to learn. I a...
[10 replies] Last: Agreed. In my professional experience thus far, I have found that I c... (by seymore15074)
Not Sure what she is doing!
 
I am suppose to write a program that reads the number each meal ordered: Breakfast Cost Each:$5.50, Discount10% If order more than 10 lunch costeach:&9.50 Dis...
[6 replies] Last: There are a lot of other jerks who didn't bother to help you at all. W... (by Ganellon)
Program Structure
 
I am trying to write a class to use in a program. However i am having difficulty in knowing where to place this class data -separate from main of course. Do i...
[6 replies] Last: i could explain the chapter of classes in a very good way if you wan... (by muhamed)
by romand
private static function
 
Good day to all. I have some strange problem and checking if some one can help me. I've defined a helpFunctions.cpp class with static functions. now I have a...
[2 replies] Last: the function is in the class and the line number is: static void lo... (by romand)
by klxp9
Int Array Being Changed In Function
 
These two arrays /* One Hour Set */ int one_set_begin = {4, 7, 10, 13, 16, 19, 20, 22, 23, 23}; /* One Hour Set */ int one_set_end = {6, 9, 12,...
[3 replies] Last: OK, thanks for the help guys. Got it to work correctly. (by klxp9)
by jesusk
ANY IDEA?
 
Ok here's the thing.. i need to make a program which asks the user for a number and a char. This is fine once u have the # and char you must do this figure ...
[2 replies] Last: This is a hint in the right direction, but it should be enough to get ... (by Ganellon)
How to create (initialize) a double pointer ??
 
Hi Guys, I know programming in general but I am kind new to C++ pointer concept. I got this project at school and I have no idea how to start... So please...
[5 replies] Last: edit: whoops -- the wrong thing got pasted in here before XD Yo... (by Disch)
cannot initialize string of structured data
 
#include <iostream> #include <conio> #include <string> int main() { struct LectureInfo { string name; }; LectureInfo dayang = {"Testing"}; ...
[5 replies] Last: The original poster posted this which is correct: struct LectureInfo... (by guestgulkan)
Trouble Coding a Program (w/functions using isupper and islower)
 
I'm trying to code a program that will be used as a decoding programing, that will take a text document's contents, and decode it using the program. Here is ...
[no replies]
February 2009 Pages: 123... 22
  Archived months: [jan2009] [mar2009]

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