Beginners - June 2015 (Page 13)

Sam's Teach yourself g++ problem, Please Help!
 
Hi, I'm 17 and I just started using Sams Teach Yourself C++ 5th edition. Hilariously, I somehow managed to get stuck on the first lesson. I installed the MinG...
[14 replies] Last: If you have Visual Studio 2013 there is a tutorial on how to compile s... (by shawnlau)
by nargos
I can not figgure out what I did wrong
 
help would be appreciated. I get an output of: Hello world This is a program Process returned 0 (0x0) execution time : 0.006 s Press any key to continue ...
[2 replies] Last: Thanks, the instruction video did not show that. :) (by nargos)
Payroll program
 
Hi,I need to create a payroll program for my project. For the assigment i have to create a payroll calculator for 4 types of employees and then the total pay of...
[1 reply] : A few problems: 1) paycode is an int. You can't enter a Q into an in... (by AbstractionAnon)
beginner: How do I improve usabillity
 
Hey! so I just started taking classes to learn programming(self search and and the use of forums is highly encouraged so here I go) (I've removed most comments...
[14 replies] Last: meant nobody used namespace std not the other way around... that's why... (by LuckyXII)
Is return Main() a good idea?
 
Hello, I'm trying to loop back through the menu instead of it exiting. I did came to the conclusion of return back to main(). Never tried it before but it worke...
[3 replies] Last: @andywestken @Ganado Thanks. (by Blackhart98)
Passing array by reference
 
Hello, everyone Im writing a simple program where the user will fill an array of integers. The array is then passed to a sort function that I'm writing. Heres t...
[7 replies] Last: Thanks andywestken. Didn't see your post before I wrote mine. That ans... (by Bad Request)
by Ganado
Function working w/o std:: namespace qualifier
 
While I was coding I realized I forgot to put std:: in front of my function name. Does anyone know why this actually compiles? Why does this compile without ha...
[2 replies] Last: Thanks, interesting feature/set of rules. (by Ganado)
Variable not Initialized
 
My compiler is telling me that my variable salary is not initialized, why is that and how can I fix it. #include <iostream> using namespace std; int mai...
[1 reply] : Everything seems to be okay, compiler should not complain. What compil... (by MiiNiPaa)
assert help?
 
i want to know what does this code mean? please give me an example of what assert can be replaced with? #include "AssetManager.h" #include<assert.h> ...
[1 reply] : assert is a macro with following behavior: if condition is true, progr... (by MiiNiPaa)
Need Help
 
I'd like to programm an DirectX DLL that I call from a C# Program In the C# program i call the init function from the Dll with the handle of the C# window so D...
[no replies]
c++ 11 compiler for windows
 
Please help me. How do I compile c++ 11 codes in windows? Give me a link to download if you can. I am of a beginner class.
[no replies]
Project Idea to get from Begginer to Intermediate
 
Hello! Begginer here! It's my first post on forum, sorry for my bad english and for probably long post. I am a begginer programmer, mor like a school one, for ...
[8 replies] Last: I sent it, I think (it doesn't appear in inbox). It should be ok, I'll... (by AlinP25)
by maritb
Problem with player's name when creating game.
 
I'm creating a simple hangman game in c++ and in the beginning the program asks the player for his/her name. I've declared the variable 'name' as a string and i...
[4 replies] Last: I had to add a cin.ignore() as well, not sure why yet (trying to find... (by MiiNiPaa)
by Optx
Program does not work for no reason
 
Hey guys. I made program that tests if word is same when you read it normally and from right, like words : ana, ama, bmb,anavolimilovana, oko When I run the p...
[3 replies] Last: The first character that you copy, is tekst[tekst.size()] . That is o... (by keskiverto)
Is there a way to know how long it takes user to input?
 
I am writing a math quiz game for my brother. And I want to know on which questions he takes more time and on which questions he takes lesser times to think. So...
[4 replies] Last: Thank you everyone for the help. I got it to work exactly the way I wa... (by newbiee999)
While loop works in the strange way!Need help!
 
Hey guys, Im new here and i have a "problem" with while loop. I was writting my first game then i came across a problem which , indeed is very strange. I ...
[4 replies] Last: I forgot to tell what my orgiinal code is too long ot post here so i c... (by Siaubakas)
TILING QUESTION
 
Hello guys! I need a help with a question here. Could you please post the complete code? It will be much appreciable. The program must calculate how much ...
[1 reply] : Please note, that this is not a homework site. We won't do your homewo... (by MiiNiPaa)
Read variable number of fields in a line
 
Hello, I'm trying to read data from a file of 6 lines, storing the values of the fields found in each line in 6 different vectors, knowing that this number of f...
[3 replies] Last: It seems possible: #include <string> // std::string #include <i... (by keskiverto)
What did I do wrong
 
Can some one please tell me why this wont work i have tried everything!(Also im a beginner to c++ and I wrote this program with Dev-c++) #include<iost...
[no replies]
delete p
 
I know that the delete p works, but I cannot visualize what is happening. I changed it to delete p because I think the memory elements should be delete to pre...
[2 replies] Last: Thank you, helios. (by phztfte1)
June 2015 Pages: 1... 1112131415... 32
  Archived months: [may2015] [jul2015]

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