General C++ Programming - March 2016 (Page 7)

HELP PLEASE!
 
For my c++ class we are to find the coast altitude and burnout altitude of two rockets. We are requi...
[1 reply] : Do not doublepost. Other thread: http://www.cplusplus.com/forum/beginn... (by keskiverto)
Compilation never ends
 
I'm a c# developer and i'm trying develop a finite state automata in c++ but the member function cha...
[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’ . ...
[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 disp...
[1 reply] : Hello, you call getData to receive the row. Then you change classCtr ... (by Mathes)
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 tex...
[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 ...
[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...
[1 reply] : What error are you getting? compilation or run time error. Looks like ... (by sylphsang)
loop issue
 
When I run this in my Eclipse IDE it goes into an infinite loop printing nothing. If I run it in c++...
[3 replies] Last: It's an old bug (status 'WONTFIX' for nine years and counting) in ecli... (by JLBorges)
Cant figure out whats wrong
 
I cant figure out what I did wrong. Im pretty new to this #include <iostream> using namespace st...
[3 replies] Last: PS next time use code tags. http://www.cplusplus.com/articles/jEywvCM... (by SamuelAdams)
Optimized Bubble Sort
 
Can someone help me to modify this bubblesort? #include <iostream> #include<conio.h> using n...
[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); }; ...
[5 replies] Last: http://stackoverflow.com/questions/411103/function-with-same-name-but-... (by keskiverto)
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 The...
[no replies]
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...
[1 reply] : int median_partition(int* arr, int start, int end) { int x=arr ,... (by Indianna32)
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 a...
[1 reply] : here's an edit that made it somewhat work, but the computer gets stuck... (by thomas1991)
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 s...
[8 replies] Last: I'm sorry to say this, but in my experience, sorted vectors are a real... (by dhayden)
Postorder binary search tree traversal
 
This is for homework, I have done a few implementations for preorder/levelorder, but am having a dif...
[1 reply] : here are implementations.. template < class C > void PostorderBT... (by ashlclm)
how use this
 
how to use this to convert text to double temp = Convert::ToDouble(tbTempF->Text)
[2 replies] Last: What is the problem ? temp = Convert::ToDouble(tbTempF->Text) if te... (by Thomas1965)
Prog error...plz give solution 4 this
 
#include<iostream.h> #include<conio.h> class linked_list_stack { private:struct node { int d...
[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., inser...
[4 replies] Last: There you migth be right. I'm not good in setting up c-compilers and t... (by artganseforth)
March 2016 Pages: 1... 56789... 23
  Archived months: [feb2016] [apr2016]

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