General C++ Programming (Page 33)

More Looping?
 
Sorry to bring up looping again, but I've got a random number generator in my program. with the prog...
[3 replies] Last: http://www.cplusplus.com/reference/random/ http://en.cppreference.com/... (by LB)
OPERATOR OVERLOADING
 
Im trying to do line 92 with the overloaded operator << on line 69. I dont think i did it right. Can...
[3 replies] Last: I fixed it already. I wanted to make statement like cout<<getMaxTemp... (by programmercarlito)
I/O Redirect Unix/C++
 
Looking to use C++ to take input from a file in Unix. Filename could be any name at any address suc...
[2 replies] Last: Ah, thanks. I was under the impression it was just giving file name. (by whalord)
Lost with Looping
 
I'm trying to create a program that loops "x" number of times, where "x" is going to be a user-input...
[2 replies] Last: Thank youuu. :) I've got the whole program done, my buddy just wanted ... (by KyuubiCalvary)
by WAKS
how to make a tile map?
 
Hello! I'm making a 2D rpg game. Right now am I using one large background image that I move around...
[no replies]
by doug4
Char stream
 
I have a project where I need to process large chunks of data that can be coming either from a file ...
[1 reply] : You can easily take any old stream you want and replace its streambuff... (by LB)
selective runtime check
 
Hi everyone, I'm working on comparing different sorting algorithms' efficiency and wondering, is ...
[2 replies] Last: Great info, thank you! (by Mephisto777)
Need help finishing code
 
ASAP if possible class SadPirate : public Pirate { public: SadPirate(string n, int numP) { fav...
[1 reply] : do not double post.. (by mutexe)
Convert image to 8bitmime
 
Hi, I'm trying to write a rest sdk client for Facebook integration. But I stuck at upload user photo...
[no replies]
by mutexe
unique_ptr and error 'deleting function'.
 
Hello, Been away from c++ for a few months now (apart from answering a few questions on this site)....
[5 replies] Last: gotcha. Cheers fella. (by mutexe)
parse a string contains number and characters in c++ from file
 
hello!! I have a text file which contains many sentences. I am trying to extract only the numerical...
[1 reply] : 1. Read each line into a std::string variable (e.g. using std::getl... (by LB)
default parameter
 
I make a function void fun1(int x=10, int y=20, int z=30){ // code } int main(){ fun1(,y,)// I w...
[2 replies] Last: thnx actually more than thax really good one. very smart tics. (by sujitnag)
std::ifstream eclipse and Win32
 
Hi, I'm using eclipse + boost + mode -std = c ++ 11, but the compiler gives me error, this progr...
[9 replies] Last: Hi, You ask me where encode is Declared? well this is the link ... (by raulpuro)
file i/o nightmare using fstream
 
Hi there! I've been trying to implement a database for a game I'm making, and I have a big problem. ...
[2 replies] Last: Yeah that's what I just figured.... I'll do that. Thanks! AeonFlux121... (by AeonFlux1212)
Conway's Game of Life Code
 
Hey guys, I have this project as an assignment and I've run into a problem I just can't seem to solv...
[1 reply] : Remember to use code tags. #include "stdafx.h" #include <iostream> #... (by Militie)
Reading and Writing files
 
I have to write a program that sorts names and grades from a file and output them to another. For...
[2 replies] Last: Thanks for the help, I stored the data line-by-line as you said, and I... (by JumpKick)
inheritance in classes, im not shur how to do this, please help.
 
here is what I did so far #include <iostream> using namespace std; class Adress { protected: stri...
[no replies]
please help with class(.h) file
 
\\I have no idea what I'm doing wrong #include <iostream> using namespace std; class Address{ ...
[4 replies] Last: THANKYOU SO MUCH, and for your time to I cant believe I didn't notice... (by isaacthebro)
using decrement operator in recursive function argument list
 
Im using a recursive function to sort array. The decrement operator is used to eventually get to bas...
[3 replies] Last: 1. the variable is never used after that line 2. after that line, the ... (by LB)
C++ for Rockstar Games' Social Club?
 
Hello there. I have a question regarding a certain job. If you look at the following link: ht...
[2 replies] Last: [quote=heepoo]i think it uses UDP port to connect to servers, because ... (by Z e r e o)
Pages: 1... 3132333435... 51
  Archived months: [jan2015]

Cannot post in this page. To post a new message, go to the first page.