Beginners - September 2010 (Page 19)

Class not declared in scope, but was included (and other errors)
 
As an experienced PHP and Java developer, I decided to learn C++. After a few weeks toying around, I decided to port a small game to C++ for the iPod/iPhone/iPa...
[7 replies] Last: "(I don't think just renaming them from "*.cpp" to "*.h" will work, ma... (by gamebuster)
character input error
 
hey guys i have a simple program that uses a switch statement for a menu then loops through the program until 0 is inserted to end the program it works great wi...
[1 reply] : what a dumb ass not integers characters ha must be a blonde moment! :S (by pizzaboy150)
How to Populate a Vector Defined in a Class
 
I am trying to do an exercise. To test parts of the program, I want to populate some vectors and then read the data from these vector. The program I wrote com...
[4 replies] Last: @vukki, Thank you for your suggestions. Sizing the vectors was the... (by nathan10)
Confused with variable types
 
Ive come across a variable named float which has a range of 3.4E to 38. I understand that its for floating point devision numbers. But i dont understand t...
[13 replies] Last: oh yh lol Thanks (by TpOreilly)
To conio.h or not to conio.h?
 
I have been building some pseudo code for a text-based game. While reserching some ideas I ran into some suggestions to learn about conio.h so I could use its g...
[9 replies] Last: I agree. Instead of taking your time to learn console tricks and NCurs... (by filipe)
Can't seem to figure out this mode function
 
Hello, Well, its back to school for me and just as expected, another programming question I can't seem to vanquish. The gist of this little problem is to t...
[3 replies] Last: I've seem to have made some good progress, I was able to find the maxi... (by nickg140143)
Programming on Mac
 
Hi All, I am new to C++ and also on Mac. I installed Xcode to start writing C++ code on mac as I am learning. I created a command line utility project using ...
[4 replies] Last: Thanks helios, i was just reading about dynamically allocated arrays a... (by nikhill)
fwrite/fread and dynamic arrays
 
Hello! My question is: can I pass dynamic arrays to a fwrite and/or a fread function? Or should I write/read the file one item at the time? EDIT: the dyn...
[1 reply] : can I pass dynamic arrays to a fwrite and/or a fread function? Yes, o... (by helios)
some simple questions
 
hi guys, i have some questions, i did most of them but here are a few questions that i couldn't do it, so i want you help me to understand how to solve them ...
[12 replies] Last: So you have shown you can use functional style in C++ for this trivia... (by hamsterman)
Error's on overloaded operators = and +
 
Hi there, I'm trying to build a class that holds 2d coordinates, and as far as i can see, i've done everything i ought to in order to define the class. When i...
[10 replies] Last: Thanks peeps, Galik that makes a lot of sense and jsmith this isnt for... (by grenoble12)
compiling my program beginner here
 
can i know what is wrong with my compiler? any hep will be greatly appreciated! --------------------Configuration: Cpp1 - Win32 Debug-------------------- ...
[8 replies] Last: It's definately a compiler problem, since I dont see anything wrong wi... (by kaduuk)
Create a yatzy-game?
 
Hi, I want to try and make a yatzy game but I can't get started since I don't know how to make the graphics. All I need is some box to write your name and a but...
[4 replies] Last: Ok, I understand. I will take a look at QT, thanks! (by pancreatis)
by shiki
problem with my project
 
hello..i have problem with my project...when i compile its no error but have 1 warning...and when i want debug it, it become not responding...i dont know why..i...
[2 replies] Last: *grumble* Just so you know, main() should never be void. I'd change... (by Albatross)
the system() function alternative
 
Is there an alternative for system("CLS") and system("PAUSE")??
[2 replies] Last: One option is to develop your command-line apps on Linux/Unix where th... (by PanGalactic)
by GRoss
Printing with different colours
 
Hi everybody! I am new to C++ and currently working on 1 of my assignments. The task for the assignment is to make a maze game. I've got most of the game alr...
[7 replies] Last: Thanks a lot for your replies! I had no idea system(something) was ... (by GRoss)
Strange error in binary files and RLE (1,2)
 
Hello! I'm implementing the RLE algorithm applyed to a matrix. I'd like to write the encoded data inm a binary file and then read that file (just to verify t...
[20 replies] Last: with Qt library I've found the feof() implementation. it consist of a ... (by harmodrew)
how to return char[] back to main
 
Hi.I'm trying to teach myself c++. Lately I've been practicing functions, and trying to return values back to main. I finally figured out how to do that with in...
[7 replies] Last: #include <iostream> #include <string> using namespace std; s... (by sohguanh)
problem of inheriting from a STL function class
 
My program can't be compiled through by GCC 4.3.3. The part of the program causing the problem is simplified as the following short code. #include <iostream...
[2 replies] Last: Thanks. The problem is updated which is pasted at http://www.cplusplus... (by breadbread1984)
by KDeuce
Classes
 
I am very new to programming and I have been trying to grasp the use of classes in C++ I am trying to compile but errors at line 27 which I am not seeing or un...
[3 replies] Last: Found the error, I placed a semi colon after the bracket just before v... (by KDeuce)
Class type redefinition problem (1,2,3)
 
Hi, I've been programming for about half a year. I've not been programming that much though, I've been taking breaks for some weeks or something and then starte...
[59 replies] Last: Sorry, I wasn't clear on what I meant. I meant when you copy from SFML... (by Calsong)
September 2010 Pages: 1... 1718192021... 32
  Archived months: [aug2010] [oct2010]

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