General C++ Programming (Page 9)

displaying text files on ncurses mode question
 
Hi I'm trying to display text files in ncurses mode sometimes it displays the right contents, but s...
[2 replies] Last: Ah!! i see, it works perfectly. Thank you! (by jamz123)
FLTK library and Visual Studio 2017
 
I recently upgraded from Visual Studio 2015 to 2017, and I'm also just starting on Chapter 12 in PPP...
[2 replies] Last: Oh, nice, it's actually possible. Thanks for the info. I was wonderi... (by DragonOsman)
by F95
Linked Lists getting erros in VS
 
My program is to ask the user to input their first name last name, boarding priority, and flight num...
[4 replies] Last: I've made some changes and am getting closer to getting it to run how ... (by F95)
Why make_shared<Object>() gives error with Object with private constructor where as new operator works fine.
 
Hi ppl :), make_shared is more efficient than shared_ptr(new Object), but why when we use make_shar...
[5 replies] Last: Thanks alot @mbozzi for this detailed reply :) (by kapil2905)
by Kmpck
2 dimensional string with random parameters question
 
Hi guys Is there a way to declare and initiate a 2 dimensional string array using variables that ...
[3 replies] Last: For your array, one option would be a vector of vector of string so yo... (by Thomas1965)
by rb737
Using Graphs for a Flight Program
 
Hello Everyone, I hope you are all doing well and I want to thank you in advance for any help you...
[4 replies] Last: True, but there are a lot of partial solutions of it that are already ... (by jonnin)
by Kmpck
Easy C++ MessageBox question.
 
Hi guys! I know this is going to be one of those things where it turns out that it was something...
[3 replies] Last: THanks guys. After I made this post I actually solved my own issue but... (by Kmpck)
randomizing card decks
 
#include <iostream> #include <ctime> #include <cstdlib> using namespace std; int main() { ...
[6 replies] Last: hmm ok. ıt is decreasing as (13-reamining . now i got it. another way... (by derenNil)
by tushu
How to intialize vector using constructor
 
using namespace std; static int index = 0; class neighbor { public: int dest ; ...
[6 replies] Last: I would guess that the vtxMapLoc should be initialized: ... (by coder777)
by F95
airline reservations w/ Linked List help! (getting errors)
 
I need help writing a program for an airline reservation system that inputs and outputs the first na...
[11 replies] Last: I cannot use your version because it doesn't follow the structure my ... (by gunnerfunner)
Storing int type inside char type
 
I was reading Bjarne Stroustrup's book on page 72 that spoke about types and declarations (Chapter 4...
[6 replies] Last: Why doesn't this happen? because Int2 is parameterized on int T, so ... (by gunnerfunner)
Need help: Ambiguity problem
 
//Hi Im trying to figure out how to get rid of this ambiguity. After running the program, it states ...
[3 replies] Last: This is a duplicate of: http://www.cplusplus.com/forum/beginner/21105... (by MikeyBoy)
need help on the ambiguous error
 
HI, after running the program, I receive an error that states, "Person is an ambiguous base of Staff...
[2 replies] Last: This is a duplicate of: http://www.cplusplus.com/forum/beginner/21105... (by MikeyBoy)
Constructor using Pointers as parameters
 
Hello everyone So I have a probleme with a constructor of a class that takes as paramters 2 pointer...
[4 replies] Last: Only obvious problem I can see with the code is that NameClasse is mis... (by Peter87)
Multi Dimensional Array Selection Sort
 
Hello, I am trying to do a selection sort of a multidimensional array based on the 2nd column in des...
[7 replies] Last: Did it! #include <iostream> #include <stdio.h> /* printf, sca... (by ehsan96696)
Need Help With a C++ Code
 
hello everyone. I am in school right now and next week my final project is due. I have the entire p...
[8 replies] Last: What jlb is saying about code tags is: "[ code ]" Put all code i... (by pleaseINeedHelp)
Adding equations
 
Hi, so I'm working on a sequence problem for discrete structures and I have two formulas that I can ...
[no replies]
Code consolidation and redundancy involving templates and vectors
 
Greetings all... Below I have a sample program with the headers and cpp files listed. As you can see...
[4 replies] Last: Very nice solution... template < Names::Enums Name > Students<Name>*... (by Non Sequitur)
How to control the function parameters via macro definitions?
 
Hi, for a project, I need to use 3 different size arrays and matrices. Actually, the project is a ho...
[1 reply] : int fix = ZONE; switch(fix) or you can do it with #if type statement... (by jonnin)
Pages: 1... 7891011... 33
  Archived months: [jan2017]

Cannot post in this page. To post a new message, go to the first page.