Beginners - October 2017 (Page 24)

by iif201
switch statement
 
I'm trying writing a program that someone enters a code for tv = t, new release = n, non-new release...
[no replies]
how to stop function at end of document
 
Hey guys. Quick question: How can I edit the getScores function to get it to stop when there are no ...
[1 reply] : I think you are looking for EOF http://www.cplusplus.com/reference/io... (by shadder)
display2() help
 
I am supposed to have the user enter a character to use as the header and the number of times they w...
[1 reply] : Hi, Could you show us what you did/tried? (by shadder)
Compile Error
 
I'm trying to compile my program to make check if I coded everything to do as it should, but I get B...
[3 replies] Last: That helped me figure out the problem, thank you! It runs on NetBeans ... (by Griffinflame21)
Function Calling
 
I've been given a template on a high/low game to program. I'm having trouble understanding how to wr...
[17 replies] Last: I think that I finally have the code where I want it. I am coming up ... (by smitty007)
Variables in Functions
 
Hello to all, I am new to C++ and having difficulty getting my code to execute properly. I cannot un...
[3 replies] Last: Hints: #include <fstream> #include <sstream> #include <iostream> #in... (by Enoizat)
questions... i'm a noob
 
Hey guys, I have a few questions with my code. Here is my code, along with a comment at the bottom w...
[2 replies] Last: Awesome! I fixed both of those now, thank you :) I'm still trying to ... (by jacobgallipeau)
Input dynamic array in OOP
 
How can input some dynamic array in my class(2ns line of code in main())? Is void inputArray optimal...
[5 replies] Last: But now I did some self study and found std::list_initializer among ... (by Enoizat)
by Bopaki
This program runs fine but does not sort the list
 
Write your question here. #include "arrayListType.h" template<class elemType> arrayListT...
[2 replies] Last: Hi, Bopaki. For what I can see, you gave us the header for the templat... (by Enoizat)
declared or defined???
 
It's been quite a while I'm struggling to resolve the exact usage of "using namespace std". I doubt ...
[8 replies] Last: Hello SoumyadeepRoy, Not sure if I a right here, but form what I have... (by Handy Andy)
Compiler and linker
 
so I am basically looking at different tutorials online on how to use the windows api but I am total...
[1 reply] : If you use Visual Studio there is nothing to set up. Create an empty W... (by Thomas1965)
Type 'Test' could not be resolved
 
I'm starting to get annoyed by eclipse,there is nothing wrong here yet I'm getting an error Type ...
[2 replies] Last: Class Test is declared nested inside class myException . In main,... (by Chervil)
MySQL C++ connector one error
 
Hello everybody, I try to connect my C++ file to MySQL. I did everything as in MySQL connecter i...
[no replies]
Passing random numbers to an array
 
Hey guys and gals, I'm new to c++ and I have a project that I'm trying to complete but I can't figur...
[8 replies] Last: I actually figured it out late (really late) last night into this morn... (by talemache)
How to call a function that will write to a file and within that function call other functions
 
Hello im learning c++ and i was wondering how i can call a function that will write to a file. withi...
[2 replies] Last: You have three distinct functions, build, print, write. Each function... (by AbstractionAnon)
loops and calculations
 
I am totally new to this. I need to be able to add up all the inputs associated with the courses sel...
[no replies]
by huncho
Gravity, .h & .cpp
 
Hi everyone, I've got this assignment that I been stuck on for days. I've already tried to google so...
[4 replies] Last: roughly: the class definitions go in the .h file the class member fun... (by jonnin)
kindly help me with this thankyou
 
Create a Class "Date", with data members: year, month, day. also create Default Constructor, Destruc...
[no replies]
Finding the values that Match In 2 Arrays
 
I'm doing a insertion sort to find the same values but placed in two different arrays with different...
[1 reply] : The code doesn't compile because an ofstream cannot be passed by val... (by Chervil)
by smich
How can I split the contents of a string array to smaller arrays?
 
The title is a bit hard to understand, so here is my question: I am reading a file and putting its c...
[6 replies] Last: There will always be three lines and the number in the first line is ... (by Enoizat)
October 2017 Pages: 1... 2223242526... 33
  Archived months: [sep2017] [nov2017]

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