General C++ Programming - February 2014 (Page 28)

by mhk313
permutation of 2 strings
 
Hi I want to write a program that gives 2 strings(char type) and combine them in different ways. ...
[2 replies] Last: In c++: #include <iostream> #include <string> #include <algorithm> #i... (by Smac89)
Tilemap with Bounding boxes?
 
I am currently working on a platformer. Just got the view and tileMap working. I also have a square ...
[no replies]
Get the surrounding coordinate
 
For example I have this map # #### ...
[2 replies] Last: I cannot grasped your answer What is the condition for a coordinate t... (by rmxhaha)
helping with registry
 
this program should make the hibernate off ; but i dont know what is the problem of my program ! ...
[1 reply] : Are we getting an error when you try to compile? If so then what might... (by Computergeek01)
Program not doing cout
 
So my program compiles and runs correctly but it doesn't do what it's supposed to at the end. It is ...
[4 replies] Last: You're looking for method names inside your LOC object. But your LOC ... (by Disch)
by mabbia
heap memory
 
whats the error in this ? #include <iostream> using namespace std; int main() { int size=10; ...
[1 reply] : #include <iostream> using namespace std; int main() { int size=10; ... (by Peter87)
Completely random distribution of numbers
 
I'm looking to code a completely random distribution of numbers that doesn't affect performance usin...
[2 replies] Last: Appreciate it man, I'll check out that header! (by ALEXCX2PLUS)
by phooh1
Calculate wind chill
 
I am new to this and have no experience, so any help would appreciated. Here is my problem: Wind Ch...
[3 replies] Last: #include <iostream> #include <string> #include <iomanip> #include <... (by Danyal)
const char* as a buffer?
 
I want to use a const char* as a buffer. I am reading values from a file and adding them to a buffe...
[6 replies] Last: I hope you don't use strcpy() or other C functions to manipulate that ... (by modoran)
<> TwoDim Array
 
Using a two dimensional array, I have to display a list of totaled scores for a diving contest. E...
[no replies]
Require Some Insight On Proper Fundamental Type Overloading
 
Hello there. I am currently working with the fundamental types in C++, and there is some ambiguit...
[3 replies] Last: @kbw That is not helping a lot tho,.. #if defined(__cplusplus) && ... (by Bourgond Aries)
Fitting Routines (Sinus)
 
Does anyone have data fitting routines? I want to fit datapoints with a sinus or with a linear ...
[3 replies] Last: GSL? http://en.wikipedia.org/wiki/Curve_fitting#Software Numerical Re... (by keskiverto)
Help...how do i write test program for this copy constructor and assignment operator?
 
ok so how do i write main test program to test the copy constructor and assignment operator in this ...
[1 reply] : how do i write main test program to test the copy constructor and ass... (by kbw)
by alsade
operator overloading (member vs friend) question
 
can someone please explain to me whats the difference between both functions (operator-)? #include...
[3 replies] Last: I guess one difference is that, if you had an object of a type that de... (by MikeyBoy)
Making a shape move (opengl, c++)
 
Hello guys. I wanna make the body (square) move left when I press the left arrow key. Unfortunately,...
[no replies]
HEAP CORRUPTION DETECTED: after Normal block (#131) at 0x00827A68.
 
Hi , I have created below String class and same called from Main function. When I execute main fu...
[5 replies] Last: Yes, I did. Thanks again. (by schashr)
Out of scope and can't fix
 
When I compile my code it keeps giving me an error I can't seem to fix. #include <iostream> #in...
[5 replies] Last: The only place I can see that you've declared a variable called filen... (by MikeyBoy)
Displaying correct output (with Pointers)
 
Hi so I wanted to display the correct output by using a for loop at the end of my code, but for some...
[11 replies] Last: [quote=jidder]It works as intended. But it uses 99% cpu Having to go t... (by TwilightSpectre)
don't get random numbers every time
 
This is my program i have to choose for random number between 1-25 and display them the program work...
[3 replies] Last: @giblit The value returned generally represents the number of seconds... (by TwilightSpectre)
How to accept numbers only
 
I am a complete beginner at this program and has no experience but trying my best to catch up. So wh...
[1 reply] : You can check the std::cin fail bit to see if the input failed. Here i... (by TwilightSpectre)
February 2014 Pages: 1... 2627282930... 33
  Archived months: [jan2014] [mar2014]

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