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

by Ltp
A simple Queue problem but I cannot fix this
 
#include<iostream> using namespace std; class Queue{ private: int *queue; int ...
[3 replies] Last: A couple of other things. 1. When enqueuing, you should insert onto t... (by doug4)
What exactly is threading? What to learn next?
 
Hi, LeafyCircuits here! I was wondering what threading is in C++. I've done some research and I gue...
[14 replies] Last: L B said: You should avoid using asm blocks at all costs. Wel... (by LeafyCircuits)
by Snaksa
Text file to binary file
 
Hi! I want to convert a text file into binary file. I should create the text file by myself. I also ...
[12 replies] Last: Ok. Thanks a lot for the example :) (by Snaksa)
parsing time in command line arguments
 
hey guys, thnks for your help last time but my professor just increased the problem by saying the t...
[10 replies] Last: Learn to format your code, then it's easier to comment on. http://www.... (by SamuelAdams)
Need Help about APPCRASH
 
Hi friends, i have some problems with my "package unpacker tool" i'm begginer with C++ i hope someo...
[6 replies] Last: Good luck to you then. (by Computergeek01)
need help on jumble word HELP PLEASE
 
everything works it just how am i repeat for the next word not exiting the program. // Word Jumbl...
[1 reply] : You just need another while block that says "while running" then have... (by Computergeek01)
How to initialise in main for my program?
 
#include <vector> template <typename T> class Vector { private: int _size; //Slots used. int _c...
[2 replies] Last: I see thanks. For others who may view this: Just needed to do this: ... (by helpstudent)
by dildur
Need help with C++ triangle problem, simple hopefully
 
Hello Trying to code this C++ program, in which it will let me know if the point is within this tri...
[2 replies] Last: Hi, You will get the easy solutions for the different triangles progr... (by samcpp)
Version Numbers for Programs and Projects
 
Hi all, Just a curious question When you are creating a project or program, how do you number you...
[1 reply] : It is up to the developer, although typically, the developers follow a... (by closed account jwkNwA7f)
by DeMuRe
Gratuity Calculator
 
Hi! I feel this may sound stupid to all of you, but I'm needing some help with some homework. The a...
[1 reply] : The instructions state that the class should have ONE class member cal... (by ajh32)
Help moving my bool function from my .h to .cpp file (1,2)
 
Hey guys. I've got kind of a silly question here so bear with me. I've got a bool function in my .h ...
[23 replies] Last: No... Because that is as good as return servers ; . You stated the re... (by Daleth)
subscript requires array or pointer type
 
I keep getting this error any tips? Error 1 error C2109: subscript requires array or pointer type ...
[2 replies] Last: You're also computing the mean incorrectly. You're computing the mean ... (by thebeto1of)
2 for loops in a single program?
 
I have to make my program display days 1-30 along side numbers increasing by 5 each day beginning wi...
[10 replies] Last: Yes! That's what I was looking for. Thank you. Here is the final piec... (by cire)
How to define a data structure to satisfy this?
 
A easy questions, maybe, for you guys. I want to define a class, which will have two members, for...
[3 replies] Last: If it is just 'may or may not be set', std::optional<> (C++14) or b... (by JLBorges)
C++ Program that calculates commute cost.. how do I fix this error? details below.
 
"if you run the program you will notice that it ignores the amount of daily tolls and parkingfees. T...
[1 reply] : if you run the program you will notice that it ignores the amount of ... (by AbstractionAnon)
Get weird numbers when finding the sum
 
Just posted a different problem earlier today but now its something else. when I try to find the sum...
[2 replies] Last: Your array has a size of 25, and you did not initialize any of the ele... (by Daleth)
What is this thing?
 
i know about these comments //single line comment /* several line comment */ but what i...
[3 replies] Last: comment (by rex1200)
having an input issue with my program
 
this program is for hw. however, Im not asking for someone to do my hw for me i just need a little h...
[2 replies] Last: i did try inputing that line and still recieving the same errors. and ... (by John752)
Division Algorithm
 
Ok, I have this homework for class due next week and I was trying to get a jump start and I can't se...
[no replies]
by azike
Pls help debug
 
#include<cmath> #include<iostream> #include<iomanip> const float t = 0; const float K = 25 ; co...
[1 reply] : #include<cmath> #include<iostream> #include<iomanip> const float t =... (by Chriscpp)
September 2013 Pages: 1... 1718192021... 36
  Archived months: [aug2013] [oct2013]

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