
please wait
by Roody
Vectors beginner problem ..
|
Hi , i'm using vectors for the first time in a project , my project about Bnking system , my idea is the user enter a name and the program will search for it ... |
Nov 17, 2015 at 2:13pm
[10 replies] Last: > I'm using Microsoft Visual 2010 Express Switch to a current release... (by JLBorges)
|
by nameishi
Line 180-183 NEED HELP Vector Element ERASE
|
#include<iostream> #include<fstream> #include<vector> #include<string> #include<cmath> #define ifile "input1.txt" #define ofile "out.txt" using n... |
Nov 17, 2015 at 1:54pm
[4 replies] Last: > I am a little lost at the std:: no idea what that translates to See... (by JLBorges)
|
by sajis997
std::floor() behavior
|
Hello forum, I tried some snippet with the function std::floor over the double value type. Here goes the snippet: #include <iostream> #include <cmath> usin... |
Nov 17, 2015 at 1:22pm
[2 replies] Last: Check the second value, after the addition of 0.5 , the value is alre... (by jlb)
|
by anarelle
Is it ok to assume 0 is false and 1 is true?
|
I've seen code where a condition is evaluated based on an int variable instead of bool. int condition cin >> condition; if (!condition) //do somet... |
Nov 17, 2015 at 12:33pm
[2 replies] Last: > Is it supported by all C++ compilers as a standard? Yes. In a bo... (by JLBorges)
|
by tjones07211
Quadric Equation
|
Write your question here. Need Help! I have to write a program that solve the quadric equation for x the program has to open and get data from a file. Here is... |
Nov 17, 2015 at 11:46am
[1 reply] : he code will not compile No offence but this isn't very helpful. If... (by mutexe)
|
by overki11
SFML Help undefined reference and #include help
|
Hello. I'm trying to make a game with SFML. The problem is that when I'm trying to display the sprite of the ship it is giving me an undefined reference. Also, ... |
Nov 17, 2015 at 11:09am
[3 replies] Last: An undefined reference means the linker can find no definition of a ... (by cire)
|
by MookDaDon
How to input 50 numbers from data file? Arrays
|
Hi im new programming im having problems with a program i am doing for school here is the question a group of 50 people have gone apple picking in Pennsylvania... |
Nov 17, 2015 at 7:36am
[3 replies] Last: Good deal! (by chicofeo)
|
by zachs4884
Prompting user for input into an array
|
I am having trouble with a homework assignment for c++. I need to declare an array that can hold up to 1000 data points. Then I need to prompt the user to ask h... |
Nov 17, 2015 at 7:17am
[1 reply] : Please don't double post - http://www.cplusplus.com/forum/general/1789... (by TarikNeaj)
|
by omega4relay
invalid conversion from ‘int’ to ‘Array<int>**
|
I'm getting the above error pointing at my initlist in Matrix and I can't seem to figure out why. It definitely has something to do with the way I defined m. Fo... |
Nov 17, 2015 at 5:36am
[1 reply] : Anyone? I'm still spinning my wheels here seeing if it could be my arr... (by omega4relay)
|
by nuglyfe
char sum in string
|
I need help finding the sum of char elements in a string. For example the string below is "test string" and I want to sum the number of times "t" and "s" occur ... |
Nov 17, 2015 at 5:32am
[1 reply] : Below is a way (not the way) of what I would do: I would create a cou... (by chicofeo)
|
computer assisted instruction |
Hello, I am having trouble with my code. I am making a computer assistance program that outputs multiplication problems. At this point, I want the user to type... |
Nov 17, 2015 at 5:25am
[11 replies] Last: I have to create a function to create a new question for my program f... (by closed account 48T7M4Gy)
|
Error with output |
So I'm building and running my program successfully with no errors, but when I enter values, after the last one, the output screen does something weird and scro... |
Nov 17, 2015 at 3:09am
[2 replies] Last: Your program starts scrolling at the Highest selling Product output. i... (by jasonwynn10)
|
by nuglyfe
arrays: pow and sum
|
how can i raise each element in an array to it's specific location in the array using the pow function and then sum each raised element for one total figure. Fo... |
Nov 17, 2015 at 2:06am
[2 replies] Last: Got it! I also needed to change i<=n to i<n ... (by nuglyfe)
|
Data Integrity |
Hey Guys, I am new to c++ and am looking to get some help on an assignment. I've been looking at this code for hours and just haven't moved forward at all. A... |
Nov 17, 2015 at 1:47am
[2 replies] Last: We, therefore, the Representatives of the united States of America, in... (by AustinWolfman)
|
by ileashipa7
Need help with error on code
|
Create a class named Student. The class should consist of the following private data members : social security number and name (last, first or first, last?). ... |
Nov 17, 2015 at 1:05am
[2 replies] Last: Thanks (by ileashipa7)
|
by palagano1989
Issues with loop and setprecision
|
im having issues with this code. my problem is i need it to continue to run until i enter 0 as the "total". and i also need a setprecision to 1 decimal place on... |
Nov 17, 2015 at 12:09am
[no replies]
|
by kinyodas
Code is bypassing imput.
|
Good Morning! I have experience with scripting and linear programming, but I am having an issue with the code below and I hope someone can assist. When ex... |
Nov 16, 2015 at 9:48pm
[2 replies] Last: gomicoo, Thanks - I know the program is faulty - I guess you could sa... (by kinyodas)
|
by mitch12345
Constructors
|
Hello! I am writing a program exactly like this one: http://www.cplusplus.com/forum/beginner/86236/ I read through the comments and watched the recommen... |
Nov 16, 2015 at 9:44pm
[1 reply] : Constructors are quite simple. They are simply functions that are cal... (by AbstractionAnon)
|
by PassTheGrape
Defining a global variable in the header?
|
Hello, I have a variable named fSize in the header Structures.h and initialized it to 5: #include "stdafx.h" #include <iostream> #include <string> #include <... |
Nov 16, 2015 at 8:55pm
[3 replies] Last: have a variable named fSize in the header Structures.h This variabl... (by jlb)
|
by Mateusz
BMI- calculator
|
Hej. There's a problem, that I can't find so please help. "Dizagnoza" shows "niedowaga" before each diagnose after third "if". #include <iostream> usin... |
Nov 16, 2015 at 8:25pm
[1 reply] : 1n line 16 use decimal point instead of decimal comma (by Kevin C)
|