General C++ Programming (Page 32)

Vector Filled with Classes
 
Let's say I have a sprite class. Sprite has draw() in it. There are many sub-classes of sprite (fo...
[2 replies] Last: Researching both right now - bear in mind that I'm a hobbyist learning... (by tannerwilson)
How to write Label name in a word document
 
Hello members, I am facing a problem that I want to write the label name in a word document and th...
[1 reply] : bro abdul this is c++ forum maily (by csstudent123)
Help With A Game
 
Hi, I am new to c++ and i just started making a text based game but I am stuck and don't know what t...
[1 reply] : changing a string to say something else Converting a string to a nume... (by closed account j3Rz8vqX)
Looking for advice
 
Hey guys. I'm new to programming. Very new. I'm self teaching myself with the tutorials here, and an...
[3 replies] Last: Awesome. Definitely going to check out codeacademy. I have also been l... (by cavendert)
Writing out the implementation of std::tuple_element
 
Can someone tell me why the following does not compile? (only the last line in main() does not compi...
[4 replies] Last: Ah! The std::size_t was there because I was writing the implementatio... (by prestokeys)
How to start Visual C++ in a fast way
 
Hello guys, I have a good experience about C++ console applications and now I'm at the 14th chapt...
[12 replies] Last: Those videos I linked should explain most of your questions about usin... (by admkrk)
Why does this code not work?
 
I just cracked up some code to check how many occurrences of a string are found in another string......
[2 replies] Last: I don't know what to say, I have rosy cheeks now (for the return sta... (by Just Me)
populating array using pointer
 
I'm pretty new still to c++ so bear with me, I'm given a .cpp file (for homework), this file populat...
[1 reply] : mistake1: float *pt_double_array = double_array ; It should be floa... (by MiiNiPaa)
Visual C++ 2010 "Cannot find file specified"
 
Okay, I know someone will say "Google before asking", but I did. I couldn't find anything, so here I...
[10 replies] Last: Do you know how I set the project place in VC++? Read this: http://m... (by coder777)
HTML parsing?
 
The title is a little misguiding, I have the following sample HTML: <div class="directions"> <h...
[2 replies] Last: @ne555 Ahhh... How dumb of me to miss that! And you've got me thinking... (by Just Me)
Can't add a string remembering last value in a class
 
Hi there , I have to compare the last value of 2 classes The 1rst is a notification class and the ...
[2 replies] Last: Maybe you forgot to call them. It's hard to say what you are doing wro... (by ne555)
Variables & Headers Question
 
Hey, I have 2 simple Questions... 1 Question) Where would you declare a local variable for ...
[2 replies] Last: > Where would you declare a local variable for a class? If it is an... (by JLBorges)
by Nico
How to convert this sample code
 
Hello, I have this sample code, that calls a function in a DLL. The function Callback is provide...
[7 replies] Last: Make the callback function static. Pass a pointer to the object instan... (by Lodger)
Need help setting up SQL
 
First, here is the quick summary of my project: I have a SQL database (mySQL) on a computer that run...
[1 reply] : Take a look at the POCO library: http://pocoproject.org/ http://pocop... (by coder777)
by Niven
Picking with Bullet
 
I'm using the Bullet physics library in my program and am currently trying to implement picking. The...
[3 replies] Last: > Maybe but couldn't adding another render pass slow things down when ... (by ne555)
recognizing audio ports?
 
my dad asked me to write a program for him that involves playing music through whatever is plugged i...
[3 replies] Last: Google for it! i tried but nothing came up. thank you mii. ill look... (by Little Bobby Tables)
Pointers definition
 
Which is the difference between defining a pointer like: doublereal *muAnode = new double [Anode...
[1 reply] : The second does not compile, the first does after adding the missing s... (by LB)
Decimal to Hexadecimal code
 
Hi! I have to write a code that converts a hexadecimal value to a decimal value.. So far I have ...
[5 replies] Last: I knew it :P But I think he needs it for some assignment. (by iQChange)
by wahhaj
What does this code mean, Random numbers
 
#include <random> std::random_device rd; std::default_random_engine generator(rd()); // rd() pr...
[2 replies] Last: This makes thing a little clearer albeit still a bit advanced for me I... (by wahhaj)
Practice failure?
 
Was trying this switch code online, but it fails for me, saying "unresolved externals". What is miss...
[2 replies] Last: Not sure what it was. I closed the application, and opened a new proje... (by cavendert)
Pages: 1... 3031323334... 38
  Archived months: [may2014]

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