
please wait
by khovsepa
Function That Checks For Duplicates While Traversing Array & Prompts User To Enter New Input
|
Hey everyone, so I'm on the last bit of my project assignment and the professor requires us to create a function that traverses the array(s) and checks for dupl... |
May 12, 2017 at 4:46pm
[13 replies] Last: I'm going to heed your advice and leave it as is :) thank you very muc... (by khovsepa)
|
by Lopus312
cout difference
|
is any difference between that: cout << "text"; and that? std::cout << "another text"; I'm using the first one and idk what second is fo... |
May 12, 2017 at 4:42pm
[2 replies] Last: thanks (by Lopus312)
|
by kinley
Global ifstream variable
|
Hi, Please consider this following piece of code. int main() { ifstream objfile("log.txt"); // for loop: process(); } void process(... |
May 12, 2017 at 4:28pm
[3 replies] Last: Rather than passing it as parameter across all those functions, is it... (by jlb)
|
by spax1111111
How can i get the function info_all() to work?
|
#include<iostream> #include<string> using namespace std; class Person{ private: string name; string last_name; double some_num; double some_num2; ... |
May 12, 2017 at 3:30pm
[no replies]
|
by maenielwolf
Rainfall Review and Assistance
|
This is my program so far. I am having trouble getting the program to sort and display the array based on the rainfall data entered and the month which it was e... |
May 12, 2017 at 3:22pm
[1 reply] : In your sort function you also need to swap the month names when you s... (by Thomas1965)
|
by Faggio
Problem with sort
|
I don't understand why this code doesn't work. Note that i have written the bool function in .h StudentBook class, order function in .cpp StudentBook class, i h... |
May 12, 2017 at 3:06pm
[4 replies] Last: i have solved the problem good, but just so you know your cmd() func... (by gunnerfunner)
|
by Faggio
stringstream format
|
Hi, i have a problem with this code. I want to return the string temp in a tabular way, so i think to use setw and left. Something's wrong because maybe strings... |
May 12, 2017 at 10:09am
[3 replies] Last: Thank you a lot!! (by Faggio)
|
by gatinha123
Error using fprintf to save on a .txt file.
|
Argument of type "cons char*" is not compatible with parameter of type "FILE*" error on fprintf("ERROR here"...), and argument of type "int" is not compatible w... |
May 12, 2017 at 9:37am
[3 replies] Last: You're welcome - glad I could help. (by MikeyBoy)
|
by Viston
Taking all Integers from text file and add them
|
So, I've made a program where a user books a ticket. This ticket has a price/cost. Everytime a user creates a ticket, I add the cost of the price into a .txt fi... |
May 12, 2017 at 5:29am
[1 reply] : some buyers may purchase more than 1 ticket and some buyers may purcha... (by gunnerfunner)
|
by justiny
C++
|
hey, i need help with creating a program that can loop the amount you input into numbers like 1-10 |
May 12, 2017 at 5:01am
[3 replies] Last: now, who'd report a post like this? http://www.cplusplus.com/forum/be... (by gunnerfunner)
|
by imastruggler
How do you display a selection sort?
|
I've been trying to display a selection sort array, but it never shows up. I'm trying to set an another array in ascending order. Here's what I' have: void ... |
May 12, 2017 at 3:12am
[13 replies] Last: You need to create another new array which keeps track of the order of... (by closed account 48T7M4Gy)
|
i NEED HELP WITH MY PROGRAM |
Ur he he d |
May 12, 2017 at 1:58am
[1 reply] : there are instructions throughout your assignment, which one(s) don't ... (by gunnerfunner)
|
by Programmador
Programming a complex calculator
|
What knowledge do I need for programming a complex calculator? Like I've already programed one with +,-,*,/ but now I want to add sqrt and such things... I don... |
May 12, 2017 at 1:07am
[3 replies] Last: > Like I've already programed one with +,-,*,/ but now I want to add s... (by JLBorges)
|
by GISMO7
Constructors/ Vector of objects
|
Hello there, I am relatively new to programming. I am working on a program for my intro to cs class, but I am having trouble with it. My program is supposed to... |
May 12, 2017 at 12:54am
[3 replies] Last: I caught the mistake when i made when defining the constructor later. ... (by GISMO7)
|
by anarelle
Should I store the returned iterator when removing from a vector?
|
I know there's a remove-erase idiom to remove all occurrences of a value in a vector, but I'm using this option instead: (let's say this is a vector of type in... |
May 11, 2017 at 9:03pm
[2 replies] Last: Thanks for your explanation :) (by anarelle)
|
by codetojoy
python ide
|
Im taking a course in Python programming this summer; would like to ask if Windows is better than Eclipse for development; please tell me if there is another e... |
May 11, 2017 at 8:36pm
[1 reply] : This is a C++ related forum. https://python-forum.io (by Kiryu)
|
by krossas
average mins and secs separately
|
So i have this program and i can't think of how is it possible to count average and then write minutes and seconds separately. the numbers go like this and i ha... |
May 11, 2017 at 7:31pm
[3 replies] Last: thank you guys, doing it with % worked, would't have thought about it. (by krossas)
|
by xxvms
circular queue
|
Hi there :) I am working on circular array, but I don't think I understand it fully (yet) I have created this code but I don't think it is working as it sho... |
May 11, 2017 at 5:34pm
[2 replies] Last: Hi @ne555 thank you for that!!! I am sorry about late reply I was in ... (by xxvms)
|
by The wizard91
Can You tell me what I am doing wrong, please?
|
I am to implement a Binary search class for assignment but I am bumping into so many errors that I don't even know how to fix it. I am searching on the net for ... |
May 11, 2017 at 4:16pm
[4 replies] Last: @ AbstractionAnon thanks. (by The wizard91)
|
by Fojaxx
using a variable to refrence a variable inside an array
|
so im making a game of battleships as a refresher to get back into c++. i made a post the other day about array issues, and thats now fixed thanks to your guys ... |
May 11, 2017 at 4:01pm
[3 replies] Last: Since this about fun and just learning things, perhaps you'd like to... (by Fojaxx)
|