General C++ Programming - December 2013 (Page 19)

Can anyone help?
 
I am receiving the error message 'TheGame' : is not a class or namespace name. I have included type...
[1 reply] : What is 'TheGame'? You don't have it defined anywhere. The compiler ... (by Disch)
Scope of inline function definition
 
I have observed that inline functions can not be prototyped. example: .cpp file: inline void...
[2 replies] Last: thanks. (by IWishIKnew)
C++ Functions/Arrays
 
I'm having issues with this homework problem. Can someone assist? I've started it out I just need a ...
[no replies]
Exercise solution chapter 9 from Programming -- Principles and Practice Using C++
 
Hello, I'm new with C++ and I'm learning with the book "Programming -- Principles and Practice Using...
[2 replies] Last: Thanks, helped me a lot! (by AnaMota)
C++ Functions And Arrays part 2
 
Okay I'm trying to make the program return the index at which the first occurrence of the passed int...
[3 replies] Last: Don't return -1 from main(). If you want the result to be 255, return ... (by Duthomhas)
Loop closes before finishing
 
Hey this is my first post and was wondering if anyone could help me. I'm writing a code that's supp...
[2 replies] Last: What I was trying to do was implement the output of payrate*wages into... (by DarkBlue)
Text Adventure Command Parser
 
Hey guys, I'm trying to write a simple text-based adventure game that I can expand on as a hobby an...
[8 replies] Last: Happy to help. =) (by Disch)
Password
 
I've made a program, and I want to password protect it, i.e. it would run only when the correct pass...
[3 replies] Last: Basically, you make a loop that only allows you to exit when you've en... (by mattballj10)
Caesar Cipher
 
I am making a simple caesar cypher with a 2D array I have to make a function for the key shift so...
[1 reply] : This function returns single character. Did you mean to output each ch... (by JockX)
by zENZEz
Game project
 
Hi! I'm currently making a game using HGE and C++. I've gotten a really weird bug though and I ca...
[5 replies] Last: Solved it with an if-function under the i's for-loop and put it inside... (by zENZEz)
com+ dll and write to event viewer
 
i want to write to event viewer oid EventLogCls::WriteError( char* msg) { HANDLE hes = Regi...
[no replies]
How to make bool cout yes or no
 
How would I even go about this? It couts the right values such 1 or 0. I want to know if I can "conv...
[9 replies] Last: ahhh that makes sense... thanks for that (by closed account Dy7SLyTq)
Printing a powerset from a linked list.
 
So I am trying to get to print a powerset from my linked list however I am not sure how to go about ...
[5 replies] Last: I do not know anything about sets or STL? (by OLittleO)
help creating simple project
 
hey c++ experts, i need someone to create a simple app for me, if anyone willing to do it please pm ...
[3 replies] Last: This should really go into the Jobs forum, not here. (by MikeyBoy)
Can someone help me complete this code?
 
http://pastebin.com/yw2TZZKw I think im almost done but im unsure. I believe all I have to do l...
[1 reply] : @ strugglinprogrammer , Do you have any question more specific than "... (by ritstudent)
How to make a loop that keeps track of whose turn it is and there score?
 
http://pastebin.com/yw2TZZKw This is my code, but how can I implement this?
[1 reply] : Use the modulo operator: bool endConditionMet = false; int playerSco... (by ritstudent)
c++ string occurence (1,2)
 
Im trying to write a code that counts the number of words in a string that end with ng. I started ...
[21 replies] Last: 1. Don't use character pointers or character arrays instead of std::s... (by LB)
How to make a loop that reiterates for a certain number of players?
 
Something that does something like this at this point run a loop for all players, in this loop ...
[1 reply] : int nplayers = 6, i; //6 players in this example for(i = 0; i < nplay... (by Mats)
Can someone help me make my code work? (Code and errors in post)
 
I'm trying to make this code do this: I have 12 die, 6 green, 4 yelow, 2 red. the Green have 3 ...
[2 replies] Last: Yeah, the turn is supposed to keep track of each turn. And I also have... (by strugglinprogrammer)
c++ write neg and pos numbers to file
 
im supposed to create a program that reads in a list of integers from the terminal and writes the ne...
[2 replies] Last: i have no any idea... (by Clairessen)
December 2013 Pages: 1... 1718192021... 37
  Archived months: [nov2013] [jan2014]

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