Beginners - October 2018 (Page 14)

Maze solver using stacks and Queues
 
Hello, I have a Data structures project due and it's about developing a Maze solver that will solve...
[6 replies] Last: @nuderobmonkey Thank you so much for your great help! (by maqalmulla)
Adding a "Node" instance to a linked list
 
Hello! I am very new to C++. I'm stuck on a problem and am in need of assistance; so help is greatly...
[5 replies] Last: You can skip the append(), unless your teacher requests it. There mus... (by keskiverto)
My program stops and idk why(tictactoe)
 
I cannot understand why this program stops working, probably in the first loop of do while when it t...
[2 replies] Last: Thx :> Found the mistake, checkWin was just an infinite loop... Gotta ... (by BonJowi)
by ValDe
Vectors Menu Switch
 
I need help making a menu using vectors this is what I have so far, I don't know how to combine it....
[2 replies] Last: > I need help making a menu using vectors this is what I have so far, ... (by JLBorges)
Sorting Linked List by Last Name
 
I'm trying to sort my linked list by students' last name (sortLastName function), and it's not worki...
[2 replies] Last: When i run the program it compiles, but does not sort the list by last... (by mysiarobin1987)
sorting strings
 
This is what I have, string a; string b; string c; cout << "Please enter a string."; cin >> a; cout...
[1 reply] : #include <iostream> #include <string> #include <algorithm> // for std... (by JLBorges)
struct array type problem
 
why my program will be crashed, although I have allocated the corrected capacity to pointer a alre...
[5 replies] Last: coder77 thx! (by toby1a05)
need help improving matrix calculator
 
Hello everyone, I coded recently this matrix calculator https://github.com/ronenp/MatrixCalculator I...
[10 replies] Last: It wasn't the GCD, I changed the code to this and now the calculation ... (by ronenp88)
Help Me C++
 
Write your question here. I declare int age; i want to accept input that is just 0+ but wh...
[1 reply] : The problem occurs because you are inputting a char into an int. You f... (by Too Explosive)
Help regarding a drill by Bjarne Stroustrup
 
Trying to solve a drill in the book Programming Principles and Practice Using C++ by Bjarne Stroustr...
[5 replies] Last: @Enoizat Thanks for the elaborate help. (by bagrarajeev)
by gjur99
Please help me!
 
Hello! i wrote this code as a personal project, but i dont know how to do the following: In the star...
[1 reply] : You would use a if statement such as pseudo if y or n or Y or N els... (by SamuelAdams)
Answer to the test case
 
I have N integers i need to tell the number of ways to pair up these numbers into N/2 groups. Each n...
[4 replies] Last: N is always even so how can it be 5? let it be 6 so, 2 2 2 2 2 2 Tot... (by eleven11)
how would i change the else if statement below into a switch statement
 
if (membership != 'S' && membership != 'P' && membership != 'E') cout << "Please enter S(tandard...
[1 reply] : You could put switch statements inside of a switch statement. Or if st... (by Manga)
digitsum minimize
 
You are given positive integers N and D. You may perform operations of the following two types: a...
[3 replies] Last: mee too (by Dev8213)
Calculate and finding divisions in company having highest sale
 
I am having an assignment of needing to create a code to calculate the sales of different divisions ...
[1 reply] : I just can't figure out the process and how to write such a code. Re... (by Enoizat)
Need help
 
I have a question hope I can explain it. Let's say I have 3 cars right. And I'm using for loop. I n...
[11 replies] Last: Oh it supposed to be out of loop. I finally did it. Thank you very muc... (by DdavidDLT)
Why can you use C code with C++
 
hi guys, the title says it all but I'll elaborate a little,how is it possible to use C code in C+...
[2 replies] Last: See https://en.cppreference.com/w/cpp/language/language_linkage Note ... (by JLBorges)
Won't read input file
 
Code executes, but does not pull info from input file? #include <fstream> #include <iostream> #...
[9 replies] Last: I offer this for some thought. How do you know if the input files are... (by Handy Andy)
Calling non static function with function pointer syntax
 
Hello i have problem about the syntax how to call non static member function using function pointer....
[1 reply] : > how to call non static member function using function pointer. to ca... (by ne555)
i wrote this code but it is not giving my desired output
 
i want to draw this pattern 1 2 3 4 5 1 3 5 7 1 4 7 1 5 1
[5 replies] Last: i tried hard nbut couldn't understand how to print 7 Printing is so... (by MikeyBoy)
October 2018 Pages: 1... 1213141516... 28
  Archived months: [sep2018] [nov2018]

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