General C++ Programming - October 2015 (Page 17)

Click a button to create or show a second window.
 
I would like some help on the topic. How can I create a window when I click a button or maybe create two windows in the beginning of the program then immediatel...
[4 replies] Last: Yep, and ShowWindow() will let you hide or show windows as you pleas... (by LB)
Recursion for Hanoi
 
I am asked to do a exercise which is about recursion in C++ for the Hannoi Tower. The skeleton code is given like this:  void move(int disc, char from, char ...
[no replies]
by ay2306
program errors... help
 
struct userdetails{ char username ; char password ; char name ; char dob ; }user1; int login(); int login(){ char user ,check; char pass ; i...
[2 replies] Last: Also, when listing the errors, withholding the complete error message ... (by MikeyBoy)
else statement returning bad float value
 
I have the following code snippet unsigned int j = level2.get_reads(); unsigned int k = level2.get_read_misses(); unsigned int l = level2.get_wri...
[2 replies] Last: That did it. You guys are awesome! Bishop (by bishoposiris)
by GabeJ
Write a program that gives and takes advice on program writing
 
#include <iostream> #include <fstream> #include <cstdlib> using namespace std; void output_to_screen(ifstream& source_file); void write_to_file(ofstre...
[1 reply] : And? (by MikeyBoy)
by Karina
TIC-TAC-TOE Debugging
 
I need help debugging this code. #include <iostream> #include <vector> #include <iomanip> #include <string> using namespace std; // Change these ...
[1 reply] : I need help debugging this code. You might start by telling us whate... (by cire)
I need help writing an implementation to the class definition. PLEASE HELP.
 
#ifndef COMIC_H #define COMIC_H #include<iostream> #include<string> using namespace std; class ComicBook { friend ostream &operator << (ostream &,...
[1 reply] : Please edit your post and use code tags - http://www.cplusplus.com/art... (by TarikNeaj)
How to display checkers board/pieces?
 
I am trying to develop a checkers board game as a side project while I go through my schooling, however I have never really ventured past developing a console a...
[2 replies] Last: SDL is pretty decent- I use that for my c++ game projects, QT is great... (by wizebin)
Programming Work for C++ Class
 
Hello everyone, I am currently working on an assignment for my C++ course, and cannot seem to get my code to run properly. I am sure the mistake is a simple one...
[1 reply] : http://www.cplusplus.com/forum/general/113904/#msg622050 your prototyp... (by ne555)
Infinite pi program
 
Hi! I have an assignment to write a program for the infinite series of pi: 4 - 4/3 + 4/5 - 4/7 ... I have most of the assignment complete, but it gives the w...
[1 reply] : http://www.cplusplus.com/forum/unices/14485/ (by pearlyman)
Flowchart Help (1,2)
 
Hi guys, can you help me make a flow chart for these programs. Thank you! http://www.2shared.com/file/pP-PGFB3/MP2.html http://www.2shared.com/file/6QFeWhs...
[20 replies] Last: No that's a program. What u need is a flowchart abu... (by closed account 48T7M4Gy)
overloaded assignment opperator.... WTF?!?!?
 
Ok, so I am in data structures class. On current program I have to "Your assignment is to build a complete List class using the linked-list implementation ...
[3 replies] Last: ? (by closed account 48T7M4Gy)
by JVarns
Nim Game
 
After I type in a number, the program outputs the computer and then does nothing else. I am not totally sure what is the problem. I am assuming somewhere in the...
[7 replies] Last: First of all, in the beginning, you should clarify to the player how m... (by TarikNeaj)
to get the absolute value
 
How can i get the absolute value of a double type value???
[1 reply] : http://www.cplusplus.com/reference/cmath/fabs/ (by integralfx)
Frunction
 
how can I do this in C++ I know how can I make functions , classes and object of class , but I can not make the operation the operation is : 1- function...
[7 replies] Last: @dhayden: thank you to help me. (by programming02)
what can I use to type and compile my code?
 
well basically im just starting c++ at university. I want to work on my projects off campus but I dont know what software to use. i cant access the programs we ...
[2 replies] Last: Visual Studio 2015 Community Edition   Code::Blocks if you do not ... (by MiiNiPaa)
ADT linked list not working
 
I am using a linked list to make a to do list. I am having trouble with by Delete function in my implementation. The delete function is being passed a string da...
[5 replies] Last: If your Node had a constructor, it would remove all that initializatio... (by kbw)
by smb15
Help with arrays and pointers
 
Hi, so I am having some trouble with this program we have to make. This is the description of what we have to do, any help is greatly appreciated. Thank you. 1...
[18 replies] Last: I still don't quite get it but thank you for the help. (by smb15)
time format printing
 
How to print a particular time in HH:MM format where HH means no. of hours and MM means no. of minutes? For eg.: if the time is 3 a.m. then it should be prin...
[1 reply] : #include <iostream> #include <ctime> int main() { constexpr size... (by MiiNiPaa)
I am a bit confuse here how to begin coding.
 
Hi Guys . I am new in C++ programming . I have taken c++ subject and my lecture ask me to solve integer matrix as show below . all I am asking to give me some h...
[1 reply] : Was all that code imposed on you or did you write it all yourself? (by kbw)
October 2015 Pages: 1... 1516171819... 27
  Archived months: [sep2015] [nov2015]

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