Beginners - May 2014 (Page 14)

by Huppa
Need some help!
 
Hello, I'm writing a little mini-game and I'm stuck at a point. What I want to do is add a loop tha...
[15 replies] Last: My method actually had an error I edited to fix (by CodeGoggles)
¿Cómo puedo sacar los numeros pares de un vector/arreglo?
 
Tengo diez numeros en un array, lo único que tengo que hacer es sacar de allí los numeros pares....
[8 replies] Last: That is up to you, I've already given examples of parsing an array of ... (by closed account j3Rz8vqX)
Segmentation fault
 
Here is a simple program that I got as an exercise from my book. I get the following error when I ru...
[2 replies] Last: Thank you MiiNiPaa So I just added begvi/begli = before it and that f... (by closed account EwCjE3v7)
Generate random numbers
 
I am trying to make a very simple console application that just prints out random numbers. Could...
[2 replies] Last: Thank you :D (by eirikg97)
Trouble with Variables in Classes
 
I'm doing tutorials on C++ and got to "Variables in Classes".. I keep getting the error "1.cpp |...
[2 replies] Last: Thank you so much <33!!! so stupid.. all i forgot was () -.-' (by Rsage1121)
Console game problems - PLEASE URGENT
 
I'm building a console game, but i'm having problems with the mouse code. I need to check if a certa...
[1 reply] : I skimmed... and stopped once I saw you were using threads to get mous... (by Disch)
HELP WITH THE "gets()"
 
When I execute de program it doesn't ask me to give the string, ¿why? #include <iostream> ...
[6 replies] Last: Some in-depth explanation of what is happening and how to avoid it: ht... (by MiiNiPaa)
error: assignment of function
 
Hi.Im new to programming . I started learning c++ few days ago.i chose my first book Jumping into c...
[2 replies] Last: MiiNiPaa thank you very much! i didnt learn pascal before but i wish i... (by IBIGSPOT)
a queue to track the 10 most recent #'s
 
So you are picking #'s and this program needs to the ten last numbers. When you press 'enter' the pr...
[14 replies] Last: If they want to add more, replace the oldest one with the new one. If ... (by Yay295)
Output error
 
I am trying to get the output income to be only to 2 decimal places, I attempted the cin.precision(2...
[1 reply] : I figured it out! cout << fixed << setprecision(2); (by DEnumber50)
iofstream problem
 
Hello there, for some reason the file highestScore, has the value 0 and it dosnt even change when I ...
[1 reply] : Oh lol, I`m assign the file its only value. line 126 should be newSco... (by closed account EwCjE3v7)
Income tax calculator
 
I am stuck writing this income tax calculator. It compiles and works with the right math on the inc...
[4 replies] Last: I have figured this one out, thanks for your response MiiNiPaa. (by DEnumber50)
Not initiating class
 
When i go execute my code there is this one class it will not go to. The class that wont work is th...
[1 reply] : Why are you doing StandardForm StandardForm as the name? To me that is... (by BHX)
by zdzero
Inheritance and virtual methods questions
 
I have something like this class Repository { private: MyArray<Something> *myList; MyArray<MyArr...
[3 replies] Last: Yes. Pretty much like that. (by MiiNiPaa)
by SanaJA
NEED HELP with my project
 
I have a project that ask me to create a system tracks the employee's tracking in a company. It main...
[1 reply] : Hi All, at first lets make a link list class, that have the flowing me... (by amirtork)
List iterator not dereferencable error
 
I know what causes this error but i dont know how to fix it without changing what im supposed to do ...
[3 replies] Last: thanks. :) (by ibasraeehilm)
How to keep up with the latest c++ updates?
 
What sites can i use to stay updated with the latest c++ standards and news? for example there are ...
[4 replies] Last: I learned a lot about C++11 while it was still a work in progress by h... (by Peter87)
Nested loop statement
 
I am confused of how to set up the loop here, the user will input a m for married or a s for single....
[3 replies] Last: wait I forgot something: bool is_again; // Note do { is_again = fa... (by coder777)
problem with returning a specific type
 
I get two errors: 1 unresolved external and Error 3 error LNK2019: unresolved external symbol _main ...
[2 replies] Last: Thanks (by ibasraeehilm)
Help figuring out code
 
I am studying some code and i can't figure out what is going on here. Record is a class by the way....
[1 reply] : This code is quite straight forward. I'd suggest you review the std::... (by AbstractionAnon)
May 2014 Pages: 1... 1213141516... 55
  Archived months: [apr2014] [jun2014]

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