General C++ Programming - June 2016 (Page 6)

Obtaining the value of a preprocessor constant at compile time??
 
I have a preprocessor constant BOOST_MSVC and I want to print its value as I compile the code.. How ...
[1 reply] : See: http://stackoverflow.com/questions/12637392/c-preprocessor-expand... (by JLBorges)
Is data hiding effective in C++?
 
Hi all, In my python class yesterday we were covering classes and how "__" is used before a varia...
[11 replies] Last: Thank all of you for the insight! Python is the second language I am f... (by edge6768)
MouseEventArgs unidentified problem
 
so, i'm developing a game for my programming class in college. there's a fragment of my code that ke...
[2 replies] Last: thank you so much thomas, i knew the solution was something like that ... (by berfomet96)
Error Templating Two Classes
 
Hello all, I am trying to impliment my first binary tree and I am having some issues. The exact ...
[2 replies] Last: That worked, now I have runtime errors I have to debug :). (by slavano)
Complexity of Function
 
I am a bit confused about the Big-O complexity of this function: void permute (int a , int n) { ...
[4 replies] Last: I respectfully request that people stop responding to CSundergrad's po... (by AbsentMindedProf)
by Shafat
if command help
 
Question: The following code is for calculation quadratic equation. after putting values of a,b and ...
[2 replies] Last: Thanks allot bro!! Really helped me! :) (by Shafat)
by ORF
Intro + Critical section: mutex or coroutine?
 
Hello First of all, thank you for all the knowledge of this web&forum; I've learnt a lot, and I h...
[1 reply] : That's like asking if functions are better than variables. They do dif... (by helios)
array problems
 
.
[2 replies] Last: sorry i am new to here. (by Haversine)
MySql or other database libraries ideal for my problem?
 
Hello there. So, I am playing around a bit with 3D objects on openGL and parsing then and all, and I...
[4 replies] Last: http://www.boost.org/doc/libs/1_59_0/libs/bimap/doc/html/boost_bimap/o... (by closed account 48T7M4Gy)
Help with ofstream
 
So i met this problem. When i write an ofstream in more than 1 function, my results file "DD.txt" on...
[8 replies] Last: @chervil Ah yes, my bad :) Cheers! (by Guessit)
reading a file in alphabetical order
 
#include <iostream> #include <string> #include <fstream> // to read file #include <algorithm> // ...
[6 replies] Last: what does the push_back do It appends a movie to the vector. http:... (by AbstractionAnon)
by helios
Threading performance
 
I have a pipeline of sources, sinks, and filters that looks like source -> filter -> ... -> filter ...
[2 replies] Last: Yeah, I thought as much. I don't pin the threads to a CPU nor the fibe... (by helios)
CCC J5 Help
 
Hi everyone, I was wondering if anyone could take a look at my code for the Canadian Computer Contes...
[2 replies] Last: Uhh.. Is there a problem @kemort? I'm doing the CCC challenge and I've... (by Flashx2000)
Please help me with a program
 
Hi can anyone tell me how to do a program that whenever i press '2' then immidietly starts and press...
[5 replies] Last: ok thanks and sorry :/ (by magas29)
by Roson
Background Color keeps changing
 
I'm making a program where one can move a circle using w/a/s/d (without 'gravity'). Initially, the r...
[1 reply] : It should be like this: HDC hDC; hDC=GetWindowDC(this->Handle); ... (by skaa)
reference question
 
Hi, Is this int& getLargestElement(int *array, int length); the same as this: int * getLa...
[7 replies] Last: Thank you (by technologist)
Need Assistance Understanding a Vulnerability Issue
 
I would appreciate some assistance in understanding a C++ issue. I'm taking a course in CyberSecurit...
[10 replies] Last: strncat() writes a null character at the end. Oop! Yep, I was think... (by Duthomhas)
by Vabi
random number generation
 
Hi I have developed a new program array of 10 number and I want to choose any one out of them ran...
[2 replies] Last: First, you need a PRNG. http://www.cplusplus.com/faq/beginners/random-... (by Duthomhas)
Menu Auth
 
Hello i need Help To Define a Code For My X360 GTA V Mod Menu, The Code to define is this: AuthRequ...
[no replies]
Help Whit This Code
 
Hello I Have a Problen Whit The Followin Code: http://pastebin.com/kCK7THc9 (I Posted On Paste...
[4 replies] Last: Thanks (by ireeneromero)
June 2016 Pages: 1... 45678... 14
  Archived months: [may2016] [jul2016]

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