Beginners - October 2015 (Page 31)

Vending Machine for Drinks problem
 
How will i code if i want to delete my previous order and to limit the order per item #include <iostream> /* run this program using the console pauser...
[no replies]
by BEARS
How to make a roman numeral converter program (1,2)
 
I have to make a roman numeral program, but I have no idea how to start the looping and branching part. Can someone show me how to start that? #include<...
[20 replies] Last: Well if you would like to tackle a similar problem to be sure that you... (by kevinkjt2000)
getline function
 
Hello everyone. I am trying to prompt the user for the title of a class course. For example, "Data Structures". I know I need to use the getline function, and I...
[4 replies] Last: Thanks everyone for your input. This helped me in the right direction (by jpanther)
Code works but cant get link to show up
 
I was wondering if my coding is right so far? I have to make a program that detects different characters and how many from a link, but when i run it, it says th...
[1 reply] : Please edit your post and make sure your code is [co de]between cod... (by LB)
by Cat32
Desperate for assistance with this.
 
I can't figure out what I'm doing wrong. I keep getting an error that "no matching function for call to ‘BankAccount::BankAccount()" I'm not sure I did the ...
[5 replies] Last: #include <string> #include <iostream> using namespace std; class Ba... (by closed account 48T7M4Gy)
having a problem compiling 2 projects
 
first project: #include <iostream> int number(int x, int y); int main() { std::cout << "the sum of 5 and 6 is " << number(5, 6) << std::endl; return 0; ...
[1 reply] : You can't have the code in separate projects. Instead, have the code i... (by LB)
Dynamic pointer problem.
 
// ImageComponents #include <iostream> #include "Position.h" #include "ArrayQueue.h" using namespace std; void labelComponents(int size, int **pixel...
[1 reply] : pixel = new int *[size + 2]; for (int i = 1; i <= size; i++) pixe... (by ne555)
by guihs1
Arquivos binários em C++ /\|/\ Binary files in C++
 
Português - BR Recentemente estou com um projeto de algoritmos e estruturas de dados para resolver, é um sistema básico de empresa/loja, já tenho noção d...
[no replies]
Discount price equation
 
CAN SOMEBODY PLEASE HELP ME FIGURE OUT THIS EQUATION ITS DRIVING ME INSANE. I WANT TO BE ABLE TO FIND THE FINAL PRICE AFTER THE DISCOUNT. SORRY FOR CAPS...
[3 replies] Last: AND, the bit your confused about is the bit i am confused about. the w... (by goon rider)
Inputting an integer from a string in an IF statement?
 
I have been working on a Fibonacci Sequence algorithm, but when it comes to contextualizing the words for the console's output, I wanted it to understand the di...
[5 replies] Last: [quote=Tselinoyarsk]Thanks for editing that in. The edit was because I... (by LB)
Template confusion
 
Started working with templates, don't fully understand things. What I think I'm trying to do is to make a template that compares 5 array elements of a yet to be...
[2 replies] Last: Thank you I'm not sure what I was thinking that works perfectly. (by zacklucky)
If Else statement
 
Hey guys, I am having trouble with my if/else statement The "Else" bit doesn't want to run if i press n, it still runs the "if" statement. Any help ...
[4 replies] Last: Thanks guy's you guys are legends! (by goon rider)
Number as sum of prime numbers
 
I have to make a number as sum of prime numbers with as low as possible terms in C++. I tried making it but the way is too confusing and don`t know where to sta...
[5 replies] Last: @Duoas: I was talking about over all possible executions - that is, no... (by LB)
What's going wrong?
 
This code works perfectly if I take away using the players name. By deleting the portion where I ask for the name, I'm then able to ask every other question an...
[1 reply] : Probably because you can't put a string into a double. (by koothkeeper)
problem with cross initialization
 
Sort of a follow up from my last question which I don't know how to properly ask so I'll start with some context: When I compile the below code I get this co...
[4 replies] Last: I see, thanks for the help. (by omega4relay)
Assistance in homework.
 
Hi, I need assistance in my homework, I wrote a code, but since I'm off campus, and i can't seem to connect to the schools VPN, therefore I can't access my code...
[2 replies] Last: Oh I see. When I go in to school where my stuff are saved at. I will ... (by WhatHaveIChoosen22)
Loop counter issues
 
Hey everyone, I am new to the site and need a little help in my homework assignment. This thing is giving me fits and need to have a payment calculator for ...
[2 replies] Last: Sorry tarik..basically my output is not calculating correctly and tryi... (by cronojay)
Question on loops
 
Okay so I've already finished my code, but was wondering about a certain problem that I'm sure will come up later in my class. What if I wanted my code to loop...
[2 replies] Last: @LB Thanks! (by ianheinze)
by ct180
Reverse Linked List
 
I am trying to a write a member function that will reverse a linked list. However, I recieve a constant neverending print of 2's that I have to manually termina...
[6 replies] Last: Ok, thanks for the advice! I managed to get it working after realizing... (by ct180)
I'm working on a UNO Game, I have all methods and classes set up, just need help with the gameplay
 
I have this assignment due later on tonight, and I have all the classes, methods and data members all set up just need help with gameplay. I haven't started the...
[2 replies] Last: Well, yeah Rules are pretty straightforward, I practically started cod... (by MecNasty)
October 2015 Pages: 1... 2930313233... 57
  Archived months: [sep2015] [nov2015]

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