General C++ Programming - March 2014 (Page 28)

How is writing this question??
 
Write a program that calculates for an employee the gross pay and net pay , given the number of hours worked by an employee, hourly rate and the number of depen...
[7 replies] Last: The overtime rate needs to multiply whatever was entered for the hourl... (by wildblue)
by lapoza
Need help storing a byte, then retrieving it
 
Hello all. I have very basic level understanding of programming, i can do easy things, but i am now working on a wireless project that calls for taking t...
[no replies]
VOCE (Voice Recognition API) C++
 
i am trying to compile it in C++ the Voce but the Voce: Open Source Speech Interaction is giving me following error C:\voce-0.9.1\lib\sphinx4.jar : fatal ...
[no replies]
by fxj
Sort by vector object members
 
I have these classes for a start: Name ( string fName, string lName) Student (Name name, int age) Both classes classes have the < operator overloaded. ...
[8 replies] Last: That is good. If you did add those comparison functions to Student, t... (by keskiverto)
need help with function
 
#ifndef MYSTRING_H #define MYSTRING_H #include <iostream> #include <cstring> using namespace std; class MyString { //friends friend ostream& operator <...
[5 replies] Last: No, just saying thanks is enough! (by TwilightSpectre)
Question about my book
 
Hi. I planned to use the book ''Programming - Principles and Practice Using C++'' by Bjarne Stroustrup. I find it hard to learn using this book. We got for exam...
[1 reply] : The file specified by the book will make it easier for you to follow t... (by Smac89)
Template function don't work as inline function. Why?
 
I have this: string input; unsigned short choice; ... istringstream valid(input); ... if(!(valid >> choice)) { //some error } Ok. My code is ...
[4 replies] Last: Shouldn't it be template <typename T> bool valid_input(const string& ... (by long double main)
C++ Speech Recognition for Neural diseases Persons
 
I am making a speech recognition program in C++ for for neural disease person. the program should take input from the mic and convert the speech into text. ...
[no replies]
by yhu420
Why is my object destroying?
 
Hello everyone, Today just had the weirdest bug I ever had. I managed to get the debugger to work, and then it tells me that the the program crashes because of...
[12 replies] Last: Thanks everyone for answering my question. Thanks to all of you guys ... (by yhu420)
quiz system, please help
 
Hi, i would like to ask you if anyone here can help me. So my program is a Quiz but, the questions should be multiple choice and the questions were coming from ...
[1 reply] : That's not really the best way to approach this. You want to consider... (by kbw)
Problem with my CGOL
 
I've been working on implementing Conway's Game of Life in C++. Unfortunately, I have run into a problem. When I try to move the camera, I scroll 2 spaces inste...
[no replies]
Inheritance Lab help
 
Could someone take a look at this lab. It works the only issue is as I run it and get the bottom of the inheritance program it prompts the user to "Enter 3 d...
[2 replies] Last: WorkingTN::WorkingTN() : TelephoneNumber() { cout << "Enter your ... (by JLBorges)
Reference VS Pointers
 
I've been read several sources (books), and I haven't been able to find a a clear and concise answer (if there is one) when to use one verses the other. One res...
[3 replies] Last: @NT3 Thanks, that article really cleared things up for me. (by chase993)
Fortune teller program
 
I am trying to make symbolic constants for telling the Zodiac signs but I have no clue how to do that. Use the table of Zodiac Sign below: AQUARIUS - Januar...
[1 reply] : string January = 1; You are declaring 'January' as a string. Yet y... (by Disch)
Cs250
 
Anyone have any advice on cs250 the jump from cs150 and 150 is pretty intense and I feel like that 150 did nothing to prepare for the cs250 class
[no replies]
How do I tell whether the users input has already been used in a 2d array?
 
My parameters are that the users input has to be from 1 to 9 and the same number can't be entered twice. How do i modify this code to make sure that the user di...
[6 replies] Last: The way you have it, if there is an invalid input you might start caus... (by TwilightSpectre)
function call missing argument
 
Hello all, We just started going into classes for my C++ class. Everything looks right but the error is saying i'm missing an argument in my getspending call....
[4 replies] Last: oh wow, sorry, it didn't show any replies. yea, this is a getter func... (by mattig89ch)
Capture the output from an exe
 
im writing a small editor for RSL coding, and ive got an external program "3Delight" to compile the code. Now i want the output from that exe to be captured ...
[3 replies] Last: Do you just want to redirect stdout? #include <cstdio> int main() { ... (by naraku9333)
Labels as Pointer
 
Hello Everyone, Is there such thing as passing a winforms label by reference? For example, can I create a pointer label and pass the address to a function? ...
[1 reply] : For example... Aceix. (by Aceix)
Stack data structure as an ADT
 
So I've been working on implementing a stack data structure as an ADT, the program compiles, but when I try and push elements on top of the stack, for some reas...
[4 replies] Last: I was trying to point out that you should either do: class stackADT {... (by kbw)
March 2014 Pages: 1... 2627282930... 36
  Archived months: [feb2014] [apr2014]

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