General C++ Programming - April 2015 (Page 21)

Help with class
 
Here are 2 steps in a hw problem for a class. 6. equalDate to compar e the dates of two Appointm ent...
[4 replies] Last: Well how can I put that in bool form? Like something like this: bool ... (by Thanase)
compile error ambiguous symbol for function call
 
The bool function pair value is assigned to boolean variable wpair. The compiler is giving me and er...
[no replies]
by rtk94
Inconsistency across platforms. Need help!
 
Helo all, I am in an introductory programming class, and I am working on a C++ project. The project...
[5 replies] Last: #include <iostream> #include <cstdlib> #include <fstream> //using na... (by JLBorges)
Undefined reference error
 
file :solver02.h #ifndef Solver03_h #define Solver03_h template<typename Function> double...
[5 replies] Last: please help (by xyasmine)
by awkedd
Algorithm too slow?!
 
The program must output the last digit of S=1^4 + 2^4 + 3^4 + … + n^4. This is my code: #inc...
[5 replies] Last: Oh, you're right. Thank you ! (by awkedd)
Why is my Library Management program not writing to file
 
Hi, I am creating a library Management which you can add books, dvds and students to. The books and...
[3 replies] Last: You have a number of problems, I'll deal with them first rather that w... (by kbw)
by na90
Undefined reference
 
Hi, I am doing this coding and I don't know why it came out as "undefined reference" This is the co...
[2 replies] Last: ¿what is your build command? Your project is setup incorrectly, you c... (by ne555)
Passing Parameters As Pointers?
 
This is my code that I have so far and I am not entirely sure what I am doing, I need some help plea...
[1 reply] : Please Do not Doublepost - http://www.cplusplus.com/forum/beginner/161... (by TarikNeaj)
by awkedd
Print square of chars
 
I had to make a program which prints a square like this : **** *##* *##* **** if n was 4 , c was * a...
[3 replies] Last: welcome :D (by shadder)
Dos to unix
 
code that transfer command unix to dos command
[2 replies] Last: I think you mean Cygwin? : https://www.cygwin.com/ (by Computergeek01)
by nte40
Taylor's Series of cosine x and sine x
 
Hi , I've been cracking my head with this Taylor's series problem , im new in c++ and need some help...
[4 replies] Last: Thanks hyperfine , I managed to solved the problem , you are right the... (by nte40)
Array question
 
Am trying to write a program that will accept the data of patients treated in a hospital's four emer...
[7 replies] Last: Tripple Posting is considered spam, and I have all the right to remo... (by Little Bobby Tables)
Using an object in several .cpp files
 
I am creating a Library Management system. And Im having a problem. I have a Main.cpp, Book.cpp, ...
[1 reply] : For using the class or function declared in a .cpp (or .h) you must in... (by LaboPie)
by yj1214
Questions about SFML and OpenGL...
 
So I got into SFML and OpenGL!! and I have few questions. 1. Why do you not explicitly include Ope...
[1 reply] : 1. You don't use opengl code yourself, the library does the calls for ... (by poteto)
simulating a die roll (1,2)
 
#include<iostream> using namespace std; int roll(), rnum; void main() { int i; for (i = 1; i...
[26 replies] Last: Who in sane state of mind would teach global and function scope static... (by keskiverto)
StrStr with pointers
 
Please help me, I'm struggling to wrap my head around pointers and my teacher just gave us a large p...
[2 replies] Last: Thanks TarikNeaj for the videos. Those will be helpful. I just wrote ... (by Accelerator)
Can someone please tell em why this wont work.
 
#include<iostream> using namespace std; int roll(), addOdd(int odd), odd; static int num1...
[6 replies] Last: I edited my code above...hope that helps. (by yj1214)
c++
 
I was just wondering if there is a way to keep the numbers from displaying in the board when the pro...
[3 replies] Last: thanks alot and him rewriting my code wasn't giving me any answers I d... (by ArtisticMess)
CASINO GAME CONFUSION do while
 
HEY EVEYONE!I need some help with this code! It is a craps game and a casino menu the rules for ...
[no replies]
Dijkstras algorithim - show the shortest path problem
 
Hello... I have a problem with showing the shortest path, it calculated the correct distance, but I ...
[no replies]
April 2015 Pages: 1... 1920212223... 28
  Archived months: [mar2015] [may2015]

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