Beginners - May 2011 (Page 12)

Output of given programming segment
Hey all, I just found a problem which I don't understand at all. Please explain to me what will be the output and how it is got. Turbo C++ (Assuming all the...
May 24, 2011 at 2:16am
[4 replies] Last: Thnx for all of your help. Found that the output will be A OROoIiE. ... (by darkstar7)
What can be improved in game code w/ SFML?
Hi, I've made a pong game. It's very generic as it's just the core of the game. My next step is making everything an object that's an object and taking everythi...
May 24, 2011 at 1:14am
[4 replies] Last: [quote=ultifinitus]You could add scoring... You could have upgrades ... (by ModShop)
Why is my array of structures not working
I just made this program and i'm not understanding why all of my errors are only for when the structure variables are trying to be used, so if anyone could help...
May 23, 2011 at 11:19pm
[6 replies] Last: well, i got it working (thanks), but for some reason i'm not getting w... (by pantsbandit)
what the point of recursion?
What is the point of recursion when all it does is weighing down the memory when large recursions are used? The reason I got this feeling was when looking at Fi...
May 23, 2011 at 7:12pm
[5 replies] Last: These guys are right recursion has its uses. If you can't understand w... (by rocktheartsm4l)
by mdk85
Urgent!! Shopping program
void customerDetails::viewCart() { for (int i=0; i<itemDetailsCount; i++) { cout<<"\nName - "<<customerDetailsObject .itemDetailsObject .na...
May 23, 2011 at 6:46pm
[3 replies] Last: hehehe i am studying C++ so that it would help me in learning objectiv... (by mdk85)
Program????
I know this isn't the right place to ask this, but I have no idea where the hell to ask this xD.... Okay, I have a program that uses the extension .tbl, this...
May 23, 2011 at 6:01pm
[8 replies] Last: It's a game called Tales of Fantasy :P (by Shay9999)
How can i add a func in conio.h?
This is conio.h: /* * conio.h * This file has no copyright assigned and is placed in the Public Domain. * This file is a part of the mingw-runtime pac...
May 23, 2011 at 5:34pm
[4 replies] Last: Yes.But i don't know __cdecl.My appraisement :It is calling A func in ... (by Helegurbann)
Thats not supposed to hapen. Why did it?
Hey ya, I got a question here about "atof()" I read it was supposed to return me a double value written in my string. http://www.cplusplus.com/reference/clibr...
May 23, 2011 at 5:02pm
[10 replies] Last: You say I should have a header file containing all my prototypes. ... (by Moschops)
by WayneC
A question on parallel arrays
I'm looking at an example of how to use parallel arrays. Here's the example code: int noOfStudents = 0; infile >> studentID >> courseGrade ; while(...
May 23, 2011 at 3:25pm
[4 replies] Last: A more OOP way to do this would be struct Person { string name;... (by Mathhead200)
Multiplying
At the end of the program, crash never gets mutiplied and shows up as 0 in the program. #include <cstdlib> #include <iostream> using namespace std; ...
May 23, 2011 at 3:24pm
[5 replies] Last: If you keep multiplying an integer by two (effectively bit shifting le... (by closed account z05DSL3A)
by ty98
C++ DOS??? (1,2)
I need to know if C++ is for ms dos? If not then what language is for dos? Do you have eny ideas?
May 23, 2011 at 3:16pm
[26 replies] Last: ty98 I need to know if C++ is for ms dos? Borland C++ and Watcom C++... (by kbw)
Game design schools are bad?
I'm hearing that actual game design schools are really bad to go to. Why exactly is this? I was going to enroll into a game design program at my technical ...
May 23, 2011 at 2:05pm
[8 replies] Last: Don't forget about the pointers rant guys. I think I missed his\her la... (by Computergeek01)
code integration problem
Hello gurus. I'm not an entirely inexperienced C++ programmer, but it has been a very long while since I have dug out the tools and I am struggling with some co...
May 23, 2011 at 1:59pm
[3 replies] Last: Which line has the error? It's helpful if you use the code format tag... (by kbw)
Overloaded functions
My compiler keeps telling me that "None of the 3 overloads could convert all the argument types" And I'm pretty sure they can, and i have no idea why it keeps t...
May 23, 2011 at 1:26pm
[2 replies] Last: Hah! I'm an idiot. Guess I just needed a fresh set of eyes. Been at th... (by Thumper)
exact string matching and replace
Hello could anyone please help me find any combination of date i-e "yyyymmdd" within a '/' separated string e-g string = "str1/str2/yyyymmdd/stryymm/str3/str4...
May 23, 2011 at 9:06am
[3 replies] Last: Thanks hamsterman and Framework :) (by vbaswant)
Implementation File and Driver won't link
Hello, I am one of the many amateurs at programming c++ and I have a problem with a project in which the implementation file requires a main driver even though ...
May 23, 2011 at 8:03am
[1 reply] : Yes, it's likely the wrong type of project. Choose 'console' instead o... (by coder777)
C/C++ Hooks
I've been studying C for awhile, and just finished my 2nd course (freshman year college) on data structures in C++. But for the life of me I cannot grasp hooks....
May 23, 2011 at 7:57am
[6 replies] Last: you may want to see this. http://www.cplusplus.com/forum/general/435... (by writetonsharma)
Factorial
Calculate factorial of a number using main() only in Recursion??
May 23, 2011 at 7:57am
[6 replies] Last: I tried the search I suggested and quickly found your last thread on t... (by closed account D80DSL3A)
Popping into string
Maybe I'm just tired from it being late, but I keep getting errors when trying to pop a stack into a string (so I can compare it to another string). for (i...
May 23, 2011 at 7:43am
[8 replies] Last: Hey, thanks for your response yet again. I actually got the program r... (by ecstasyaeternus)
Operator Overloading Clarification
what is the best and most efficient way to overload these operators. Every website i go to does it differently and i'm confused about all the "const" that is u...
May 23, 2011 at 7:25am
[1 reply] : You definitely want all the parameters to be const, because passing by... (by freddy92)
May 2011 Pages: 1... 1011121314... 48
  Archived months: [apr2011] [jun2011]

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