General C++ Programming (Page 36)

Help with SFML Problem?
 
I got SFML to finally work with Qt Creator (I tried using it with Code::Blocks, didn't work) and I r...
[7 replies] Last: I just did. And I also noticed something. When I go to exit the progra... (by AceDawg45)
SDL_TEXTURE high memory usage
 
Hi Everyone, I'm programming a 2D Game usign SDL_2.0 and I'm having an issue with SDL_Texture. ...
[1 reply] : Creating an object should not imply creating a texture. The actions of... (by helios)
by leo255
Need Some Help Understanding Stack Implementation of Linked Lists
 
Hi guys, Not sure if this should be in the beginner section. Perhaps it should be. I have this...
[1 reply] : except why I'm setting ptr = p. I feel like p should be equal to NULL... (by helios)
Recognize wich circuit is closed
 
Hello, Me and my friend decided to start a project. We know few things about C++ but we need to kno...
[no replies]
C++ Compiler for Chromebook
 
I have an Acer Chromebook and wondered if anyone has used any of the C++ compilers in the Google app...
[1 reply] : Hopefully this helps: http://superuser.com/questions/430418/compile-c-... (by CDuck)
by amaid
Meaning of Shape *p=new Circle();
 
Shape and Circle are classes.Shape is the base class and Circle is derived from Shape class.Can some...
[3 replies] Last: "Object Slicing" refer to the case where you assign an object of a der... (by ne555)
Open World RPG - Loading System
 
Hello all, I am making an open world RPG game. I have already done the graphics rendering (with dir...
[4 replies] Last: Ah good idea, thanks (by Irrelevant Elephant)
Priority Queue
 
I am trying to implement the following priority queue and having trouble defining the print_tree mem...
[no replies]
Random Numbers Generator Question
 
So, there has got to be an easier way to generate random numbers within a specific range. Here is th...
[10 replies] Last: I just use C++11's RNGs instead of rand and let them do the distributi... (by Disch)
by chhe
speed question
 
I had written a program that writes to a comma delineated file and it takes forever to finish runnin...
[6 replies] Last: First step, get rid of the vectors and directly write your strings in... (by Agent)
by Agent
General Computer Science question
 
On multiple occasions, I've found myself writing code that requires a constant loop with the conditi...
[9 replies] Last: Can you explain what this is or provide a reference. I couldn't find ... (by Grey Wolf)
by antmjr
how to set stack size with GCC MinGW
 
Hi all. I'm following a course with coursera (algorithm 1) and my program for the assignment crashes...
[5 replies] Last: well, just a little update for those who may need the same piece of in... (by antmjr)
by BasV
Passing by value vs passing by reference
 
Hi everyone, When I create class members or constructor such as this: AreaExit(const Vector...
[5 replies] Last: Thanks a lot for the replies! (by BasV)
How does std::random_device generate "true" random numbers
 
I just read on this website that the function std::random_device() is not like other 'generators' ...
[5 replies] Last: Aah, ok.. So the function random_device first tries to 'delegate' the... (by abhishekm71)
gamma of complex argument
 
Hi im trying to find the gamma function of a complex number. I see that <cmath> has the tgamma and l...
[1 reply] : GNU scientific library http://www.gnu.org/software/gsl/manual/html_nod... (by ats15)
Simulator written in C++
 
Hello, I am working on a simulator which is written in C++ and I need help with that. For example, ...
[no replies]
by vlucaj
extracting string from text file
 
I have a program here that writes employee information into a text file called employee.txt. I don't...
[7 replies] Last: @Chervil Thanks for your help. I got the program to work. Very much ap... (by vlucaj)
by shaeri
C++11 variadic template templates
 
Hi there, Is there anyway to have a template template class with multi variadic templates somet...
[4 replies] Last: Thanks a lot for your answer! Your code allows any typenames for Netw... (by shaeri)
How to emulate an old x86 graphics card?
 
I've build a routine in my emulator that processes pixels one by one till vblank after which the fra...
[no replies]
Implementing treesort
 
Trying to get my treesort function to execute but I'm getting a segmentation fault. Any help would b...
[6 replies] Last: The sorted stuff is in sorter . The place you want to put it is data... (by Duoas)
Pages: 1... 343536373839
  Archived months: [may2014]

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