
please wait
by kalberti32
HELP PLEASE!
|
For my c++ class we are to find the coast altitude and burnout altitude of two rockets. We are required to use the specific function prototype. When I run the b... |
Mar 23, 2016 at 9:05pm
[1 reply] : Do not doublepost. Other thread: http://www.cplusplus.com/forum/beginn... (by keskiverto)
|
by michaelsilva
Compilation never ends
|
I'm a c# developer and i'm trying develop a finite state automata in c++ but the member function chaining is causing compilation never ends. The project can be ... |
Mar 23, 2016 at 2:45pm
[4 replies] Last: It works with g++ -std=c++11 clang generates the same binary with 14... (by ne555)
|
by Mathes
:: without namespace
|
Hello, recently I saw the following compiler error error: ‘::main’ must return ‘int’ . That reminded my that long ago I wondered why sometimes yo... |
Mar 23, 2016 at 2:18pm
[2 replies] Last: Thank you very much! Not only do I now understand, I also learned som... (by Mathes)
|
User integer and character Validation |
Okay so now every time I run my program i try to check to see if i enter the same seat twice it displays the message but doesn't count it towards the overall sa... |
Mar 23, 2016 at 9:47am
[1 reply] : Hello, you call getData to receive the row. Then you change classCtr ... (by Mathes)
|
by raiiiny
Help with Nested Loops
|
I'm having trouble with my program and the nested loops. I can't seem to get it to output to the text file correctly. It is only outputting the last quiz result... |
Mar 23, 2016 at 9:22am
[3 replies] Last: need not to create the new loop inside that loop only u can do it af... (by sylphsang)
|
by Kubani
Defining a vector with the at least size
|
Hi, By reading the following drill I see that I should define a vactor like this: #define vector Vector class vector { int* p; public: /* ... */ ... |
Mar 23, 2016 at 8:25am
[10 replies] Last: Try: http://herbsutter.com/gotw/_100/ (by keskiverto)
|
by susu5
linked list
|
I have to write a function that takes linked list of items and deletes all repetitions from the list. but I have some errors. can you help me with the code. thi... |
Mar 23, 2016 at 5:57am
[1 reply] : What error are you getting? compilation or run time error. Looks like ... (by sylphsang)
|
Pass by referenct function- need help |
. |
Mar 23, 2016 at 5:18am
[1 reply] : a == x1; b == x2; c == t; should be like a =x1; b = x2; c = t; == i... (by sylphsang)
|
by technologist
loop issue
|
When I run this in my Eclipse IDE it goes into an infinite loop printing nothing. If I run it in c++ shell on line, it performs what it is directed to do (outpu... |
Mar 23, 2016 at 5:04am
[3 replies] Last: It's an old bug (status 'WONTFIX' for nine years and counting) in ecli... (by JLBorges)
|
by james87and
Cant figure out whats wrong
|
I cant figure out what I did wrong. Im pretty new to this #include <iostream> using namespace std; int main() { int c = 0; if ( ( c = cin.get(... |
Mar 23, 2016 at 4:29am
[3 replies] Last: PS next time use code tags. http://www.cplusplus.com/articles/jEywvCM... (by SamuelAdams)
|
by jhacob40
Optimized Bubble Sort
|
Can someone help me to modify this bubblesort? #include <iostream> #include<conio.h> using namespace std; int main() { int size,x,y; cout << "H... |
Mar 22, 2016 at 11:54pm
[5 replies] Last: the best way to optimise bubble sort is to drop it and use another alg... (by ne555)
|
by Xriuk
Overwritten virtual does not get called as expected
|
class A{ public: virtual void func(); }; class B : public A{ void func(bool f = true); }; A* var = new B(); var->func(); // This should call B's fu... |
Mar 22, 2016 at 11:09pm
[5 replies] Last: http://stackoverflow.com/questions/411103/function-with-same-name-but-... (by keskiverto)
|
by buddha87
Will socket get the forwarded IP packets?
|
If I configure the ip forwarding in linux, e.g: forward the IP 192.168.2.1/24 to 192.168.3.1 Then my socket is binding with 192.168.3.1. In this case, will ... |
Mar 22, 2016 at 9:49pm
[no replies]
|
by Indianna32
several different pivots in quicksort
|
I have been working on this for the past little while and have come to a point where I am unsure how to fix. The program is supposed to take 3 separate files te... |
Mar 22, 2016 at 8:14pm
[1 reply] : int median_partition(int* arr, int start, int end) { int x=arr ,... (by Indianna32)
|
by thomas1991
Help with my Tic-Tac-Toe program
|
Hi, I'm currently working on a console application to play tic-tac-toe against the computer. I was able to get the computer to randomly select moves, but now I'... |
Mar 22, 2016 at 6:51pm
[1 reply] : here's an edit that made it somewhat work, but the computer gets stuck... (by thomas1991)
|
by scarface382
A custom associative container that is faster than std::map
|
It uses stl heavily and is faster than maps by about 15%. (I know that the number seems vague but showing my test results would be too long for this post.) ... |
Mar 22, 2016 at 4:43pm
[8 replies] Last: I'm sorry to say this, but in my experience, sorted vectors are a real... (by dhayden)
|
by ashlclm
Postorder binary search tree traversal
|
This is for homework, I have done a few implementations for preorder/levelorder, but am having a difficult time. iterator is biderectional, using a stack. I un... |
Mar 22, 2016 at 2:38pm
[1 reply] : here are implementations.. template < class C > void PostorderBT... (by ashlclm)
|
by rajhansk
how use this
|
how to use this to convert text to double temp = Convert::ToDouble(tbTempF->Text) |
Mar 22, 2016 at 1:32pm
[2 replies] Last: What is the problem ? temp = Convert::ToDouble(tbTempF->Text) if te... (by Thomas1965)
|
by sharan619
Prog error...plz give solution 4 this
|
#include<iostream.h> #include<conio.h> class linked_list_stack { private:struct node { int data; node *link; }; node *top; node *entry; node *... |
Mar 22, 2016 at 1:22pm
[3 replies] Last: Tell you what, allow me to demonstrate to you why you should INDENT YO... (by Moschops)
|
OpenGL / MinGW: undefined reference to 'glGetString' - solution |
Hi All, if you get linker-errors with MinGW concerning 'glGetStrig' or 'glGetSring@4' etc., inserting the followinng codeline somewhere in OpenGL initialisat... |
Mar 22, 2016 at 12:49pm
[4 replies] Last: There you migth be right. I'm not good in setting up c-compilers and t... (by artganseforth)
|