Beginners (Page 63)

Linked List
I have been given an assignment to add to an already given program. I have been told to add the foll...
[1 reply] : I have been adding to the program but I come up with errors. A couple... (by kbw)
by BB2921
Extracting numbers from .txt file into array.
I figured out how to place the file, but whenever I try to extract the txt file and put it into an a...
[7 replies] Last: Awesome thanks, I'm just an idiot and didn't have matching files.txt w... (by BB2921)
problem please
Write your question here. #include<iostream> using namespace std; int recursion(int x); int...
[5 replies] Last: thanks for helping guys (by theposibility)
svaing my information to .dat file
i have wrote my code which ask for weight and height but every time i enter my information which wil...
[1 reply] : Input/output with files: (by anup30)
Having trouble alternating users in chip game.
Hey, I am having trouble alternating users when I ask them to take chips from the pile. The program ...
[3 replies] Last: //A Question : if player1 takes all chips on first turn, he wins imme... (by anup30)
the heap space
Hello i don't understand what the author of my e-book is saying about the heap below, can someone pl...
[2 replies] Last: They are part of dynamic memory management. how the "new double" wor... (by rjvc)
Generating Yearly Calender
So I am writing a code to generate a yearly calender based on the year put it in and the day of the ...
[2 replies] Last: found it (by Duoas)
squareRoot functions don't work fine
I have to calculate the hypotenuse of a triangle and I need a function that returns the square root ...
[2 replies] Last: Thanks a lot dhaylen, I once have tried return r-0.1; but it didn't ... (by WilliamLycan)
trouble with functions and pass by reference
My computer science class has this very specific homework assignment and I don't understand how to d...
[5 replies] Last: Technically first and last become local variables in the main() functi... (by dhayden)
Having Issues With Writing to a File
In the following code I am trying to write book information into a .txt file so that I can then read...
[7 replies] Last: The code is now this, rich1 was correct but he had the ios::app in t... (by ScottJ53)
Help with &&
Hi, I was looking at the tutorial of the function template std::make_pair. I don't recognize what th...
[5 replies] Last: Indeed. In that case, I was mistaken. (by Ispil)
Help to find if massive is symmetrical
Hi, can some1 help me, with writting a program, which needs to find out if massive is simmetrical, f...
[10 replies] Last: i need to use fstream, read numbers from file, im not using array, wel... (by khrusty)
First Card Shuffling Program
Hello Everyone, I am trying to get this Card Shuffling and Dealing program working. I am having a...
[1 reply] : Here is the main Program code right now. #include "stdafx.h" #includ... (by mvavrock)
remove _ from input file
Hi how are you all , i have an input files that contains string like this ========================...
[5 replies] Last: ooooooooooooh know i remeber what should i do hhhhh i forget to put c... (by mohammed1112)
Problem with if statement
This code is for class. It is supposed to ask the user if they want advice and then provide them wit...
[2 replies] Last: Should not these two be the same? cin >> answer; if (response == "yes... (by admkrk)
by BB2921
Array Sorting?
trying to write a function that sorts an array in ascending order but whenever I run the function in...
[5 replies] Last: nice. A nearly perfect example of: (by Esslercuffi)
Nested Loop Perfromance
How would I improve the performance here? This is the takeEquilibrium problem. I want to take mu...
[2 replies] Last: If you sort the vector first then the items that are less on the ones ... (by dhayden)
Thanks that helped.
[1 reply] : You haven't defined any constructors that take an argument. Lines 59-6... (by booradley60)
Generating random numbers
My homework requires me to generate 30 random numbers between the range of 0 - 9. My problem is t...
[3 replies] Last: You misunderstand. Your 'FindMaxMin()' function is trying to display t... (by Duoas)
Would like clarification please
I am very new to C++ (and very old in age); I just need to get a couple of simple explanations for a...
[5 replies] Last: Thanks to all - I think I will be going back to VS2013 (by dgriffin66)
Pages: 1... 6162636465... 130
  Archived months: [sep2014]

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