General C++ Programming - January 2015 (Page 14)

need help with imaging program
 
i need help with my imaging program in my image.cpp i dont know what the error means: code is {c...
[1 reply] : about your awful memory management http://www.cplusplus.com/forum/gene... (by ne555)
Creating acceleration
 
Hello once again ^^' The next question I was asking myself is how to add acceleration to my Playe...
[4 replies] Last: Hmmm I've searched for a Frame independant movement tutorial and also ... (by HalfNOoB)
Beginning With C++ Programming
 
Hey! I want to learn how to program in C++ and I think a good way to learn is to do some projects re...
[2 replies] Last: Hey. I'm just beginning to learn to program C++, too. I found the MIT ... (by Zman919)
Game programming
 
I've decided to try to program a simple game like vvvvv or something of the Mario sort and was wonde...
[5 replies] Last: This is the Snake Game in Qt 5.4 OpenGL: https://github.com/8Observer8... (by Observer)
[SFML 2.1] How do I move the sprite depending on rotation
 
Hey how's it goin fellow programmers. So heres the problem I have. This is how I want my sprite m...
[7 replies] Last: Well dt(delta time) should restart, because you are using its value fo... (by greenfox)
Access violation writing location 0x00000001.
 
Hi Friends, I am working Visual C++ 2012. I am trying to read a GLOBE file using the following co...
[12 replies] Last: @vardhan36397 http://en.wikipedia.org/wiki/Entry_point#C_and_C.2B.2B ... (by keskiverto)
by ntran
Finding the neighbors of a node/vertex in a 2D mesh
 
Hi everyone, I have a 2d mesh defined by nodes and elements: Structure of a node: Node ID, X ...
[no replies]
Function will not return value.
 
I have been looking at this and cannot figure out why my function will not return this int. It does ...
[4 replies] Last: I also doubt that that sizeof() call in your function is really doing ... (by jlb)
by red942
Successive Addition
 
I have problem finding the codes of successive addition for example I want to make a code that wh...
[2 replies] Last: You can always make c a string: #include <iostream> #include <string> ... (by MiiNiPaa)
sfml with glew in C::B
 
in code block, when I try to include glew in sfml it so me Warning: .drectve `/DEFAULTLIB:"LIBCMT" ...
[no replies]
by while
function template instantiating ,pointer,and reference
 
Hello everyone!I am a Chinese.So please forgive me my poor English. Here is my question. templ...
[4 replies] Last: Thank you very much! (by while)
How to create BST for arithmetic expression
 
Hi guys, I am a c++ leaner, I am trying to create a BST tree for this expression: 2346*+/8+, and do ...
[1 reply] : In the pseudo code, I assume that line 11 means "assign s.top to right... (by dhayden)
Mouse Input Coordinates Not Being Read in C++
 
Please take a look the code below, its not the complete thing obviously since that'd be too long. ...
[1 reply] : What about z ? Is it set somewhere or left uninitialized? (by coder777)
by Gyiove
creating fread&fwrite like functions
 
Hello everyone! I have this here: int write( void *in, int insize, int count ) { if( !isbi...
[2 replies] Last: I think you haven't considered pass-by-value semantics. To work in the... (by tipaye)
Help!
 
#include <iostream> using namespace std; int main(){ return 0; } this is my main function...
[1 reply] : have a read of this: http://www.cplusplus.com/doc/tutorial/control/ I... (by mutexe)
c++ sums
 
#include <iostream> using namespace std; int main(){ int sum = 0; int line; cin >> line; ...
[2 replies] Last: Hope this helps. The cout << sum; needs to be inside the loop for it ... (by Irhcsa)
Multiplication Table?
 
So I'm supposed to write something that will output a multiplication table from two user input integ...
[2 replies] Last: Hey that worked! Thank you! :) #include <iostream> using namespac... (by aids8544)
Windows 7, is it possible for two applications to use same port?
 
In Windows XP it was possible for several applications to use same port. In Windows 7 however, I alw...
[no replies]
copy a derived class object thru a pointer to base
 
Is there a way to copy a derived class object thru a pointer to base? For example: class Base...
[1 reply] : Add virtual clone() function to the class and return new copy-construc... (by MiiNiPaa)
Iterative loops - I'm a bit stuck
 
Hello folks. I am learning about loops, and I wrote this program (in Ubuntu, compiled with g++) to ...
[8 replies] Last: @cire Thank you - your simple diagnosis fixed it :) (by glossywhite)
January 2015 Pages: 1... 1213141516... 24
  Archived months: [dec2014] [feb2015]

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