General C++ Programming - August 2016 (Page 3)

what is this
 
Hi, Regarding the following snippet I know that we are dealing with freind functions, members, class...
[4 replies] Last: On the topic of const-correctness, the member function displayItem() d... (by keskiverto)
Smart Systems - Possible or Not?
 
Dear Community, As a new user, I am happy to be able to ask for your assistance! Your thou...
[no replies]
Program crash
 
Am making my own small program to analyse football games. i am reading a text file and using three f...
[3 replies] Last: Am reading the file into the class variables. However, i cannot use ... (by Mwangi Elijah)
by RobCh
Skip rendering obscured polygons - OpenGl
 
I am told there is a way to skip the rendering of obscured polygons in opengl. I am told it has some...
[1 reply] : You may use the z-buffer with a two-pass algorithm. The first time you... (by ne555)
Hailstone
 
I'm looking for help in a section of my C++ program. I need to "write a function that takes an integ...
[5 replies] Last: If you're able to find the length of the longest sequence then you mus... (by dhayden)
Pantheios: record logging API remote
 
HI, I installed the pantheios logging API in order to write log file remotely, using language C. ...
[1 reply] : C API example: http://www.codeproject.com/Articles/27196/Adding-Loggi... (by JLBorges)
by Nyapp
what's wrong with my class?
 
What's wrong with my (unfinished) class? class level : public texture { protected: uint8_t* ...
[2 replies] Last: thanks that worked (by Nyapp)
by Ezzky
C++ stack frame - how to create it?
 
How can I create a stack frame for this function and how would it look like ? float ChangeToCelsi...
[1 reply] : you'll find answers on stackoverflow http://stackoverflow.com/questio... (by closed account 48bpfSEw)
does anyone have tutorials of cmake?
 
can anyone give me link to beginner's tutorial for cmake ??? I want to learn how to use cmake, bu...
[1 reply] : the good old wise lady Mrs. Google knows (allmost) everything: ^^ htt... (by closed account 48bpfSEw)
Cannot compile example code
 
Hi, this is an example code from Stroustrup. G++ compiler made me add 7 declarations. Even with th...
[5 replies] Last: Ouf! Compiler says OK. Thank you very much for your help. (by sylvain)
by PacR
What element number iterator is pointing to?
 
#include <iostream> #include <list> using namespace std; int main() { int myints = {75,23,...
[3 replies] Last: Thankyou shadowmouse and keskiverto now code works fine! (by PacR)
hello, I have just a warning (no compile errors) but code does not build. "primary reference could not be resolved"
 
I think at this point I can't really find any solution without your help... I linked c++ to c# us...
[1 reply] : it was just about changing frameworks. write click on project-> prop... (by davidgoder)
Maximum value in 2d array and its corresponding number
 
I have a question regrading 2d array. If one column in array stores values and second column stores ...
[2 replies] Last: if array type is int , tray to make your container double ar... (by davidgoder)
Calling struct = returning value?
 
is there a way to make the code below print 3? #include <iostream> using namespace std; stru...
[5 replies] Last: As you code stands now, you cannot make it print '3' without adding to... (by JayhawkZombie)
by a015
Dev C++ Encryption Program
 
I would like to encrypt some documents using an encryption program that I made, to be completely sur...
[11 replies] Last: But securing a key that's the same length as the message is obviously... (by closed account 48T7M4Gy)
Need help with this for my project!
 
Hello guys I need help with these. #include <iostream> #include <string.h> using namespace std; ...
[11 replies] Last: Thank you guys!! I can finally finish my project! :) (by ibyan01)
wrapper class CLR
 
hello, I need a wrapper class to connect c++ to C# but it gives me 5 errors, first one says: 'st' : ...
[4 replies] Last: In my second point, I mentioned that you must be leaving stuff out of ... (by doug4)
Need some help
 
I am stuck. The problem is to write a ternary metafiction replace_type<C,X,Y> that takes an arbitrar...
[3 replies] Last: Hi Juan, Not sure whether you know that gentleguy is a troll, of c... (by TheIdeasMan)
Detect monitor on/off
 
Hi! There any way to detect the monitor PC Desktop state in Windows ON / OFF, using language C/C+...
[5 replies] Last: You can do this with powershell, what you want to look at is the power... (by SamuelAdams)
Should i use a protected variable?
 
So i'm working on a small program where I have to make a banking system using inheritance. I have ...
[2 replies] Last: Do you realize this is a C++ forum? Too true. C++ is not the best p... (by closed account 48T7M4Gy)
August 2016 Pages: 12345... 12
  Archived months: [jul2016] [sep2016]

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