[try Beta version]
Not logged in

General C++ Programming - April 2016 (Page 17)

programing error
 
double percent; int years; public: double annualInterestRate(double); int NumberOfYears(int); d...
Apr 9, 2016 at 1:09pm
[3 replies] Last: As oren drobitsky said, please use code tags. Edit your posts, highl... (by dhayden)
if and else if question
 
I have a question about the if and else if statements if (condition) // say I put a lot of outcomes...
Apr 9, 2016 at 1:02pm
[2 replies] Last: In order to post code in the forum, click the Format button that looks... (by doug4)
Base Conversion And Then Reversing The Result
 
Hi there can someone please help !! i would really love some help i need to write a program that ta...
Apr 9, 2016 at 12:44pm
[1 reply] : Anyone able to write me a code plz?? This isn't a site where others... (by Chervil)
HELP assignment PLZ
 
You will be asked to write a program that takes a decimal number from the command line and converts...
Apr 9, 2016 at 7:13am
[2 replies] Last: Thanks for your reply !! But im really new to C++ , only started coup... (by josh123)
by anndo
Encounter "Thread 1: EXC_BAD_ACCESS" when reading data from a txt. file
 
I am writing a program to print the input data in the format of (row, column, value). The first line...
Apr 9, 2016 at 5:41am
[2 replies] Last: @helios Thank you for your quick response. I am a C++ beginner, and ... (by anndo)
If I use Eigen and vtk library as the part of my own software, can I commercialize it?
 
There is one kind of license called "copy left", as far as I know "LGPL" is one such kind. My que...
Apr 9, 2016 at 5:27am
[7 replies] Last: Thanks, helios! Yes, you are right, Q11 applies. So looks like there ... (by northfly)
Fill in Missing Code and correct mistakes
 
#include <iostream> #include <iomanip> #include #include <fstream> using namespace std; // glob...
Apr 9, 2016 at 3:09am
[no replies]
Bellman Ford number of edges
 
I'm using the Bellman Ford algorithm to create a routing table. You can see the algorithm here: http...
Apr 9, 2016 at 2:49am
[2 replies] Last: The way I ended up doing it was keeping track of the predecessor for e... (by PsylentKnight)
Enhancing the Account Class
 
Apr 9, 2016 at 2:48am
[1 reply] : You didn't mention how often the interest is compounded annually. Some... (by xismn)
std::ios_base is private
 
Hi, I'm trying to pas ostream object as a parameter to my function, and I get this error. here is...
Apr 9, 2016 at 12:50am
[1 reply] : ¿Can you please paste the error message verbatim? Also, provide a m... (by ne555)
Message passing help
 
I am creating a program named PosterRUs for my assignment which consists of the following classes: ...
Apr 8, 2016 at 7:39pm
[1 reply] : You haven't shown us where you instantiate the Order class. That is a... (by AbstractionAnon)
Exception. need help fixing.
 
Good evening forum! I have a lab assignment that I'm breaking my head for a while on now. I am a CSC...
Apr 8, 2016 at 7:05pm
[3 replies] Last: Thank you! (by AlphaAce)
pointer and scope question
 
Hi, Below I create an array in create_array() and pass the ptr back to main. The pointer addresses ...
Apr 8, 2016 at 7:03pm
[5 replies] Last: Thx (by technologist)
Problem with bool turn in my code need help
 
so basically I was doing a program on a game called chinciro and I need help because whenever I run ...
Apr 8, 2016 at 6:18pm
[3 replies] Last: Run-Time Error Checks (/RTCu): https://msdn.microsoft.com/en-us/librar... (by JLBorges)
Object casting question
 
Good Morning, I have two classes as follows: class A { public: A(); ~A(); CString func...
Apr 8, 2016 at 6:06pm
[2 replies] Last: Thank you shadowmouse. That works for me. I reworked to: class BaseCla... (by lmadeux)
Close program if another application is closed. (1,2)
 
Hello. I have a game made in C++ and I have also made AntiCheat application in C#. Now since I'm not...
Apr 8, 2016 at 3:12pm
[24 replies] Last: > The problem is in the MD5 check. If I remove ... What does this pri... (by JLBorges)
parent function manipulating member of derived class
 
Hi. I've been trying to solve this problem for many days, but I couldn't find a good solution or des...
Apr 8, 2016 at 12:41pm
[2 replies] Last: Exactly! I just figured that template base class might be what I want ... (by ljw2602)
by lisa96
A critical task analysis
 
can someone tell me what should I write in the loop.I could not do that. I have tried to use for and...
Apr 8, 2016 at 11:31am
[3 replies] Last: Thanks. So when you read an event, you need to know if you've seen it ... (by dhayden)
reference points to result of operation
 
Hi, The following pseudo code seems to work (i.e., the values in "v1" are correct). However, I w...
Apr 8, 2016 at 10:21am
[3 replies] Last: Modern compilers are good at return value optimization so I don't th... (by Peter87)
Collision problem with pong ALLEGRO5
 
I have a problem with making a pong game, when the ball intersects with the second player, nothing h...
Apr 8, 2016 at 10:03am
[6 replies] Last: Thank you so so much! It's now working :) (by Idiotal)
April 2016 Pages: 1... 1516171819... 23
  Archived months: [mar2016] [may2016]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.