Beginners - July 2011 (Page 10)

EXC BAD ACCESS error on Deck Class
 
Good Evening, I am having a problem with a section of code giving me the above error. I created ...
[5 replies] Last: Thanks again, the problem was in another .cpp file where the card clas... (by Johndoe1134)
by codrgi
increase date?
 
using the [url="http://msdn.microsoft.com/en-us/library/dd757629%28v=vs.85%29.aspx"]TimeGetTime fun...
[3 replies] Last: how would i increase the time by a day/month using any of those funct... (by shacktar)
basic program need help understanding!
 
#include <iostream> using namespace std; template <class T> int search (T *data, int size, T ...
[13 replies] Last: I believe Exception is the parent and MemException, IOException are su... (by sohguanh)
What could be wrong with this?
 
I've used this same line elsewhere in my program, but here it says that 'Deck' has no member ...
[7 replies] Last: //in the Deck class Card Draw { my_deck.pop_front(); } Th... (by Disch)
Never mind....
 
.....
[6 replies] Last: Need to not do his homework for him... Particularly like the example s... (by Intrexa)
by Adrio
C++ Fibonacci sequence help!
 
Hey there! The assignment is the the Fibonacci sequence except the user has to input how many elemen...
[2 replies] Last: which variable should I change to long long? which is the one the code... (by Adrio)
Make an array of char arrays
 
So I am trying to make a char** that is named Final with x pieces and y chars in each piece... char...
[3 replies] Last: The problem with 1D idea is while it is "easier" for C/C++ developers,... (by sohguanh)
Function Call to a Class
 
I need a little help with the syntax of a function call. int main() { Deck d1; Player p1; ...
[2 replies] Last: Thank you. Good call on the list of Decks. I was making this too com... (by joatmon)
by Brad1
Need help creating a table.
 
I need help making this code below print 10 ascii characters per line. Any help is appreciated. ...
[2 replies] Last: every repost is repost repost posted and answered already here: http... (by Intrexa)
Efficiency
 
Hi I am trying to make my code more efficient. Is it more efficient to write a function for factoria...
[2 replies] Last: thank you (by pbajaj5)
by Audie
The Destructor, and declaring . . . returning an object of same type to calling object
 
I hope this won't be too vague but I don't want to be verbose. . . . I don't always seem to have thi...
[6 replies] Last: Aha. I have a copy constructor and an assignment operator for the Stri... (by Audie)
recursive
 
include <iostream> using namespace std; int sumarray(int ,int); int sumarray(int a ,int n) { if (...
[1 reply] : line 7 is wrong, which might be why you're not understanding it. Th... (by Disch)
Random Shuffling if List Items
 
I'm working with an STL list. Say that I have a list of 25 items, and I want to switch the value in...
[2 replies] Last: Thanks a lot. This worked really well. As for the tip about the cont... (by joatmon)
error LNK2001: unresolved external symbol
 
I am unable to figure out why exactly this error keeps occuring, I have tried adding libraries with...
[1 reply] : The linker error is nothing to do with libraries. It's because you hav... (by andywestken)
For Loop and square root
 
Ok this is what i have: #include <iostream> using namespace std; long int a; //number ...
[5 replies] Last: That is what it says in his original post. I thought it was his homew... (by kooth)
by larxi
"For loop" continues without prompting.
 
Dear C++ users, I am reading DEITEL's book about C++ and experimenting with the examples. (For th...
[9 replies] Last: It is because cin loses its integrity when it handles the wrong input ... (by kooth)
by Adrio
Fibonacci sequence using dynamic allocation
 
Hey there! The assignment is the the Fibonacci sequence except the user has to input how many elemen...
[4 replies] Last: But which variable would you change to long? cuz there are some that d... (by Adrio)
by Alx101
Vector, iterators and char int's (1,2)
 
Hello! I'm quite new to programming but not a complete beginner, however i'm trying to make a progra...
[23 replies] Last: Dude i did not get any of that code, you will have to explain it to me... (by Alx101)
HELP
 
I want to make a program that records how meny times my internet turns of a day, but i dont know ho...
[2 replies] Last: i will look into that thanks (by JBbigwilly)
Compiler erros make no sense?
 
Hello, me again :p. Im was following [url=http://www.aaroncox.net/tutorials/arcade/FallingBlocks.ht...
[2 replies] Last: thanks that fixed it! (by nano511)
July 2011 Pages: 1... 89101112... 54
  Archived months: [jun2011] [aug2011]

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