General C++ Programming - April 2015 (Page 11)

by ahcfan
I need a simple data compression/encryption library
 
One that's well documented and fairly quick to pick up and use(i.e., I don't have to be familiar with the algorithms used). I don't care about making ZIP files,...
[2 replies] Last: Thanks for the quick reply. I'll have a look at that. (by ahcfan)
by fjr
Discrete Event Simulation Library
 
Hye, I am developing a hierarchical task scheduling model. Can anyone suggest me a library that can be used for developing a discrete event simulation? Thank yo...
[1 reply] : What exactly are you looking for? Depending on your situation, a libra... (by LB)
by shyjuu
what does this line of code means
 
Scheduler::instance().clock() Can anyone explain what this line of code means Thanks in advance
[3 replies] Last: Not exactly. Methods themselves can't have methods; if you look at ins... (by Zhuge)
Need help with multidimensional arrays
 
Here is my code, I took on the project of making a text game then later adding graphics etc. but thats way ahead of time, I reviewed multi dimensional arrays, a...
[no replies]
Multiple Same highest score
 
I'm trying to add figure out how to put multiple names with the same highest score on the same test with the first and last name. let's say Mark Anderson ...
[5 replies] Last: it it possible to only use vectors? (by bboylizard)
Need someone to create this program if able thanks!
 
Create a function that receives array as an argument, and displays the two dimensional array. Create a function that receives arrays as arguments, and trans...
[1 reply] : We won't write the program for you, but we'll help you to write it you... (by dhayden)
Parallel Arrays&Files as input/output
 
Hey everyone! So I've mostly figured out this program and everything compiles that I have so far but there are two parts that I am unable to figure out which is...
[no replies]
Function Implementation
 
Hello; I am having trouble Implementing this functions: 1. Cafeteria::pickTray()in cafeteria.cpp 2. Overloaded output operator of Group in group.cpp 3. St...
[3 replies] Last: Why s namespace at all? (by kbw)
AVL Tree based dictionary
 
Implement an AVL tree based dictionary. Using your dictionary write a program that reads a text file specified as a command-line argument and prints out a lexi...
[1 reply] : Can you wrap your code in code tags? I recognize that this is your fir... (by Smac89)
I am having module troubles
 
So I am trying to call a module {assestTickets} and for some reason I am not able to do so. I am getting a no matching function error. I was wondering if a fres...
[2 replies] Last: Thank you so much! I will use another variable to avoid this problem. (by Druizzz)
by Scarce
Can C/C++ really do everything?
 
I''ve been learning some C/C++ in my university but I feel like we're missing something. Every programmer says that C++ can do everything. However, all i see is...
[7 replies] Last: but how about all the libraries that you'll likely be linking agains... (by ShiroAisu)
Need help with Class problem
 
hi, i am VERY new to c++ and need help with this problem.. it is in the "starting out with c++" textbook 8th edition. here is the problem. I need to have a ....
[1 reply] : You're going to have to write the code yourself. Are you confused as ... (by Militie)
Macros on C++ style
 
Is it ok to define these in this way? Are these following C++ convention? If not please direct me how #define UBYTE unsigned char #define ULONG u...
[8 replies] Last: I think a good general rule is: macros should be used to select code, ... (by ShiroAisu)
game of life problem not working help me
 
The game Life was devised by a mathematician as a model of a very simple world. The Life world is a two-dimensional plane of cells. Each cell may be empty or c...
[3 replies] Last: So you add the exercice text and the code without any other context wh... (by ShiroAisu)
Simple file handling program
 
The following c++ program is not producing the desired output. Please help. //File1.cpp Program to open a file and display its contents on console // ...
[1 reply] : 1. What is the desired output? 2. Use code tags and properly format yo... (by ShiroAisu)
Catch amplitude in period of time of any playing sounds
 
Hello, I really need your help. So, I decided to create a simple game, using SFML library. In my game behavior of any objects will change in real time dependi...
[5 replies] Last: I asking how to GET the audio data, or how to catch it, or simply ext... (by Disch)
Class within a function
 
#include<iostream> #include<string.h> using namespace std; class color { public: int p,n,ne = 0; int R,G,B; int set_color(int x,int y,int z) { ...
[2 replies] Last: A class is a type, like any other. So when you're defining your metho... (by MikeyBoy)
by TomMc
Payroll system....
 
I am supposed to be doing a payroll system for a friend, it's only a little play about one. He asked me for the inputs to be as followed: Senior Staff:- Ent...
[1 reply] : What part of the switch statement are you confused about? Do you have ... (by closed account 2LzbRXSz)
by Ceset
Interesting template usage
 
Hi everyone I was reading articles and questions people asked at internet about static_assert, so that i can learn about it. I came across this question, ...
[2 replies] Last: Wow, pretty interesting. Thank you for the answer. Going to try it o... (by Ceset)
by yj1214
new int initialization
 
int *x = new int(5); why can't I do, int *x = new int; x = 5; also, int *x = new int(5); cout << x << endl; cout << &x << endl; ...
[4 replies] Last: int *x = new int; x = 5; you are assigning 5 to the actual adress. ... (by xenovia12)
April 2015 Pages: 1... 910111213... 28
  Archived months: [mar2015] [may2015]

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