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

Changing an integer into a new integer with simple mathematical operations?
 
I need help with changing a 9 digit integer into a new 9 digit integer through simple mathematical o...
[4 replies] Last: Just tested this and it worked perfectly. Thank you very much. I see t... (by Brady93)
Weird symbols on my console application
 
Hello, while I was testing something for the project I'm creating, Whenever I try to load my map, it...
[3 replies] Last: #include <iostream> #include <string> #include <vector> Have you c... (by giblit)
help
 
#include <iostream> using namespace std; void averagescore(double); void aboveaverage(int ); ...
[2 replies] Last: A couple of things I see so far... The valid elements of an array wit... (by wildblue)
C++ Compiler
 
I bought this book about C++ ( C++ Primer 5th Edition ) and after a couple of pages it shows me some...
[1 reply] : I would use a modern compiler. If you are using linux, it's very easy ... (by ats15)
by antmjr
min value in std::make_heap
 
Hi all. I'm studying std::make_heap, and I need an explanation. From what I have understood so fa...
[1 reply] : yes, make_heap, push_heap, and pop_heap all take the third parameter w... (by Cubbi)
Converting reference address to character string
 
I've been searching for a while, and haven't been able to find anything on this so I could really us...
[5 replies] Last: Ow wow, thanks for mentioning the bitset class, I'll have to look at i... (by jason9559)
by cire
Bug hunt, need another set of eyes.
 
The following code is meat for an online judge. When submitted, it results in a segmentation fault ...
[5 replies] Last: Thanks MiiNiPaa! (by norm b)
Compatible IDE, compiler and graphics lib
 
I've been trying this for a while now with no success. Could anyone give me a link to compatible ver...
[2 replies] Last: Thank you so much. I think I must have had an older version of code::b... (by shadowmouse)
Memory mapped i/o disabling?
 
From the freeVGA documentation: RAM En. -- RAM Enable "Controls system access to the display bu...
[no replies]
espression with unsigned and signed
 
I recently researched that it is better to avoid the use of expressions that mix signed and unsigne...
[2 replies] Last: I think this topic needs to be considered in the context of type promo... (by Chervil)
to find valence electrons from atomic number
 
can anyone please help me finding valence electrons from atomic number in c++...
[3 replies] Last: Simply google "number of electrons in atomic shells". They are 2,8,18,... (by letscode)
Game
 
I just started making this game, I looked up how to make the program pause for a certain amount of t...
[2 replies] Last: Otherwise, there is also the usleep function (nanoseconds rather tha... (by TwilightSpectre)
High RAM usage for my game
 
Hi everyone, I'm having a High RAM usage problem with my new 2D game and i'm trying to figure out...
[12 replies] Last: You shouldn't have to. What happens is that to render the Object you ... (by Cydriic)
by chhe
curl and libcurl
 
Hi, I wanted to use libcurl so that I could get the following c++ example program shown below to ...
[no replies]
by fafner
Overriding new and delete
 
I'm experimenting with a custom memory-pool for my application, and I initially planned to override ...
[2 replies] Last: Yeah, I've written a singleton memorypool-class that the new- and dele... (by fafner)
Directional light per vertex
 
Hello people. I'm having to implement a shader work as directional light per vertex. Already impleme...
[no replies]
by Kubani
Where can I found QT 5.3.0 command prompt
 
Hi all, For studying the Qt book "C++-gui-programming-with-qt-4-2ndedition" I need command prompt o...
[no replies]
String Memory problem
 
hi, i am using client server program with multi thread, I use the file concept and pointer. my funct...
[no replies]
ifstream garbage from good file
 
Hello. I successfuly write my file but the reading gives the output below. My code is if(readFil...
[1 reply] : Show your save function and content of file (by MiiNiPaa)
Operator= overloading WITH chaining
 
Hello! I am having a bit of an issue figuring out how to operator overload with chaining. I have thi...
[4 replies] Last: oh....oh wow I think that was the issue because it is working now. THA... (by Bonster)
June 2014 Pages: 1... 910111213... 21
  Archived months: [may2014] [jul2014]

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