Beginners - April 2018 (Page 7)

Functors
 
https://www.youtube.com/watch?v=shqvSkk8r0M&t=183s Hi guys I am following the tutorial on functors ...
[8 replies] Last: i'm hinting at the compiler to create my Stuff object and then std::mo... (by icy1)
I need help in c++ program
 
I am Beginner in c++ and I want to make this program but I cannot so I want help ---Welcome in ...
[2 replies] Last: What part of it are you currently working on and what is your question... (by nicholascleveland)
Making a table with c++
 
Hi guys, I need to make a table with c++ like this =============================================...
[8 replies] Last: Hello Jack Van Stone, Here is a different approach making use of kesk... (by Handy Andy)
PLEASE HELP ME!!!
 
THIS IS MY ASSIGNMENT: "You must create a "struct" named pets. It must have data members boo...
[4 replies] Last: the function getline takes a string as it's second argument,so you can... (by adam2016)
Implementing methods to move elements from one stack to another ?
 
Hi. I have 3 stacks (bucket1, bucket2, barrel). I want to implement 3 methods that do the following:...
[1 reply] : You'd just have another class to manage Stack(s). Can design it in di... (by icy1)
Soda Machine
 
Hello I need to create a code simulating a vending machine. I need my user to enter .05 .10, .25 and...
[2 replies] Last: By a quick glance, not providing the other functions and only the prot... (by nicholascleveland)
Parsing mathematical statements
 
Hi I'm writing some functions to parse mathematical functions. The below function is a function t...
[2 replies] Last: Hello rozick1, If you want to use a string stream as rjphares suggest... (by Handy Andy)
WIN32 getting last modified date's of specified path
 
So i got it to work on unix, but i really need it to work for windows instead. The code below will g...
[2 replies] Last: For Windows you can use the FirstFirstFile and FindNextFile function: ... (by Thomas1965)
Aha
 
Jjl
[1 reply] : ico.hpp: #ifndef ICO_HPP #define ICO_HPP #include <string> class i... (by Enoizat)
Vector type compatibility issue
 
How do I go around the following Vector type compatibility error ? phung@UbuntuHW15:~/Documents/ta...
[6 replies] Last: To get around that error you need to define an actual struct, you cann... (by megatron 0)
LNK2019 Error. Using classes and arrays to create a cash register database DUE IN A FEW HOURS :(
 
I have an assignment to create a data base for a cash register. We are eventually supposed to use tw...
[2 replies] Last: It looks like InventoryItem.cpp isn't propperly or at all added to you... (by coder777)
C++ airline flight
 
So I was given this problem and I'm not sure how to do the following. Could someone help me with thi...
[8 replies] Last: Gosh, that's amazing! It's the closest to what I think the problem ask... (by DigiLei)
by occvbs
NEEP HELP!! Income tax caculator
 
The code test show no error, but the result always come back zero. What did I do wrong? Can anyone...
[2 replies] Last: I got it! Thank you very very much!!!! (by occvbs)
Bubble sort not working
 
The 'bubbleSort' function is meant to sort all the rows in the 'studentRecords' 2D array. However, i...
[1 reply] : You need yet another loop outside of the usual double loop for bubble ... (by tpb)
Encryption/Decryption program issue
 
I think the getline on line 17 and 67 is incorrect because the program shows both the "Enter a messa...
[3 replies] Last: Is it because you're reading choice with >> ? That leaves the newline ... (by tpb)
Revision binary Tree
 
Hey guys I am doing some revision on binary trees I found in an old book of mine,this is quite embar...
[3 replies] Last: although the code still works for some reason even without the keywor... (by tpb)
c++ need help moving cursor to edit command line graphics
 
Hey, I'm pretty new to coding. Since system("cls") causes my console to flash as it continually dele...
[no replies]
Dynamic Array Curiousity
 
I'm learning about Dynamic Arrays and I'm getting to programs that apply user input with them and ha...
[9 replies] Last: I'm wondering why would anyone implement a dynamic array over a vecto... (by mbozzi)
Leap year question
 
Hello. Everything is working fine except for the fact that I receive only the correct day when I ent...
[2 replies] Last: @tpb So I need to pass by reference: int getCenturyValue(int &year)... (by sethfrias)
reading txt with2D array then pass it to function
 
#include <iostream> #include <fstream> #include <string> using namespace std; int main() { ifstrea...
[7 replies] Last: the data file contains: Data.txt: 1 2 3 4 5 6 7 8 9 11 12 13 14... (by pistol kit)
April 2018 Pages: 1... 56789... 25
  Archived months: [mar2018] [may2018]

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