
please wait
by hans4354
Jacobi Iterative Method Issue
|
Hi all, Attempting to create a program that uses the Jacobi Iterative Method to solve an 'n'-dimensional A.x=b system (which I can then base Gauss-Seidel progr... |
May 10, 2016 at 5:22pm
[4 replies] Last: Better than defining the double abs(double ABS) function would be to... (by doug4)
|
by vanessa93
how to change from for loop to while loop
|
#include<iostream> using namespace std; int main() { int length; cout << "Enter the length of the hollow square\n"; cin>>length; for(int i=0; i<l... |
May 10, 2016 at 4:38pm
[1 reply] : #include <iostream> using namespace std; int main() { int length =... (by tipaye)
|
by nikgun1984
Intersection of Rectanges
|
Hello everyone, I am stuck in this assignment where I need to find intersection of squares. So far I created a vector of squares( there are only 3 squares nec... |
May 10, 2016 at 2:42pm
[11 replies] Last: I understand your logics, dhayden. But in my case it is a little diffe... (by nikgun1984)
|
by NexusOnee
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 using trees or stacks or lists, I don't have to use combinatio... |
May 10, 2016 at 9:38am
[1 reply] : This is not a homework site. http://www.cplusplus.com/forum/beginner/... (by Thomas1965)
|
by Andrewcen16
loop will not break
|
Why wont the break statement exit my code the values themselves don't matter but when roomType = 0. I know they are equal i displayed it. The loop won't break. ... |
May 10, 2016 at 9:07am
[1 reply] : What you have shown us here won't compile. What loop are you expecting... (by Moschops)
|
delete plz |
. |
May 10, 2016 at 2:31am
[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 try to call the instance method on the object, for some reas... |
May 9, 2016 at 11:01pm
[1 reply] : You do not have a function pointer. You have a pointer-to-member-funct... (by LB)
|
by SlothUchiha
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 sprites and c++ code together but i dont know what one is or how... |
May 9, 2016 at 9:59pm
[3 replies] Last: How about using SDL 2.0 graphic library. This site has some good tutor... (by KMagic)
|
by Ermanrr
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 matrix. Then we should scan the matrix by 3x3 matrix an summ... |
May 9, 2016 at 8:23pm
[1 reply] : #include <iostream> int main(){ int m = { {0,1,2}, {3,4,5}, ... (by ne555)
|
by topnik1
Task - algorithm problem
|
Hello, I need help solving a problem I have encountered. We have a map NxM filled with '.' ,'#' and one 'x'. '.' are passable fields '#' are blocks 'x' is t... |
May 9, 2016 at 7:57pm
[4 replies] Last: I think that you didn't understand the problem, I know how to explore ... (by topnik1)
|
by kaledandres
HELP PLEASE!!!!!
|
Problem to solve: The political party in power wants to ensure his victory in the next elections. Therefore you want to have a database of their supporters t... |
May 9, 2016 at 6:57pm
[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> #include <conio.h> using namespace std; struct link{ ... |
May 9, 2016 at 6:28pm
[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 shutdownLinuxDialog::OnAbout(wxCommandEvent &event) { w... |
May 9, 2016 at 6:09pm
[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 returning functions. The program will function as a calcul... |
May 9, 2016 at 2:44pm
[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 :) #include <iostream> #include <cstdlib> #include <c... |
May 9, 2016 at 1:19pm
[2 replies] Last: Thanks, works now :)) i appreciate it was such an easy solution haha (by f0xie)
|
by technologist
stuck on function pointer
|
I keep getting the same error repeatedly and have tried to fix the second function pointer but no luck. Would appreciate some help here. #include<iostream> ... |
May 9, 2016 at 12:28pm
[3 replies] Last: int(*char_ptr)(int a); char_ptr = pass_char; Notice how int(*char_... (by Ready4Droid)
|
by jlbrown314
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 order, its median is the middle value. If the set contains an... |
May 9, 2016 at 11:48am
[6 replies] Last: Thank you very much for a proper code. Now I'm just trying to figure o... (by jlbrown314)
|
by PocketTNT
Sound library and tutorials?
|
I know it's been awhile since I last posted on here but I have another question. Could someone tell me of a good sound library and tutorials on how to use it... |
May 9, 2016 at 2:32am
[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 include paths; I'm using VS 2015. I also need to add another... |
May 8, 2016 at 10:32pm
[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; but, I misunderstood what I needed to do with my function. I... |
May 8, 2016 at 8:57pm
[2 replies] Last: Thank you, I am working on writing the new function now. I believe I s... (by The117Vendetta)
|