Beginners (Page 51)

anyone , help.
7.37 (Find the Minimum Value in an Array) Write a recursive function recursiveMinimum that takes an ...
[19 replies] Last: everything is working I'm not so sure about that. You had a chanc... (by keskiverto)
by bd08
find min, max, median and mode from a file that contains 40 numbers
Hello everyone, I have trouble doing this homework. I'm supposed to read a file that contains 40 ...
[3 replies] Last: In calcAverage() , sum in uninitialized. Set it to zero before ent... (by dhayden)
by Nezar
Tell me why
Hi, I have a question about the line marked with a comment in the code below. why did author use ...
[1 reply] : The method used consumes the entire line that the user enters, includi... (by dhayden)
Help with a function
This game is mostly working but I think I have an issue with my checkwinner function, it is returnin...
[6 replies] Last: line 119 - case 'T' - if no one's won the game yet, don't you want to ... (by wildblue)
Huffman tree builder
I wrote a post on a similar topic yesterday about my destructor for my Huffman tree class program. ...
[1 reply] : At line 1, nodes is a list of Btrees. one = &nodes.front(); nodes... (by dhayden)
by Befall
Back to C++, need input on how to structure stuff
Hey all, After a few years of not working with it much, I'm getting back into it, mainly for a fe...
[2 replies] Last: Putting the definition (the code) of a method inside the class makes t... (by dhayden)
by Ganado
Create a file, read from it, then write to it
Hi, I'm learning some stuff about file streams. What is the best way to create a file (if it doesn'...
[4 replies] Last: For a config file, that would always clear the file before trying to r... (by Ganado)
Want to buy something else? Yes/No
I need a loop for this, but i don't know how to put it. #include <iostream> #include <fstream...
[5 replies] Last: Okay, in that case then, if you want to enter another product name we ... (by Kevin2341)
Parsing a large number into individual ints
I have a text file with a large number and I want to store each individual digit in a vector. for...
[5 replies] Last: I would tackle this program by simply reading the input in as a string... (by Kevin2341)
Classes. Friends errors
For some reason I am getting the following errors when compileing, even when I have the friend decla...
[2 replies] Last: OH, waw really stupid error. Thank you. I just took a brake from c++ s... (by Xp3rtHamm0r)
Binary search tree with iterator in C++
Hi, could someone please provide me a code of binary search tree template with implemented iterator ...
[no replies]
stream problem
In this code when the user presses 1 they are prompted to enter a name for a file, after they enter ...
[5 replies] Last: Perhaps you really wanted a loop something like this: #include <iostr... (by Chervil)
Program being stopped while reading information
Program being stopped while reading information Hello, I'm kind of new in C++ programming. I'm tryi...
[2 replies] Last: Oh man, thank you so much for that awesome reply! You answered even th... (by Jmromeroes)
by venros
C++ GUI - QT - Expectations
Hi guys, Im learning QT atm, and was wondering how realistic is it that I will be using this at w...
[3 replies] Last: Guess Imma stick it out and learn it, its really easy to use and Im qu... (by venros)
Forward Declaration vs Function Prototype
Hello, I am wondering what is the key difference between these two terms listed in the title.
[2 replies] Last: okay thank you (by PROGR4MM3R)
Sorting Names Alphabetically
I've been assigned to write the following function: void sort(vector<string>&, char); – Sorts ...
[2 replies] Last: Another way to do it, is use a sort algorithm that compares the two st... (by IWishIKnew)
Search in file
Hi, I am wondering how to search through a text file for one specific word and display what is after...
[6 replies] Last: ...And also is not compatible with yours file format. So for the sake... (by MiiNiPaa)
by Auroch
Code Explanation
Hello, I have the following working code. It creates a text file with words and count the number of ...
[3 replies] Last: In line 14. (by keskiverto)
File reading problem
I'm trying to get this program to read from a file, populate a string array and capitalize all data....
[2 replies] Last: I'm not sure I understand. The for loop on line 33 is supposed to mov... (by jynx678)
Avoiding memory leaking when implementing a binary search tree
So I have a binary search tree with something like this #include <iostream> #include <string>...
[3 replies] Last: Thanks, you guys are the best (by Bubiche)
Pages: 1... 4950515253... 91
  Archived months: [may2014]

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