Beginners - September 2010 (Page 4)

Using functions for a text based RPG
 
Okay so after having asked this in the General C++ forum they told me i should ask it here because o...
[5 replies] Last: And about jumping around in code, you can use the goto(); function bu... (by firedraco)
C++ Different output to console
 
Hello, I am pretty new to c++ but I have had some previous programming experience. My question it ho...
[2 replies] Last: Thank you so much. I had been searching for days but got no where. (by kendall15)
question about "return value"
 
switch (sub){ case'Math': case'math': memsbjt = "math'; return 0; can i om...
[4 replies] Last: Thanks. (by Analyzer)
forward decleration error
 
this is my header file: #ifndef PLAYER_H #define PLAYER_H /*************** Forward Declerati...
[2 replies] Last: there's no difference between class and struct. The problem is that yo... (by Bazzy)
Question about menus
 
I am looking to start making a simple text-based console game to test out my c++ skills. One thin...
[4 replies] Last: I don't think there's much here but I have bookmarked this: http://www... (by MottMan)
how to return return char array from stack
 
Hi everbody! I have a code that reads a txt file with words separated by space and reorders them ...
[1 reply] : Pop method in your class allocates the array local to the function. Th... (by naivnomore)
by wasabi
Pseudo-coding an N-iterative loop
 
I am currently needing to create a loop that deals with N iterators. The real purpose is to create a...
[3 replies] Last: Many thanks naivnomore, that worked like a charm. I had to make a few ... (by wasabi)
Issue with an Input file
 
I can't seem to get my program to read in data from an input file correctly. Here's my code: #i...
[2 replies] Last: My compiler's error message looks like this: HW#5(4151) malloc: **... (by suntzu626)
How to display Sprite/image in c++?
 
What are the options to load the image from C++ for a small 2d game?
[8 replies] Last: SFML (from what I've skimmed) is very user friendly (as far as libs go... (by MottMan)
by wtf
include guard problem
 
I just switched from codeblocks to c-free 3.5 as it is the only option available. I had to fix a fe...
[13 replies] Last: Notepad++ is a program that extends functionality of Notepad with synt... (by Kyon)
by tonnot
How to compose a string from ascii values
 
I have : int a=47 int b=49 I want to have a string with some line like this (it does not compi...
[2 replies] Last: Thank you very much (by tonnot)
by outsy
program compiling but crashing.
 
Hi, I have a problem with this program, I have no clue what's wrong with it. The program has to cre...
[4 replies] Last: Thanks alot, the problem was very small. Thanks for making me learn us... (by outsy)
by Jake94
Random Alphabet
 
Hey guys, I made a program that can choose random numbers, and write them to a text file. I was w...
[6 replies] Last: Where is the "output bellow"? Here is a "hint": for(char ch = 'a';... (by Fresh Grass)
person
 
I have constructed the person.cpp while the main.cpp and person.h were given to me. My person.cpp is...
[6 replies] Last: Ok i got it :D i fixed the code above and now it works :D thank you fo... (by swalton)
by Nay
path for .h files
 
I have downloaded a LEMON (C++) library and want to use it in my dev C program. I dont know hoiw to ...
[2 replies] Last: You can set up your compiler to have c:\my documents\file and folders... (by Bazzy)
by juvan
Not working as expected
 
Well, I'm done bashing my head with this one because I've literally gone over it 10 times if not mor...
[1 reply] : You're a) only testing a single point (the top left one) of the object... (by Athar)
Breaks
 
I am writing a programm for school and in the program i want to make it so it will skip lines of pro...
[2 replies] Last: Use either functions, loops or (but I highly recommend to not use it) ... (by Kyon)
by tonnot
About my own namespace and the information of my methods
 
I have my own namespace, for example nms I'm using QT creator When I write nms:: QT offers me a ...
[1 reply] : Nope. Almost completely inappropriate. (by helios)
by chi
May I ask what to do since, thanks!
 
This assignment is a C++ Program. The aim is calculate whether a company has profit or loss in a m...
[19 replies] Last: L B (327) Sep 28, 2010 at 8:19pm Congratualtions! Thanks!!!... (by chi)
My first program :D
 
*EDIT* okay. I feel stupid. Sorry. Just looking through my post, realized that the problem is prob...
[6 replies] Last: Those are classic :P (by MottMan)
September 2010 Pages: 123456... 32
  Archived months: [aug2010] [oct2010]

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