General C++ Programming - June 2012 (Page 16)

Program closing after execution
 
using System; namespace Permutations { /// <summary> /// Permutations in C# Using Recu...
[6 replies] Last: before the end of main() (by viliml)
I dont understand the question!!!
 
imagine we have 2 empty stack of integers S1 and S2. pushStack(S1,2); pushStack(S1,3); pushS...
[15 replies] Last: Here, try this out, it might clear it up a bit how to do your excat as... (by viliml)
DirectX Detailed Tutorial? (1,2)
 
i cant seem to find a detailed DirectX Game Programming tutorial... i am a person that does not know...
[23 replies] Last: This is why I think people should learn from reading documentation, a... (by BHX)
by sanyam
select() function not removing unresponsive file descritors
 
This program is supposed to wait for user input for 2.5 secs before printing time out. or print "A k...
[5 replies] Last: iskeypressed() for Windows: http://www.cplusplus.com/forum/beginner/56... (by Duthomhas)
by Nanne
2D string array as parameter to function
 
Hi, Is it possible to pass a 2D dynamic string array to a function as a parameter? For.Ex: ...
[4 replies] Last: Thank you for suggestion and example too. I use MS VC++ .. I will go w... (by Nanne)
Including headers
 
Is it wrong to take it for granted that some standard headers include others? An example would be ...
[3 replies] Last: Don't sweat the small stuff. (by moorecm)
SFML how to in MonoDevelop (Ubuntu 11.10)
 
Hello, After I got the SFML tip from someone among you I decided to try it on both Windows and Un...
[2 replies] Last: It doesn't bother me, it works well with C++ (as far as I've used it).... (by closed account 3TXyhbRD)
by Yocomp
need help..
 
Martha takes a jar of quarters to the casino with the intention of becoming rich, She plays 3 machin...
[16 replies] Last: @Yocomp: here's the fixed code, all you have to do now is: 1. READ THE... (by viliml)
how do i make a 2D pc game?
 
ive tried using directX and i noticed you have to make the models Point by Point and i cant fucking ...
[6 replies] Last: Blender isn't what you want for 2D, really. Stick with something like... (by MrHutch)
by webbro
Why i can't create HandleScope?
 
Hellow! I'm having a little trouble! I'm using v8lib (v8 JavaScript Engine). In function that ...
[no replies]
Strange for loop error using arrays
 
I came across a strange error tonight writing a simple for loop in code::blocks. This function retur...
[2 replies] Last: wow, what a dumb mistake lol. I think ill have to get some rest for to... (by Need4Sleep)
by sanyam
sockets and stdin program. Need assistance.
 
#include<winsock.h> #include<iostream.h> #include<conio.h> // file descriptor for standard inpu...
[no replies]
C++ TR1 Random Number Gen
 
Anyone know of any good documentation on the <random> header of TR1. I can hardly find anything....
[3 replies] Last: Thanks. I'll try the boost libraries sometime. For the TR1, So "eng... (by closed account 4oL1hbRD)
vector class?
 
Hay all. At the moment I am trying to make my own 2D vector library just to get a better understandi...
[3 replies] Last: If I were you, I would leverage complex numbers in your code -- if you... (by Cubbi)
by Yocomp
calendar program
 
need help with program to print out a calendar for a particular month given the day on which the fir...
[5 replies] Last: If you'd like some help with perspective, describe what you've done an... (by kbw)
Interesting problem creating bitmaps
 
Problem Description: I'm writing some code for the Microsoft Kinect and have borrowed some of their ...
[1 reply] : I didn't read your code, but why not use a counter in your file name: ... (by exiledAussie)
by neurax
Taking things a little further..
 
Current programming experience: C++ (all knowledge about object orientation) Java (all knowledge...
[1 reply] : I'd suggest you start looking at communication protocols and the libra... (by exiledAussie)
Time complexity for merging two sorted arrays of size n and m
 
I was just wondering what is the time complexty of merging two sorted arrays of size n and m, given ...
[2 replies] Last: Mergesort would be O( (n + m) log(n+m) ), because it must do the sorti... (by doug4)
question about template class
 
Why the following code can't be compiled? thanks! #include <cassert> #include <iostream> using...
[5 replies] Last: template<typename N> Vector(const Vector<N> & t) { ... (by guestgulkan)
Problem with STL and Composition
 
I am writing a code which is similar to the below module. class testclass5; //Forward Declaratio...
[4 replies] Last: Its working now. thanks for the help :) (by hello 12345)
June 2012 Pages: 1... 1415161718... 33
  Archived months: [may2012] [jul2012]

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