Beginners (Page 74)

Complete testing of sort methods
 
I just recently completed a small project using a few different sorting methods on sets of random da...
[no replies]
character movement in a dungeon crawler
 
Hello everyone. I'm having some trouble with "identifier is undefined" in my BuildLevel function. I ...
[2 replies] Last: Your four variables in your main function are only in the scope of the... (by aarnold404)
While loop with yes or no statements
 
Hello, Im trying to write this code where it asks to enter a guests name, after entering it, it asks...
[5 replies] Last: Here is a modified example of your code. If you need me to explain any... (by deathslice)
by BovaC
Need beginner help please.
 
Hello, I am new to C++ and I am,stuck on this question I received from my professor, does anyone min...
[2 replies] Last: Well to give some tips, from what I see you would need a string array?... (by chick3n13)
*update* Need assistance with array loop..
 
update: the last section has been fixed.
[3 replies] Last: bump Like I said, I would prefer an explanation and tips. Thanks agai... (by chick3n13)
Please explain how this array of structures selection sort works
 
After a few hours of trial and error, I was able to figure out how to write the program, but I still...
[5 replies] Last: Thanks again. You have very helpful. (by jumpinmp)
Print Method not working
 
So I have to write a program that picks up item ID, amount sold, amount remaining from a txt file: ...
[4 replies] Last: thank you so much... oh my god I was stuck on this for hours! I feel s... (by junmyeon)
using a std::mulimap instead of a std::map
 
I need to use a multimap instead of a map. int main() { multimap<string, vector<pair<str...
[4 replies] Last: I know, but it's an exercise from a book I'm learning with and its a l... (by Fr0zen1)
Can you spot the error?
 
I've been refreshing my mind on the various string functions and I've come across this code example ...
[1 reply] : If the string ends with space and this space is the only one, then po... (by MiiNiPaa)
by Matas
LCM
 
I need to find LCM of x unknown numbers. I scan x numbers from a file. I know only an amount of them...
[2 replies] Last: http://en.wikipedia.org/wiki/Least_common_multiple#A_simple_algorithm (by MiiNiPaa)
Difference between size_t and size_type
 
here are two code example that I've found. string str; for(string::size_type i=0; i < str.len...
[2 replies] Last: You can think about std::size_t as ::size_type for C arrays. ... (by MiiNiPaa)
Refreshing console screen.
 
I've created a game quiz but I'm trying to implement a timer. However, once the user is prompted for...
[no replies]
Converting to a Template
 
I have a question that I have been trying to figure out for a few days, I don't really understand ho...
[5 replies] Last: oh I see, that makes sense. When I switched the int to T, I now have ... (by DEnumber50)
Word Ladder help (Conceptual)
 
Hello, I was asked to write a word ladder game (Not really a game, just the user input two words...
[no replies]
Class Array sample
 
This simple code gives you the area of ten rectangles from the users entered info. Happy Coding! ...
[no replies]
Understanding Array
 
How is arr the same as *(arr+i)? Is it looking at the address of the array?
[4 replies] Last: Thank you so much for the replies. I guess I was mixing up between thi... (by Shipoopi)
FreeBSD c++ programming
 
Hi there fellows! I am absolutely new to programming and stuff. I've been said that it is worth the...
[9 replies] Last: Yes! Thanks a lot anup30! I see it was a good plan to ask here, great ... (by robergto)
Segmentation Fault In a function
 
I'm creating a text based game for my project in Intro to C++. This game has 5 functions and I can't...
[3 replies] Last: Nevermind, I see what you're saying. That did the trick, I just put a ... (by JonnyBro)
by rayb20
class implementation question
 
Okay so I feel like I almost have this correct but I just cannot get there. It is supposed to output...
[1 reply] : ahistogram.h -------------- line 7: There is no reason for aHistog... (by AbstractionAnon)
by ebucna
decimal (1,2)
 
Hi all, in one part of the progtam I need to stop user from entering a number with more then 1 decim...
[26 replies] Last: thank you tcs, I work with all doubles (not with floats) now i just ha... (by ebucna)
Pages: 1... 7273747576... 89
  Archived months: [nov2014]

Cannot post in this page. To post a new message, go to the first page.