Beginners - August 2013 (Page 33)

Game Project: Problem with calling out string variables from a function
 
So, I'm doing a RPG text based game and I need somewhere in the game for the person to choose their gender and role: - I have a variable called int userInp...
[8 replies] Last: Ah, I didnt realize you meant to declare the function, I thought you w... (by fafner)
creating objects
 
I have a main class and a seperate class called Modules. I want to create the arrays listed in my code consisting of Modules objects. I am getting the followi...
[no replies]
class
 
i have crated a class and include this in a cpp file while i am compiling the file it is showing error :fatal error no such file or directory found! what may b...
[5 replies] Last: ohh i am done i had given different different path to the class ! (by hellcoder)
How to hack (1,2)
 
I need help trying to hack.
[30 replies] Last: ah i see what you did there. lol (by closed account Dy7SLyTq)
Pointer to pointer
 
I started reading simultaneously Mark A. Weiss' C++ for Java Programmers and Vaughan Young's Programming a Multiplayer FPS in DirectX. In the last I encountered...
[5 replies] Last: [quote=matt77hias]If memcpy works for objects why not for structures... (by LB)
What are difference in..
 
Hi All Can any one give some explanation on What are this and *this? How are these two different? Thank you in advance
[2 replies] Last: from the tutorial on this site: http://www.cplusplus.com/doc/tutorial/... (by Rechard3)
Functions With Parameters Full Source Code
 
I have a sample code project that I would like to offer the community for their use. Full source provided. (Teaching what I've learned helps me learn). #incl...
[12 replies] Last: Wow, that system pause method is ridiculously expensive. I changed it ... (by Micronomics)
by opamp
Creating a dynamic array of arrays
 
Hello everybody, I wanted to implement a card game, but I have to store each person's cards in another array. I don't quite understand why the following code...
[1 reply] : new card creates an array of n elements, each of which is an array... (by Cubbi)
Inheritance Problem
 
I have an assignment I am having trouble with. Here is the assignment question: The class Chimney represents a smoke ventilation system. Each instance of a Ch...
[1 reply] : > A Fireplace can be lit or extinguished and always has a Chimney to v... (by ne555)
by Xabies
Graphics.h-- Just want to draw something
 
Hello, I got 5.3.0.4 DevC++ and I wanted to include graphics.h and I did everything right with the instruction as insert: -lbgi -lgdi32 -lcomdlg32 -luuid ...
[1 reply] : I have not personally messed with WinBGIm, but the GCC is notoriously ... (by Duthomhas)
using pointers and structs
 
Having trouble understanding using a pointer and structs together and passing through a function. Say for example... using namespace std; struct the ...
[8 replies] Last: Awesome Thanks. (by kingkong200)
increasing char* array
 
So I wrote this function to increase the length of an char* array by 1. However when I use it, it seems to mess up my heap. When I try deleting the array I get ...
[2 replies] Last: Thanks a lot! I've been sitting for hours on that one! :) (by Dragonites)
iterative and recursive functions
 
I am writing a program that uses the iterative and recursive functions to find solution (and times) for factorial using the equation c(n,r)= n! /(r! * (n - r)...
[2 replies] Last: Your code needs correction? Hard to solve a problem when we don't kno... (by Disch)
how to made two nested procedures?
 
I wanna made a program which can call two nested procedures, but i don't know what I must made. Who can help me? My program have main structure following int...
[3 replies] Last: What you've done is mutual recursion . But as Disch has already said... (by andywestken)
Basic Destructors and Multi Inheritance
 
I have created 3 classes that all need to inherit from one another and print out the following : Destructor of classA Destructor of classC Destructor of clas...
[1 reply] : Ok solved it myself. (by Xistenial)
jumping into c++ chapter 7 exercise 3 help
 
Hi! I'm new to the world of programming. Until now, the exercises were very easy for me, until I came up to this one. The goal is: "Design a program that ...
[5 replies] Last: For those who are working on this problem if future: this code prints ... (by UnS3eN)
by poorni
modification
 
I created this project for students to take a test and included file handling. The program works well but the problem is that when a student takes the test, the...
[no replies]
Default constructor in classes
 
im having trouble to understand this concept. i know that if i dont specify any constructor to my class. the compiler will automatically assume that is a defau...
[1 reply] : [quote=Rakanoth]what really they do They do basic constructor implemen... (by LB)
by b1gzz
Is it possible to learn all the basics of c++ using only the documentaion on this website?
 
Is it possible to learn all the basics of c++ using only the documentaion on this website? Thank you.
[3 replies] Last: You *can* learn all of the *basics*. Xistenial means you can't learn e... (by LB)
by haterz
degree/radian to sin, cos and tan..
 
I have completed this coding, but its showing incorrect results.. can anyone help me to fix so that can get the correct output.. ===========================...
[2 replies] Last: You gotta define your functions after the main() block. Finding the si... (by jkevin)
August 2013 Pages: 1... 3132333435... 51
  Archived months: [jul2013] [sep2013]

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