General C++ Programming (Page 16)

by Grime
What's "Visual C++" and is it different from C++?
 
I'm really confused and I think instead of making any assumptions it would be better to get it recti...
[8 replies] Last: Well, yes, that was my point. I wasn't trying to say "here, you should... (by helios)
Chef with Orchestra in the Kitchen
 
Stop spamming the board with your zero effort begging. http://www.cplusplus.com/forum/beginner/24949...
[3 replies] Last: If I had known that you can complete "challenges" for rewards when I w... (by H00G0)
by Fadey
Fastest way to input/output dynamic array of arrays into a file.
 
First example: input/output a array of std:string. Second example: input/output a class which nests...
[3 replies] Last: If you do your own buffering, then use open/close/read/write instead o... (by dhayden)
Does public static functions of base class become member functions of derived class if base class is inherited publicly ?
 
Hi ppl, I am trying to run the following code but getting error. #include <iostream> template <...
[3 replies] Last: Thanks a lot @Cubbi for the detailed explanation :) (by kapil2905)
BGL in_edges() issue
 
Hi! I started using Boost Graph Library and I've problems using in_edges() over a direct graph. I c...
[1 reply] : in_edges() is not allowed in adjacency_list<listS, vecS, directionalS>... (by EdoardoCanti)
reading from data file
 
I am having some issues with my case for the code. The purpose of this case is that, the user enters...
[4 replies] Last: Thanks @salem c! (by hello321)
wrapping a class around a temporary (prvalue)
 
I want to define a wrapper class (BoxB) that takes another class (BoxA) as an argument by reference ...
[9 replies] Last: > The move occurs with the initialize a(that.a), correct? Technically... (by JLBorges)
resistor
 
Hi, I got a program here and it is not making the calculations,I've tried different solutions but ...
[5 replies] Last: your program, in wordz: declare a bunch of floats to random values. *... (by jonnin)
templated classes and inheritance.
 
In the following code, I have a templated class, that derives from another templated class. For th...
[2 replies] Last: Excellent, thank you! I don't know if the explanation you scratched b... (by CABrouwers)
Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x18 in tid 8522
 
Hello everyone! So I have this bug that's really strange to me and unsolvable. So when I debug my c+...
[15 replies] Last: Cubbi. At first glance, I didn't quite understand your answer but the ... (by Putarda)
Help with pointers
 
So for this program I need to find the mode of the array. but I have to use two functions and pass t...
[2 replies] Last: void FILL_ARRAY(int *fillArray ); You're declaring an array of point... (by AbstractionAnon)
by Fadey
calling from global class's constructor, is it safe?
 
void triggerMe(int in); class second; class first { public: int something; first() { something...
[4 replies] Last: Your first example, works, but only because csecond contains purely PO... (by dhayden)
Create a specific structure of array in C++
 
I want to create a structure in C++ in which some of its elements are arrays (as the following code)...
[5 replies] Last: dynamic does not have to mean that it will change size, it just means ... (by jonnin)
i need to add yes or that will restart the loop or exit
 
After identifying the winner, the system should ask if the user want another game (If the user selec...
[6 replies] Last: switches specifically work on integer cases only. You have to find a ... (by jonnin)
C++ Colors
 
I am making tic tac toe game and i want my char 'X' to be blue and my char 'O' to be green and if 'X...
[6 replies] Last: It is working now thank you so much. It has some errors but i fixed th... (by Aleksa03)
by RmmB26
C++ community. i have Tasks and need yor help!!!.
 
i need your help. i try to find where is the mistake or mistakes and how to find solution for this c...
[2 replies] Last: I'm not 100% sure what the actual desired behaviour for this program i... (by TomBroughton)
Trying to improve the leap year algorithm
 
I am trying to improve the leap year algorithm to tell me when the next leap year is if the year ent...
[4 replies] Last: #include <iostream> bool IsLeapYear(int y) { return y % 4 == 0 ... (by dutch)
Data file read
 
Hello everyone, I am trying to read from a data file. I have a working code, but i am having difficu...
[3 replies] Last: Thank you everyone for being great help! It works now and also fixed t... (by hello321)
by frek
Does a C++ programmer need learning C in 2019
 
Hi all, I know that how powerful both C and C++ are. C++ added some new features to C and evolved...
[7 replies] Last: Windows, especially its new ones (7 and 10), are mostly written in C+... (by closed account E0p9LyTq)
Pages: 1... 1415161718
  Archived months: [jan2019]

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