Beginners - November 2015 (Page 10)

Binary Tree Sort
 
Hello everyone, I have followed the Wikipedia Binary Tree Sort algorithm to solve it and this is what I came up with. Issue: The issue is that in main I do...
[4 replies] Last: Now you have declared methods Tree::insert, Tree::printInOrder() and T... (by dhayden)
by hdyh
Queue using array
 
i have tried to change the code, but still can't display deQueue and show in the output. Is there a mistake in the program ? please help me #include <io...
[no replies]
by hdyh
Queue problem
 
There something wrong in the code. I can enter the number, but i can't remove and show the number. Pleas help me to solve this code. TQ #include <iostream>...
[4 replies] Last: i have tried to change the code, but still can't display deQueue and s... (by hdyh)
by boxsta
Matching numbers in two arrays
 
I'm working on some Uni tasks and I've made it 2 thirds of the way through the following but am stuck on the final part. •Asks the user to enter 5 different ...
[9 replies] Last: :) (by closed account 48T7M4Gy)
New C++ beginner
 
I want to be a C++ programme very much! What should I do first? I have graduated a High School of Economics. But have no programmer practice.
[no replies]
sum/avg/min/max and even or odd
 
I'm having a bit of trouble with an assignment. I need to use while loop to obtain 10 numbers. Then I need to output whether each number is even or odd, and ou...
[9 replies] Last: Thank you to everyone that posted, I finally got it (by verbrendos)
For loop multiplication
 
Hey guys, I'm trying to write a program where the user inputs 8 numbers and the program, using a FOR LOOP, multiplies those 8 numbers and displays the result. ...
[7 replies] Last: Thanks so much for the help mates! (by nickclevelandx)
sort algorithm
 
hey guys am trying to arrange my values from smallest to biggest using vector....if the value in position 0 is greater than the value at position one than swap ...
[1 reply] : for(int i=0; i<num->size(); i++) //last iteration: i=size-1 {... (by ne555)
Cash Register program load data function
 
I have this homework assignment that has me a little lost. I have been working on this assignment writing my code, erasing, rewrite, repeat etc. Here are the in...
[2 replies] Last: Adding to this comprehensive advise: Here is the tutorial page that h... (by Hirokachi)
help with avl tree
 
i try to write a code to balance the BST automatically. first,it works correctly but after few changes i made. the find_imbalanced_node function breaks down con...
[1 reply] : /////////////////////////////////////////////////////////////////////... (by mohammedawni)
Menu Driven Program
 
Hi, I have managed to get my program to work, and it looks great. But the output is not exactly what I want. In the print function, the loop seems to be repea...
[8 replies] Last: The problem is in the function getData(). counter gets incremented onc... (by Thomas1965)
by st4evr
Help With Program To Input/Output File And Find String
 
Hello Everyone! Beginner C++ student here, first ever programming class. Currently learning string functions and input/output files. Trying to put a program to...
[1 reply] : You're only passing one parameter into convert, but you've told your c... (by mutexe)
ADDING NUMBERS TO TOTAL
 
My question is.. tell users to enter 5 numbers and output the sum and average of those numbers. I need to use only while loop. PLEASE HELP ME... due tmrw...
[1 reply] : Please don't double post - http://www.cplusplus.com/forum/beginner/179... (by TarikNeaj)
SUM OF NUMBERS CHOSEN BY USER
 
I Cant find anywhere.. please help me Its NOT like adding incrementing nums (ex. 1+2+3+...) or (243 = 2+4+3) NOT This Its like EX. pls enter a num : 4 pls en...
[2 replies] Last: omg I'm kind of getting it.. but.. like how do you label those..? (by happenings95)
fstream problem
 
Write a program that reads in a C++ program from a cpp file, and prints all non-keyword identifiers into a text file. An identifier is a series of characters co...
[no replies]
c++ learning
 
Ive been having alot of trouble learning c++ from the books so i recently tried looking for alternative options and on amazon and a few other web sites. I found...
[1 reply] : There really is no need to spend money on learning C++. The internet i... (by awesomeprograms)
I need help with a hw assignment!!!!
 
Your company has set up a contest to raise money for a local charity. Each department is selling boxes of cookies, with the department that sells the most boxes...
[1 reply] : Please, use code tags (the <> formatting button) when posting code. It... (by chicofeo)
array of even numbers
 
hi guys, my program displays a set of even numbers ranging from 1 to 100 with their square roots, cubes and reciprocals. pls i need a source code for comparison...
[1 reply] : Please do not double post: http://www.cplusplus.com/forum/general/179... (by chicofeo)
Trouble with OpenGL with SOIL
 
Side Note: I downloaded the SOIL file, went into the VC8 solution, then compiled it in debug and release. Took the debug SOIL.lib and placed it in the lib fold...
[3 replies] Last: nothing sticks out looking at it, but I've never seen a shader loaded ... (by mgoetschius)
pointers help...
 
Hey guy's Little confused here on pointers. I am trying to finish this assignment here and I can't remember what I have to do now. I thought I had it all figure...
[3 replies] Last: I understand that. here is the problem I can only use c-style string. ... (by Hidden Squid)
November 2015 Pages: 1... 89101112... 53
  Archived months: [oct2015] [dec2015]

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