
please wait
by EricJohnson
some matter about cin
|
i'm trying initializing two vector<int> with the ""while(cin >> num)"" loop,the code as you see. but i can't initializing ivec2, i don't know why... #incl... |
May 21, 2013 at 1:31pm
[6 replies] Last: But I don't think failure is a decent way terminate the loop (even th... (by Chervil)
|
by Jujo920
Help C++ dynamic programming
|
Hi guys, I'm working at a project about a popular italian game, but I've got any problem in the code: I want to get it better with vector or list for the imagep... |
May 21, 2013 at 12:38pm
[4 replies] Last: Linker combines binary code "object files" into the executable. It ma... (by keskiverto)
|
want to play again? |
I made a text based game where the player tries to guess a pre set number. That works fine. At the end there is a 'want to play again'? type thing. The main cod... |
May 21, 2013 at 12:22pm
[3 replies] Last: Also single quotes (char). (by agnophilo)
|
by nxs
client/server problem
|
Hi everyone. Sorry for my English... So I am writing a client/server program and I would like to send a command that will be exexuted on the remote client with... |
May 21, 2013 at 10:01am
[no replies]
|
by flyingEagle
Uninitialized Local Variable within Case block.
|
Hi again, I am having problems with my case block. Within it is a variable called userChoice. This variable stores the user's input. I don't know why I am getti... |
May 21, 2013 at 9:59am
[1 reply] : line 11 is supposed to be before switch (by coder777)
|
by xylon97
MPIR installation help
|
Hello I am trying to install MPIR on my computer for the past 2 days. I am using windows7 + codeblocks + minGW. I downloaded MPIR 2.6.0 from their site and... |
May 21, 2013 at 9:45am
[no replies]
|
by serviceproz
hello from serviceproz
|
Hello everyone, I was exploring this forum from a long time, I found this forum interesting so I join this community to get and share knowledge. I hope I will ... |
May 21, 2013 at 8:33am
[2 replies] Last: thanks for showing interest. (by serviceproz)
|
by luminaire
string random [emergency]
|
help me how we use a string random in c++? |
May 21, 2013 at 8:32am
[1 reply] : tell more about what you're trying to achieve (by coder777)
|
by menious
Overloading
|
I am positive I did this right but I can't figure out why when I compile I am getting a weird error. header #ifndef H_complexNumber #define H_comple... |
May 21, 2013 at 7:32am
[6 replies] Last: Yeah your right I just meant the prototype and definition header didn'... (by Yanson)
|
by dunnmifflsys
Being able to type int or char
|
I'm currently writing a program that will half simulate a modified version of poker. I am in a very early stage of the program which will be incorporated in a l... |
May 21, 2013 at 5:40am
[5 replies] Last: Thank you, this did end up working. (by dunnmifflsys)
|
by TheGingerKid
Replacement for system("cls")
|
What is a replacement for system("cls")? I want to clear the screen and start at back at the top of it. p.s I'm afraid someone on this forum would stab me if ... |
May 21, 2013 at 3:24am
[2 replies] Last: http://www.cplusplus.com/articles/4z18T05o/ (by Daleth)
|
need help with c++ program please |
the program is suppose to calculate the mpg of 10 vehicles, and then average the total mpg for all 10 vehicles. i wrote the program, but it only calculates the ... |
May 21, 2013 at 3:14am
[9 replies] Last: sorry if its already been suggested. . . just trying to help out (by TECKSPEED)
|
by TheGingerKid
Multidimensional array complies but fails to run
|
#include <iostream> using namespace std; void arrays(string location ); string location ; int main() { arrays(location); //This simple fu... |
May 21, 2013 at 2:30am
[1 reply] : Fix: Your an idiot (this is how i expected you guys to reply to me). C... (by TheGingerKid)
|
Sdl_surface arrays |
I would like to know how to create an array of sdl surfaces. I've heard that its possible, but I'm not quite sure how. I think it involves something like this: ... |
May 21, 2013 at 2:07am
[1 reply] : SDL_Surface* surfaces[ 2 ]; surfaces[ 0 ] = SDL_LoadBMP( "surface1.... (by Fransje)
|
by cometlove1
Function calling
|
How do you call a function? |
May 21, 2013 at 1:53am
[15 replies] Last: Ok, let's just try to explain this one step at a time. The simplest ... (by Austin J)
|
by vindel
Is it possible to make a conditional CIN?
|
What I mean by this is, is it possible for an IF statement to perform a given action if the CIN includes a given word? For instance, I'd like to give an answer... |
May 21, 2013 at 1:05am
[4 replies] Last: Wow. This is perfect. Thank you so much! (by vindel)
|
by thatguy45
Need help with Functions please
|
I need to write the functions for this, but I can't seem to do it. I've spent way too long trying it, I know I've strayed away from the right track. Any help/ex... |
May 21, 2013 at 12:46am
[1 reply] : http://www.cplusplus.com/doc/tutorial/ (by Zaita)
|
by cometlove1
Why won't this compile?
|
Why won't this code compile? line 6 gives errors. #include <iostream> #include <fstream> #include <string> using namespace std; string a,b,c,class... |
May 21, 2013 at 12:11am
[11 replies] Last: Solved it. Thanks. (by cometlove1)
|
SDL and opengl |
So I have been using c++ for a few months now, and though not skilled am wanting something more. I am trying to use SDL and OpenGL for the creation of 2d games.... |
May 20, 2013 at 11:46pm
[1 reply] : Returning with 1 means that something went wrong. One or more of your ... (by Austin J)
|
by UndeadNexus
Input file help
|
I am having trouble making the program open a file. What this program does is that it prompts the user for a file name so that it can open that file and count t... |
May 20, 2013 at 11:19pm
[3 replies] Last: Thanks!! I'll try it (by UndeadNexus)
|