Beginners (Page 28)

I need help with my program
 
I want my program to retain the remaining stock when I buy again. How should i do it? The only th...
[2 replies] Last: I am a college student so, this was my program for the finals of first... (by kramsuiluj)
Returning from function to certain vector
 
This is only part of my code but I need help returning the values from the function to the specific ...
[3 replies] Last: You can't pass a vector-of-doubles as a double. You need to do it like... (by tpb)
Need help with assignment
 
I have an assignment that wants me to do the following Write a program that prompts the user to ...
[4 replies] Last: The last thing I need is to be able to still output the multiples if ... (by Ganado)
Trouble with nested while loop
 
Sorry if this is bad formatting first time on the website. But I'm trying to make a sample bookstore...
[2 replies] Last: Ok changed a bit again this time moving the salesTotal = bookCostTotal... (by gimmley)
by Tduck
Integer not increasing when told to increase
 
Basically I have an array which in heindsight I somewhat regret using, and it determines a player's ...
[4 replies] Last: Also, to answer your question why those x's and y's were incrementing ... (by Tduck)
C++ binary search tree array implementation
 
Hello, i'm writing a project for a class. I need a step in the right direction as my professor is a ...
[no replies]
Vector like protected attribute?
 
is there a possibility to create a vector in the base class and then inherit it?
[3 replies] Last: Well, it seems to work: #include <iostream> #include <memory> #inclu... (by Enoizat)
how to change value of array with displaying it multiple time
 
Hey guys, so i am a beginner with c++ and i am trying to write a code that will help me move a perso...
[6 replies] Last: This might work under windows. #include<iostream> #include<windows... (by lastchance)
by EP3
Syntax question "? a : b;"?
 
In the following code below. Template <typename T> T maximum(T a, T b) { T result; resu...
[1 reply] : You're referring to the ternary operator. Wikipedia has a page for it:... (by Ganado)
Need help in the optimization (1,2)
 
How fast does your code run ? How fast should it be ?
[26 replies] Last: any idea on how to do the surchess problem (by baba 32)
Convert Stirng into int array
 
I need code for this # include <iostream> # include <string> using namespace std; int main() { s...
[2 replies] Last: #include <iostream> #include <iomanip> #include <string> #include <ve... (by lastchance)
reading txt file; stringstream not advancing?
 
Im trying to read a text file that has strings separated by tab characters, each of these will be as...
[4 replies] Last: I'm bemused, @javascripty. Why don't you just do #include <iostream> ... (by lastchance)
by gjur99
Help with homework
 
Hello guys! i need some help with a hw assignment and i am kinda stuck with this since i dont unders...
[3 replies] Last: Hello gjur99, To answer your question creating another variable would... (by Handy Andy)
by jvxn21
Console seems to print everything in file up to break
 
Hello, I am trying to get specific things from a file but my program keeps getting everything fro...
[9 replies] Last: [quote=jvxn21] int ft_long = int(); double clear_price = double(); ... (by Enoizat)
by Trev
error meaning
 
would someone please try to help me understand the following error message 'window' was not decclar...
[1 reply] : Duplicate post; http://www.cplusplus.com/forum/general/244165/ (by Repeater)
Need help with assignment
 
I'm getting multiple error's on my homework assignment, and I've been trying to figure it out for th...
[6 replies] Last: Well, the first thing you did wrong which is of no help to you at all ... (by Repeater)
Need Help in Arrays
 
Write a program that demonstrates various gradebook utilities. The program should first create a tw...
[3 replies] Last: Hello rahan2121, PLEASE ALWAYS USE CODE TAGS (the <> formatting butto... (by Handy Andy)
by BJK
Matrix partition
 
Hi guys, Firstly sorry if something wrong about my English. I need a algorithm who design a matrix. ...
[1 reply] : I think you had better have another go at explaining what you want to ... (by lastchance)
Need Help
 
There are N circles in a plane. Circle i and circle j form a good pair if it is possible to choose a...
[5 replies] Last: how can we do this in O(n) or O(log n), could anyone drop a small hint... (by maxdaen)
by DellXT
_
 
___
[1 reply] : The error message can often be useful in telling you what is wrong. (by Peter87)
Pages: 1... 2627282930... 39
  Archived months: [sep2018]

Cannot post in this page. To post a new message, go to the first page.