General C++ Programming - January 2012 (Page 33)

Help
 
hello.. I have a problem, I bet with my friend to complete a program but so far I have not done, th...
[8 replies] Last: i want to create my out put from: http://oi39.tinypic.com/k1a0ig.jpg... (by munziat)
Will arrays store anything?
 
I wanted to know if, for a game, I can store a series of pointers to image data within an array to c...
[12 replies] Last: cin.getline(arr,50,'\n'); cout<<"\n\t Reverse words are = "; for(in... (by Abdul Ghafoor)
Algorithm required
 
Your school has ordered some equipment that has been delivered in a number of very heavy cartons. E...
[5 replies] Last: Ok so you want to generate all permutations first and then link those ... (by shankvee)
by codder
Generate strings
 
Hi all, I want to generate some strings by algorithm. There are some algorithm that generate alp...
[3 replies] Last: You still need to call srand(time(NULL)) to initialize random (by aquaz)
by och
libcurl POSTFIELDS and POST body
 
Hello, I need to create http POST request with POSTFIELDS and body. Something like curl_easy_seto...
[1 reply] : It's not clear what you're trying to do. I suggest you read the tutori... (by kev82)
Side-by-side errors and other problems on interop with 3rd party dll
 
I'm not 100% new to C++, but it has been a while since I have used it. That said, I don't believe th...
[1 reply] : Do you have visual studio 2008 installed ? The 3rd party dll needs vs2... (by modoran)
Problem with cin.get()
 
I wrote this simple program: #include <iostream> int main() { using namespace std; char wo...
[5 replies] Last: http://cplusplus.com/reference/iostream/istream/get/ If the delimitin... (by ne555)
Replacement For Form Feed? (1,2)
 
It appears that '\f' Form Feed no longer clears the screen, at least on the bash terminal type (unle...
[20 replies] Last: I still think it near useless... (But I'm glad you caught the fun!) (by Duthomhas)
Classes & References
 
(Attention: Crappy explaination) I need 2 classes to hold references to each other. Ima show exampl...
[4 replies] Last: The reason you're finding this difficult to do is because it's very da... (by Disch)
Math Problem: Direction and Distance
 
I am making a Particle simulator thing and I couldn't work out the formula for finding the new posit...
[2 replies] Last: This was very helpful thanks (by closed account 2NywAqkS)
passing in ifstream and getting a word, without use of vector
 
Hi everyone, I have to create a function which passes in an ifstream& output and an ofstream. Th...
[4 replies] Last: tokenize is not a standard function it's one you've got to write usin... (by andywestken)
Sound stops game?
 
Hey, I'm using the PlaySound function for my game but when it plays, it stops the game until its fin...
[8 replies] Last: I was wondering if there was something going on which was disrupting t... (by andywestken)
WHAT IS A CONSTRUCT IN C++?
 
Hi everyone, can somebody explain to me what a construct is.
[2 replies] Last: Thank you Albatross, this helps a lot. much appreciated, (by ayanda83)
by bamber
Iostreams
 
I would be grateful for help in solving the following.In lippman C++ primer 4th edition page p289 I...
[no replies]
how do I tile texture?
 
I am trying to write a program using OpenGL and SOIL to display a picture. Currently it is stretchin...
[no replies]
by Arya13
file handling doubt in C++???.....
 
when a text file is given in this format which is ordered and has no commas or any characters- 60 ...
[5 replies] Last: Read a line. Then from that line read one string, and numbers till the... (by ne555)
how do I create a subclass?
 
Suppose I have structure A; struct A { int Aint; } InstanceOfA; Now I want to create a new st...
[4 replies] Last: you can do this: struct A { A() : b_(this) { } private: B b_; } T... (by aquaz)
iterators as parameters in template functions
 
Hi - I'm trying to create a template function. Here's the .h file: #include <iostream> #incl...
[8 replies] Last: Where temp is an int32_t regardless of the template parameter type. S... (by bluecoder)
can anyone explain this line for me?
 
im beginner in c++.i try to understand this code but i cant find what is this code mean..can anyone ...
[4 replies] Last: "the length of the size of the inventory structure soory i mean to s... (by bluecoder)
by GOLF O
Infine Loop problem
 
Hello, I have my program running into an infinite loop and I can't seem to find out where the issue...
[5 replies] Last: As jim80y said you need to check for the fileIn.is_open() condition... (by bluecoder)
January 2012 Pages: 1... 313233343536
  Archived months: [dec2011] [feb2012]

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