General C++ Programming - April 2014 (Page 5)

Generate sound in C++?
 
Hey there, I'm new to the forum, but not to the site, I've been using it for 2 years now, and so far all my questions were answered by just searching old top...
[6 replies] Last: Sorry I'm late to the party. If you're looking for a lib that allows ... (by Disch)
please help me...
 
Hi how I can having sum in loop function,please give me example if you can!!.
[2 replies] Last: I would suggest looking into "std::accumulate()": http://www.cplusplus... (by Computergeek01)
by LunarB
Char Array Size Problem
 
So I'm trying to make a program, Which has nothing to do with the topic. But I ran into a problem. I need to get a char array size of 6 doing: char myChar ...
[3 replies] Last: in C++ you have lots of options. A std::vector is perhaps easiest and ... (by Chervil)
C++ REST SDK Casablanca Client.request
 
I want to write a little c++ program that sends a request to a server an get some data. I found the C++ Rest-SDK and decided to use it. I searched on different ...
[1 reply] : You may read this article: http://www.codeproject.com/Articles/603810... (by coder777)
Something extra or messing in my code? (classes) help please
 
Chapter 6: Classes and data abstraction in c++ ---------------------------------------... Create a simple class that is used to represent a box. Each object ...
[2 replies] Last: what kind of help do you need? I mean if it works it's good enough? (by coder777)
Lift Control system
 
Hi, i need to program and simulate a 2 floor lift control system. can anyone tell me how to do that ? i need to design its program only.
[1 reply] : Make an numeric array of say size 10, each index of the array would b... (by Codermik)
Beginner Having errors please help I have been working for days and am stuck!
 
Library.cpp #include <iostream> #include <fstream> #include <iomanip> #include "card.h" #include "book.h" using namespace std; void CheckOut(Card c...
[3 replies] Last: Sorry, my teacher did not show us how to use tags But you can go to t... (by coder777)
Mulithreaded Server and Client
 
I need the code for multithreaded server and client code. one server and two or more client connect to server. Without fork(),semaphore(),etc
[1 reply] : There are many samples kicking around, you can find many of them using... (by kbw)
hello
 
im trying to fill an array of size 16 A-P forward and backward but im having a hard time filling the array with A-P. heres what i have so far. #include<iostr...
[1 reply] : You're storing the same character every time. Seems to me like you wa... (by AbstractionAnon)
intellisensor not recognizing my string data type.
 
So Im working on my semester prject for my programming class. It is to make a roulette game. And Im working on getting my table set up but the intellisensor in ...
[5 replies] Last: Hint: Your program is trapping on line 95. Which subscript is for ro... (by AbstractionAnon)
Case study
 
Hi there, Could you help me in this case scenario? Your employer has asked you to write a program to manage the company’s daily Sales and Purchases. ...
[2 replies] Last: It sounds like a pretty straight-forward second-semester assignment. W... (by Duthomhas)
Restore keyboard stdin after reading from pipe
 
Hello, I use the following code segment to read and output the text piped to a program. If there is no piped text, the code segment is skipped and then the pro...
[4 replies] Last: A much better design. Be careful, though, whom you accuse of jumping ... (by Duthomhas)
Segmentation fault source?
 
I can't tell where this segmentation fault is coming from. Can anyone spot it? Error message: Do you need help (Y/N)? //this y ...
[2 replies] Last: Oh, God. That part of the code was pre-written by my professor and I m... (by fizanimtiaz93)
I am having some unusual compiler warning messages and my input is being skipped over...
 
This program computes a patient's bill for a hospital stay...It is about complete except that I am getting a different compiler message.. it says that: -fi...
[5 replies] Last: You're response did not help. Adding cin.ignore(std::numeric_limits<... (by Zero Cool)
crash in getline loop
 
hey guys, im helping a friend to get a database for his thesis. it is about chess. We found a chess database, and with the program that is delivered with it, th...
[7 replies] Last: nvm i found it, there is a --> sign in the textfile that kills the get... (by poiioppoiiop)
by Mylar
Conflict with Yahtzee program
 
Hello, I have a strange error inside of a Yahtzee program I have been developing. Everything included inside of this code is designed to meet requirements set f...
[2 replies] Last: I think I understand what you are trying to say. Does the original dec... (by Mylar)
MergeSort using pointers [NOT SOLVED YET]
 
Goodmorning Everybody! Can I ask to help me with this code? It's just an exercise about the pointers. I'd like to do a MergeSort with sentinels and order t...
[9 replies] Last: =( (by giovanninokr)
Fuctions
 
im writing a source for a choice program that does the commands in its function and the program runs fine. the only sections not working is : Above Average # ...
[11 replies] Last: my code wont work correctly option 4 the results in histogram goes i... (by krrish123)
I am having an issue reading a 2 Dimensional Array in from a data file
 
Hello, I am kind of new to C++ and I am having an issue reading in a 2 Dimensional array from a data file. I am very close to reading it in perfectly excep...
[1 reply] : never mind I solved it by removing the first incomefile << shift (by phillip0015)
I am getting an error saying expected unqualified-id
 
I am trying to set up chartboost and when I set it up, This happend and I dont know how to fix it. { //-----The error is here. if(runApp == nil) re...
[2 replies] Last: wow lol sorry (by unicornman)
April 2014 Pages: 1... 34567... 41
  Archived months: [mar2014] [may2014]

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