Beginners - October 2011 (Page 32)

by buggys
wrong way to do it?
 
EDIT: OK, start again, knew i'd done something wrong, atm all i want to do is when i press the key down i want the screen to change colour, I've just tryed impl...
[no replies]
by sesch
Finding amount of elements that have one or more copies in an array
 
Hello, well it sounds more like an algorythmic problem, but maybe there is a built-in function already or something similar, if not I'd appreciate any help ;). ...
[2 replies] Last: Aye, I thought about this before, but there comes another problem with... (by sesch)
by Chathu
How To Delete A Specific Record From A Text File
 
Does anyone know how to delete a record after searching it from a text file. Searched most of places on the wen. Even in this forum but still i can't understan...
[2 replies] Last: How to do that? (by Chathu)
Debug assertion failure
 
hi What causes a debug assertion failure? Visual studio seems to indicate that mine is coming from the "vector"(c++ vector) header file at line 932. W...
[no replies]
problem loading wchar_t a vector
 
hi I've got a problem loading "wchar_t" a vector: why wont the push-back argument accept what I've put? Additional notes: I've got all the header fi...
[2 replies] Last: thanks that fixed it (by Blessman11)
operator overloading
 
Object & operator ( int index ) { #ifndef NO_CHECK if( index < 0 || index >= currentSize ) ...
[1 reply] : I was wondering that does the & mean in the line of code? It returns... (by Breadman)
Text Adventure: How to make an inventory?
 
Here's the code I have so far: #include <iostream> #include <string> int main() { const int maxItems = 4; string inventory {"Sword", "Bronze Helm...
[5 replies] Last: Sorry for late reply, I forgot to check this topic for while. Anyway,... (by closed account 10oTURfi)
fseek confusion.
 
how fseek reads file. is it like array like... 0 1 2 3 4 or just normal number like.... 1 2 3 4 5
[2 replies] Last: thanks (by time to c)
Help: bool function in classes
 
I'm working on a beginner practice problem on C++ classes. it's a calendar problem, that takes 2 user input dates and compare which one comes earlier. it has 2...
[1 reply] : put c1. or c2. in front of is_equal in your function call and it shoul... (by freddy92)
READING AND WRITING MULTIDIMENSIONAL ARRAYS
 
HI I'M NEW TO BORLAND C++, AND WE HAVE THIS PROJECT ON IT. I REALLY NEED TO KNOW HOW TO WRITE SEVERAL MULTI-DIMENSIONAL ARRAYS INTO A FILE THEN READ THEM BAC...
[no replies]
Questions for my Case Study
 
I'm just wondering if you could answer some of my questions for my case study. Please help me. How could I make my program detect whether if the inputted c...
[3 replies] Last: @Stewbond: Will you show me an example on how to use it? @coder777: Wi... (by cyrilseruelas)
by Tatipu
Help with ASCII and an array counter
 
Hello. I have a program where I have to generate random characters A-Z and a-z and with the number of random characters outputted I need to have an array count...
[no replies]
My idiotic sence of Array's with Operators and Referent's
 
So far I understand that the basic purpose of an array's is to save a sequence of integer's/string/ data value's in one single "space" so im guessing that this ...
[3 replies] Last: Exactly what you understood is correct! (by EricDu)
logical problems with learning c++ (very useful for beginners also programmers too)
 
// more pointers #include <iostream> using namespace std; int main () { int numbers ; int * p; p = numbers; *p = 10; p++; *p = 20; p = &...
[2 replies] Last: guess i said the same thing ? god bless english that always doesnt hel... (by andrew rober)
does direct x10 accept 32bit textures?
 
hi does direct x 10 accept 32bit tuxtures? eg. Red Green Blue Alpha? I've noticed it has a function to load bitmaps but have been wondering about whether it ...
[2 replies] Last: DirectX also supports 128-bit textures as well. Wazzak ... (by closed account zb0S216C)
I am a beginner
 
Hi Everyone, I really wanted to learn programming from the very basic of it until the complex topics. However, I have noone to ask for. i am very willing to ...
[3 replies] Last: You can simply ask questions on this forum. Alternatively, you can PM ... (by closed account zb0S216C)
Object Creation and Deletion Question
 
Hello :D I am working on creating a game with C++ and, up until now, I have only really used other more simpler languages to create games. I am having a prob...
[2 replies] Last: I see! I actually didn't even consider using a list, it actually seems... (by LoneWolf155)
Input Validation for only integers?
 
I created a program that will calculate the factorial of the number entered and am having a hard time getting it to not accept decimals or fractions. #inclu...
[3 replies] Last: Oh sorry, forgot to mention you need #include <limits> . peek() retu... (by closed account DSLq5Di1)
Steps for running the code
 
I wrote a few lines... My program generates a batch file, Then the batch file loaded through the c++ program and deleted (This meant at least). Problem is...
[2 replies] Last: Oh, I didn't closed the file... and already jumped to conclusions ;) ... (by adirush)
by buggys
How does static work?
 
if you can put it in dummy language, i am a dummy after all, I have just been trying to call a class from into my main.cpp the header file contained the decel...
[3 replies] Last: Yes, that is correct. (by Disch)
October 2011 Pages: 1... 3031323334... 59
  Archived months: [sep2011] [nov2011]

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