General C++ Programming - May 2016 (Page 12)

Jacobi Iterative Method Issue
 
Hi all, Attempting to create a program that uses the Jacobi Iterative Method to solve an 'n'-dimens...
[4 replies] Last: Better than defining the double abs(double ABS) function would be to... (by doug4)
how to change from for loop to while loop
 
#include<iostream> using namespace std; int main() { int length; cout << "Enter the lengt...
[1 reply] : #include <iostream> using namespace std; int main() { int length =... (by tipaye)
Intersection of Rectanges
 
Hello everyone, I am stuck in this assignment where I need to find intersection of squares. So far...
[11 replies] Last: I understand your logics, dhayden. But in my case it is a little diffe... (by nikgun1984)
Program using trees or stacks or lists
 
Hello all. I'm new in this language and I need help to solve a problem. I have to make a program us...
[1 reply] : This is not a homework site. http://www.cplusplus.com/forum/beginner/... (by Thomas1965)
loop will not break
 
Why wont the break statement exit my code the values themselves don't matter but when roomType = 0. ...
[1 reply] : What you have shown us here won't compile. What loop are you expecting... (by Moschops)
delete plz
 
.
[no replies]
Templates and Function Pointers
 
Really scratching my head on this one; Brief Trying to get this code to compile; It fails when I ...
[1 reply] : You do not have a function pointer. You have a pointer-to-member-funct... (by LB)
What is a c++ api
 
i want to make a sprite based platformer in c++ and everywhere i look says i need an api to put spri...
[3 replies] Last: How about using SDL 2.0 graphic library. This site has some good tutor... (by KMagic)
A problem about matrix
 
Hi! I have a homework to do but I can't solve one thing. Homework is about matrix. We ask to user a ...
[1 reply] : #include <iostream> int main(){ int m = { {0,1,2}, {3,4,5}, ... (by ne555)
Task - algorithm problem
 
Hello, I need help solving a problem I have encountered. We have a map NxM filled with '.' ,'#' and...
[4 replies] Last: I think that you didn't understand the problem, I know how to explore ... (by topnik1)
HELP PLEASE!!!!!
 
Problem to solve: The political party in power wants to ensure his victory in the next elections....
[1 reply] : This is not a homework site. We won't do your homework for you. Howeve... (by AbstractionAnon)
Just started linked lists. Need help:
 
I've just started learning linked lists and I'm having trouble with this code: #include <iostream...
[1 reply] : #include <iostream> #include <conio.h> using namespace std; struct ... (by topnik1)
by dkaip
shutdown Mint OS
 
Hello. I am trying to shutdown Mint OS from with a dialog but nothing works. What is wrong? void...
[2 replies] Last: Ok but how a program can shutdown without root privileges? For example... (by dkaip)
Help! Every time I compile it tells me "A function definition is nor allowed here before '{'"
 
The purpose of this program is to illustrate one use of void functions and reinforce use of value re...
[2 replies] Last: Thank you, i'll check it out. :) .. I'm new to C++ so it's not really ... (by cpluspluschick)
by f0xie
Need help with char arrays
 
hey all I can't figure out how to get this working : / if anyone could help it'd be appriciated :) ...
[2 replies] Last: Thanks, works now :)) i appreciate it was such an easy solution haha (by f0xie)
stuck on function pointer
 
I keep getting the same error repeatedly and have tried to fix the second function pointer but no lu...
[3 replies] Last: int(*char_ptr)(int a); char_ptr = pass_char; Notice how int(*char_... (by Ready4Droid)
Beginning C++ Student That Needs Help With A Median Function Programing Challenge :-(
 
Here is the problem: In statistics, when a set of values is sorted in ascending or descending or...
[6 replies] Last: Thank you very much for a proper code. Now I'm just trying to figure o... (by jlbrown314)
Sound library and tutorials?
 
I know it's been awhile since I last posted on here but I have another question. Could someone te...
[no replies]
by pabs8
including boost directory path to compiler and linker library path
 
I've already built the Boost libraries. But I need to add somehow C:\boost_1_60_0 to the compiler i...
[4 replies] Last: Thanks for your kind answer. I'll give this a try again. (by pabs8)
Removing multiple elements and keeping order
 
I have written a program that will remove value in the location as given by the user in my vector; b...
[2 replies] Last: Thank you, I am working on writing the new function now. I believe I s... (by The117Vendetta)
May 2016 Pages: 1... 1011121314... 17
  Archived months: [apr2016] [jun2016]

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