- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
11 Posted Topics
Re: Hey Nekoleon! Someone on here pointed me in the direction of vectors some time ago and would like to pass on the wisdom! Here is some quick code that solves your problem using vectors, something you should definatly look into! #include <iostream> #include <vector> //Needed to implement vectors #include <algorithm> … | |
Re: I don't know if this is what you're after but would it not be easier to make a vector and sort it and pop the last element off? So: * Create Vector * Sort It Highest to Lowest (Reverse This Tutorial)( http://www.cplusplus.com/reference/algorithm/sort/ ) * The last element in the vector … | |
Re: You need to implement a system that works like this: * Create The Username/Password Text File * When storing the Username/Password have, store it in it's encrypted state. * When the User tries to login, take the variable entered, encrypt it, compare it against the encryption in the text file. … | |
Re: Hello Kenneth! I believe your problem is that you're not sending a filepath. Try this: PlaySound("C:\\user\\desktop\\sound.WAV", NULL, SND_FILENAME | SND_SYNC); Any luck? Edit: Please note: #include <windows.h> #include <mmsystem.h> is required. It is also neccesary for wimm.lib to be in your project library path if you haven't already. | |
Hello, I have just recently begun the move from Java (beginner) to C++ and have found an interestng project I would like to develop which should teach me some great c++ code. **Encrypted Console Journal** * Text File Encryption * File IO * Date && Time System Retrieval * Text … | |
Hello! I am very new to Java and programming theory and desperately trying to improve my knowledge. This is the first program I've made without help and really would appreciate some feedback. I know there must be 1,000,000 better ways to do what I did. Notes: - Want to Move … | |
Hello! I am very new to Java and programming theory and desperately trying to improve my knowledge. This is the first program I've made without help and really would appreciate some feedback. I know there must be 1,000,000 better ways to do what I did. Notes: - I want to … | |
Hello! I am starting a small text based game, I have created my set and get methods for my player class: import java.util.*; public class player extends main{ /* * Player attributes: * Name * Weight * Morale * Money */ //PLAYER ATTRIBUTES private String name; private int weight; private … | |
Hello, I am working on a project and am in need of search function. How my system works: User enters details Stored into a text file writes a blank line at the end of the record when reading in the file, a new blank line = new record So for … | |
Hello, I need to create a JDBC that connects to a mySQL database, retrieves the data from a table and displays it into a JTable. I have done this successfully, but have ran into a problem. The initial values I entered into the database (for testing) are permament. If I … | |
Hello. I have this question: "Amend the subclass of Holiday called Premier with an overridden equals method. Test this method in an orchestrating class with objects of Premier that contain the same data values and with objects that contain different data values." I have searched high and low for a … |
The End.