General C++ Programming - September 2016 (Page 10)

by dietzj
Looping function?
 
I'm new to C++ and currently taking an intro to programming class in school and am currently struggl...
[4 replies] Last: If you're going to use limits , don't forget to do the same thing for... (by mbozzi)
My class with overloaded constr requires default constructor while second donesn't
 
My class Game with overloaded constructor Game(std::string); doesn't require default constructor. Wh...
[2 replies] Last: Thank you! (by Putarda)
Need Help With Single Peg Hanoi Tower
 
So I'm working on a program that uses a single peg and has disks on it with different diameters, muc...
[5 replies] Last: You have it return nothing sensible now. The a and b are uninitializ... (by keskiverto)
by ayraj
Merge Sorting with Linked list
 
I done my project to add subjects and sort them.Im trying to sort them with merge sort but still its...
[2 replies] Last: Look at the code sample under " The behavior of this function template... (by keskiverto)
Value returning function issues
 
I have been going around-and-around with this and can't seem to figure out what I'm doing wrong. I'...
[8 replies] Last: I have finally got this fixed and working properly. Another question ... (by joekamel12)
Strings/search for chars/separator
 
Write a program that allows a user to type in tabular data similar to a CSV file, but instead of u...
[2 replies] Last: Thank you, I've been away, but I took inspiration from your post while... (by Willo123)
Helpp!!!
 
hey everyone, so i need help. we're suppose to write a program that reads a file of odd values and ...
[5 replies] Last: Thank you, i had to rewrite everything. (by tweaktwe)
Multidimensional array sorting
 
// Plokstumoje duoda N tasku pagal Y kordinate reikia surikiuoti #include <iostream> #include...
[3 replies] Last: Thank you both, it did work and im glad i asked for help :) (by Tomheza)
Table test.no_such_table doesn't exist
 
Hello everyone. Please help me to solve my problem with MySQL. I get mysql error message: Table tes...
[5 replies] Last: Did your SQL problem resolved? what did you do? (by shadder)
by kidush
Help with vectors!!
 
Hi guys, I really need help. I need to print in the screen from my file input.txt the students names...
[2 replies] Last: It could be like this: #include <vector> #include <iostream> #include... (by fcantoro)
by m7md65
checking code
 
#include "stdafx.h" #include <iostream> #include <string> using namespace std; int main() { ...
[10 replies] Last: Is this correct? 1. Does the code look correct? 2. Does the code com... (by Chervil)
Help with fstream into an array of structs
 
Hello, I've been working on a program to collect data from a txt file into an array of structs. ...
[2 replies] Last: the number initial int is only reading the 3 not the proceeding 2 0s ... (by Chervil)
Can someone please help me program this.
 
Your program will compute values of a formula that expresses y in terms of x. The formula is: ...
[2 replies] Last: i will i was just getting frustrated. (by marsdef12)
Using input from main function in another
 
I am trying to create a program that uses input from the main function in another function. I have a...
[1 reply] : http://www.cplusplus.com/doc/tutorial/functions/ (by SamuelAdams)
How to use atexit
 
I need to use "atexit" to cleanly terminate the execution of a program in case it is aborted. My pro...
[8 replies] Last: http://www.tutorialspoint.com/c_standard_library/c_function_atexit.htm (by ScottScott)
One more string and char related question
 
#include <iostream> using namespace std; int main() { //cout << "Ivesk du string tipo...
[6 replies] Last: Have you tried typing in std::string into your favorite search engine?... (by jlb)
help with homework involving if statements
 
I'm having trouble with my homework in my intro to programming class. "Mark Daniels is a carpente...
[2 replies] Last: Thanks a lot AbstractionAnon. I'm glad it was a quick fix haha. I'll b... (by logdog9191)
confusion with snippet
 
Hi, I am confused about what data structure this code snippet is. Can someone disambiguate? HERE **...
[5 replies] Last: @ doug4 - Good catch on operator + not being a member function. I mi... (by AbstractionAnon)
Hailstone sequence
 
I cant figure out how to return the largest number in a hailstone sequence while using a loop and no...
[3 replies] Last: The first advice is: post a compilable code (with code tags, see http:... (by fcantoro)
program display nodes
 
Hello,i has create the program which display nodes with links,how to fix it,so i can display in with...
[no replies]
September 2016 Pages: 1... 89101112... 19
  Archived months: [aug2016] [oct2016]

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