General C++ Programming - June 2014 (Page 14)

Need 256 bit Integer
 
Now I'm not the most advanced C++ programmer by a long shot. All I need is an .h file that I can use which will give me a 256 bit integer that I can actually u...
[18 replies] Last: Boy do I feel dumb, updated to VS 2013 worked, thanks MiiNipaa (by dalydir)
void pointer - do not understand code
 
I am working through the C++ guide from cplusplus.com. I do not really understand the following code (esepcially the emboldened code). What exactly is the embol...
[5 replies] Last: thanks all :) (by jsmith613)
by Kubani
step-by-step installation of QT
 
Hello all, I have two questions. 1- I’ve a good experience in C++ so I decided to start the Qt . I downloaded below files from (http://qt-project.org/d...
[8 replies] Last: Thank you very much guys. I installed the first one and have in on my ... (by Kubani)
getline and line read from file
 
hey guys. This is my question. Give a file, find number of occurrences of a search string with line numbers in which this tring occurs... My problem: my code ...
[6 replies] Last: As Chervil told, use strstr() (by MiiNiPaa)
Some Problems
 
My API rewrite is not going well... getting some problems... Errors: Error 1 error C2039: 'Events' : is not a member of 'NNewPDL' c:\users\ahmed\documents\...
[4 replies] Last: No problem! As for multiple inclusion, it generally won't be an issue ... (by Agent)
Vector Filled with Classes
 
Let's say I have a sprite class. Sprite has draw() in it. There are many sub-classes of sprite (for example, monster1 and monster2). Sprite's draw() has a ...
[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 the word is connected with the visual studio using COM optio...
[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 to do about changing a string to say something else. If anyon...
[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 another website (along with all the help you guys have on my p...
[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 compile actually). How to fix this? #include <tuple> te...
[4 replies] Last: Ah! The std::size_t was there because I was writing the implementatio... (by prestokeys)
by Kubani
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 chapter of the book (http://www.stroustrup.com/programming1.html)...
[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... It is self-explanatory: #include <iostream> #include <...
[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 populates an array from a file, that contains only numbers, using t...
[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 am. Well, when I try to run the program (new to VC++, 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"> <h3>Directions</h3> <div class="directLeft" itemprop="r...
[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 2nd is a message class I have to remember the last value of...
[2 replies] Last: Maybe you forgot to call them. It's hard to say what you are doing wro... (by ne555)
by homing
Variables & Headers Question
 
Hey, I have 2 simple Questions... 1 Question) Where would you declare a local variable for a class?: in the header? class x{ private: int y;...
[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 provided to the DLL as an argument, in order for the DLL to notify ...
[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 runs linux and I want to build a program that runs on another c...
[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 way the world is currently set up, there is a terrain with ...
[3 replies] Last: > Maybe but couldn't adding another render pass slow things down when ... (by ne555)
June 2014 Pages: 1... 1213141516... 21
  Archived months: [may2014] [jul2014]

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