General C++ Programming (Page 4)

My output are only 0's?
I need values, but I'm not sure how? struct Time { int days = 0; int hours = 0; }; ...
[1 reply] : So you know that n is uninitialised, and thus some random value, but y... (by Moschops)
counting a divisible number in array
Hello, I need to write a program that will create a 2d array and then allow the user to input a numb...
[2 replies] Last: Thank you tipaye for your help and time, and for posting your own code... (by bluewizzard)
by anors
Sorting list usind STL
//In subject should be Sorting list using STL. I have list and I want to sort them in the ascending...
[5 replies] Last: On the first line you are attempting to construct a temporary list fro... (by cire)
Temperature Conversion
Hi! So I am working on a Final Program for a C++ class (you can expect other topics related) and I a...
[2 replies] Last: Thank you so much, I hate that it was that simple! I don't know if you... (by Stressed)
Array exercise
[3 replies] Last: > I'm not being able to get the last occurrence That's because you ar... (by ne555)
by setia
C++ to Pseudo code
Help me please, I don't really get how to write this into pseudo code. I need to submit this evenin...
[1 reply] : Double Post: Please,... (by chicofeo)
how to represent Long multi-line string
Is there anyway to avoid colons in every line? I've seen something like const char* text = LR" ....
[2 replies] Last: thanks a lot! (by sunsflower)
Could someone help me with this... im really struggling with this one.
Your band is playing a gig and has come up with a list of songs, which you have st...
[1 reply] : What have you coded so far? (by chicofeo)
Problems in overriding CPropertySheet functions
I was previously using VS2010 and Windows 7, and was able to create and use Property Sheets with var...
[no replies]
Newbie Here
Hello :), I am fairly new to C++ and I was wondering if anyone could help me with a small project I...
[no replies]
Deleting Spaces from Cstring and returning number deleted (pointers, not array notation)
I am completely lost on how to finish this particular build. I have been tasked with building a func...
[2 replies] Last: Sorry for the late reply! I was able to figure it out with your help! ... (by Imhotep)
Object Files Slow?
Hello, I've run into a strange "bug" today. I'm writing a simple vector library for C. I mostly wan...
[3 replies] Last: Thanks for the help! -flto was exactly what I needed. (by MaxterTheTurtle)
- Hello, im making a calculator that uses no cmath library, please help me, im supposed to have powe...
[5 replies] Last: Hahahah, nice. And... Can i ask you something? do you have windows, m... (by motyas)
Sudoku Solver with Backtracking
Hello everyone, I am working on a sudoku solver program, and I am having a little trouble. I have be...
[6 replies] Last: Thanks for the tip. I am only implementing the backtracking as a stepp... (by haglerchristopher)
Inserting and Extracting data from **nodes
// I have to put value in character and frequencies in a following array of objects size two. But ru...
[no replies]
Overloading operator for vector class
Hi, I'm working on a dictionary where the user inputs a word and the program looks up it's definitio...
[2 replies] Last: Oh missed that. I still have errors though. LNK1169 one or more multi... (by Jarreno)
by modkip
defining int with variable name
Hi, i am trying to make a program that can set a variable by a non-static name, something like t...
[5 replies] Last: > ... and then there has to be an int with the name "test" This can b... (by JLBorges)
Need help with output - Menu item number will not increase and doesn't display correctly after first iteration
My code: (Line 58-62 is the problem) #include<iostream> #include<fstream> #include<iomanip> #inclu...
[1 reply] : You don't ever set the value of menuItemType::count . For every one ... (by MikeyBoy)
Help with Arrays, Menu, and Sorting Functions
So, I have done projects with all of the following, and now it is my time to compile them all togeth...
[5 replies] Last: Firstly, I'd strongly recommend you adopt a sensible, consistent inden... (by MikeyBoy)
by dkaip
finding a unique string
Hello. I want to make a program that runs in linux and windows, finding a unique string because of ...
[2 replies] Last: I mean the following. Opening the program examines the hard drive c: a... (by dkaip)
Pages: 123456... 26
  Archived months: [mar2016]

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