General C++ Programming - July 2013 (Page 13)

hostal management system
 
hello everyone i have worked on the part that comes before void main() plz some one check this out w...
[5 replies] Last: Without seeing the code that's generated this error, we can't possibly... (by MikeyBoy)
what does <> means?
 
I'm working with libviso and I find in some tutorials that they use something like this in their fun...
[1 reply] : I found the answer http://www.cplusplus.com/doc/tutorial/templates/ (by linkoftheworld)
Finding x,y pixel address in mode 13h VRAM?
 
I'm currently working with linear VRAM (a buffer with 256KB memory, divided into four 64k planes, so...
[4 replies] Last: I've found out that my emulator is missing the support for the MAP13, ... (by superfury)
error???
 
C:\dasdasff.cpp(153) : error C2447: missing function header (old-style formal list?) how to remov...
[1 reply] : Show some code and we can help. I'd wager it's a stray semicolon or b... (by MrHutch)
by aritra
Doubt2
 
What is the complete list of names of the standard narrow-character iostream objects? Choice 1: ...
[1 reply] : We're not a homework service. (by MikeyBoy)
Turning recursive to iterative form
 
So I have a code like this one below : void get_sum( INNER_ID id, vector<INNER_ID>& dont_chec...
[4 replies] Last: I start thinking again and again, I find one iterative solution, I try... (by rmxhaha)
VGA i/o port 0x3B8/0x3D8 and 0x3D9 effects?
 
What happens when, on a VGA, you read or write to ports 0x3B8/0x3D8 (depending on MDA mode) and 3D9?...
[no replies]
Help with coords please
 
So I want a program to start at a sertain coord on the screen how do I do that? I've never needed to...
[8 replies] Last: thanks to all.... because i also needed these types of information... (by Debraion)
Recursion code question
 
My question involves the bit of code in the function below called inOrder. I know the code works bec...
[11 replies] Last: you are on your way, to greatness. (by TinyTeeTree)
free()ing a _strdup'd value correctly?
 
In this EXAMPLE, am I free()ing this _strdup()'d return value correctly? char *getText(); v...
[4 replies] Last: char *getText(); void someFunction(void) { char *msg = getText(... (by xwielder)
by aritra
Doubt
 
class A { int i; public: A(int ii) { i = ii; } A(const A& a) { i = a.i; i++; } A& operator=(const ...
[2 replies] Last: Nothing undefined about it. http://ideone.com/0J9qvS (by cire)
by aritra
Doubt
 
class A { int i; public: A(int ii) { i = ii; } A(const A& a) { i = a.i; i++; } A& operator=(const ...
[2 replies] Last: You should use a debugger. Step through the code and you can look at t... (by firedraco)
Taskbar icon disappear on mouse
 
Hello, I am trying to add icon task bar to my program. When i put my mouse on the icon created...
[no replies]
for loop to find vector length
 
Ok my assignment has me doing vector math with some canned code provided for me by the instructor Th...
[1 reply] : Scalar Vector2D::Length() { Scalar lengthSquared=0.0; ... (by closed account o1vk4iN6)
Rand number gen help
 
Hey i have been playing around with random num gens and have had some issues. First of all i keep g...
[3 replies] Last: Thanks for the help! (by harnman)
by aritra
Question
 
Sample Code class Foo { int i; public: Foo(int x) : i(x) { } }; Referring to the sample code ab...
[2 replies] Last: The only correct line is line 4. (by vlad from moscow)
Summing up arrays
 
So the question is to let the user put in two integers and put each integer in an array as separate ...
[3 replies] Last: You should declare a third array that will have size equal to max( siz... (by vlad from moscow)
Quick Sort Implementation
 
Can someone help me with quick sort implementation. I am not able to sort using this implementation...
[no replies]
Random vector
 
I need a random unit vectors in n-dimensional space. Any idea how to build it in C++?
[6 replies] Last: Thanks a lot! This sounds good. I think each of your ideas, a gaussian... (by fotoni2)
Sending a string to a program.
 
I have a project, to make a program that spams chat programs. I've been trying to figure out how to ...
[1 reply] : Did you try std::cout << a << std::endl; ? What other way do you have... (by Smac89)
July 2013 Pages: 1... 1112131415... 34
  Archived months: [jun2013] [aug2013]

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