
please wait
by altabz
unable to find iostream
|
Write your question here. when i compile c++ i was unable to find the header but when i use stdio.h it works of it's the wrong compiler right? so how would i c... |
Jan 29, 2017 at 4:03am
[13 replies] Last: down loading process is like a snail pace in is this normal for visual... (by altabz)
|
digits to words |
#include<iostream> using namespace std; int first(f) { switch(f) { case 1: cout<<"one hundred"; break; case 2: ... |
Jan 29, 2017 at 3:46am
[2 replies] Last: no output.please help Yes. You don't get much output from code that... (by cire)
|
by spicymemes
hollow rectangle
|
Alright, so I need help with creating a hollow rectangle. I already have a code for a filled out one but I don't know what I need to change to make it hollow. I... |
Jan 29, 2017 at 1:42am
[4 replies] Last: Consider using string's fill constructor. http://www.cplusplus.com/ref... (by integralfx)
|
C++ Class composition Question: How to set the private variables of a class that's within another class from the main ? |
The class "Bank" has within it an array of objects of type "Account". The bank class has a getter function for the array of accounts that returns single object ... |
Jan 29, 2017 at 12:47am
[1 reply] : Returning a mutable reference is basically how the operator is impl... (by xismn)
|
by raminM
Turning a for loop to a do-while loop?
|
Hello, how can I change my for loop to a while loop? I am currently on the right path I think but the first 2 iterations are not printing the correct output. ... |
Jan 28, 2017 at 11:46pm
[4 replies] Last: A bigger question is why you want to do this? IMO it just makes the co... (by TheIdeasMan)
|
by mookster66
derived class error
|
I keep get an error saying: error expected class-name befor '{' token #ifndef EXTCLOCKTYPE_H #define EXTCLOCKTYPE_H #include <string> class extCl... |
Jan 28, 2017 at 11:44pm
[1 reply] : You have not defined clockType. (by Peter87)
|
by tNK
Looking to pay someone for help on Skype
|
Hello, I am looking to pay someone to assist me on Skype when needed for c++. Yes I am aware that just because I have someone on Skype it doesn't mean I can l... |
Jan 28, 2017 at 11:14pm
[1 reply] : Why don't you ask your questions in public so that the information y... (by mbozzi)
|
by dmo
trying to implement 2 functions into my code
|
I'm trying to implement two functions in my code RequiredData() needs nmarital status, gross salary, and perecentage contribution & TaxCalculator()needs the ret... |
Jan 28, 2017 at 4:23pm
[2 replies] Last: Hello dmo, After working on your code for awhile I found there are so... (by Handy Andy)
|
by waleec
how to ignore the rest of the string
|
I need a function that ignore reading the rest of a string For example if a character is "/" I want to ignore reading it and what comes after it till the end ... |
Jan 28, 2017 at 3:57pm
[2 replies] Last: There are many ways to solve this. I show just two examples below. #... (by Chervil)
|
by shuthairah
quadratic assignment problem
|
does anyone has an example of coding for quadratic assignment problem? please help me |
Jan 28, 2017 at 3:30pm
[2 replies] Last: im sorry, i want to delete the first one but i didnt know how to do it... (by shuthairah)
|
What is my error? (1,2) |
Soooo I am using SFML and I am trying to load sprites. But, when I tried to run it, it crashed. I am actually clueless at why it will not work. #include <... |
Jan 28, 2017 at 1:33pm
[21 replies] Last: You have trolled numerous times in the past, and have actually admitt... (by helios)
|
by zakaa
(Game) Monster droplists
|
I am looking for a efficient way to store the data of what monsters will drop when killed. All my items are classes, using inheritance. What I was thinking i... |
Jan 28, 2017 at 12:04pm
[no replies]
|
by zeroisk
how can i walk through a array of pointer?
|
*p = (ifstream &operator >>(ifstream &in ,DATA & d); is *p the way i can access to the First DATA in the pointer array? Infile content 1 john smith 2.0 2 ki... |
Jan 28, 2017 at 7:34am
[4 replies] Last: Hi do you know why when i try to do the same with ostream. I got an ru... (by zeroisk)
|
by KingViz22
Reading data into parallel arrays.
|
Hey guys, so I'm coding a program to read data from .txt file and sort into multiple arrays and then display in a table setting. The problem that I'm having is ... |
Jan 28, 2017 at 1:42am
[1 reply] : it seems to be having problems reading the file That's pretty nebulo... (by xismn)
|
by rradeba
I need some help with an assignment ASAP
|
Here is the prompt for the question that I need to answer. I am getting several error messages that will not allow me to compile. Any help would be appreciated.... |
Jan 28, 2017 at 1:00am
[5 replies] Last: http://www.cplusplus.com/reference/ios/defaultfloat/ (by integralfx)
|
by pumzye
No Output on Screen
|
Hi guys , how do i get the program to display the average and standard deviation . there is no output on my screen. #include <iostream> #include<cstdlib>... |
Jan 28, 2017 at 12:00am
[1 reply] : http://www.cplusplus.com/forum/beginner/207129/ (by closed account 48T7M4Gy)
|
map - find if key exists and get value |
I have a map and am doing a check to see if key exists and if so, get the value. Program is crashing and getting the following error from Visual Studio. "Debug ... |
Jan 27, 2017 at 11:44pm
[3 replies] Last: Well, nevermind. Figured it out. The error was actually somewhere else... (by thomaselder84)
|
by adam2016
dynamic memory question
|
Hi guys I have a short question,I'm just wondering how come when you set a pointer to = data in dynamic memory how come you don't use &? for example ... |
Jan 27, 2017 at 11:27pm
[3 replies] Last: Why would you? (by Peter87)
|
by Ryovash
How do I get an age to not display from file if it doesn't meet a range?
|
So I have a code here that is suppose to sort out all the names in order by last name, as well as keep the age with them. I have all that. However, I seem to be... |
Jan 27, 2017 at 9:47pm
[1 reply] : Consider creating a class or a struct called Person to store the first... (by dhayden)
|
by pumzye
Help - For loop not working properly
|
Hello My for loop is not adding up the numbers together but picking up single value of the array for the julian date program //Write a program that conver... |
Jan 27, 2017 at 7:53pm
[5 replies] Last: thank you . (by pumzye)
|