Beginners - August 2014 (Page 17)

help installing ncurses (mac)
 
I am trying this simple ncurses program, and I get an error I cannot interpret. #include <ncurses.h> #include <iostream> using namespace std; int main() { i...
[4 replies] Last: thanks! (by heyyouyesyouiloveyou)
help with makefile (mac)
 
So this is my current makefile for a program: .PHONY: clean All All: @echo "----------Building project:[ Beads - Debug ]----------" @$(MAKE) -f "B...
[no replies]
by Ch1156
Game questions
 
I'm making a game engine with SFML and I had a few questions before I start writing my game. My first question is when I'm loading sound and or music, is it ...
[17 replies] Last: As for the component based system, do you mean like for my engine mak... (by giblit)
Adding SFML library Geany
 
Hello Well, I'm using Geany as me IDE and I really like it. But I've got a problem with binding the SFML library to it. I know it must be done by changin...
[9 replies] Last: You need to have a loop that renders your window and other stuff. Go c... (by firedraco)
by yj1214
do i need java to play games that are written in java?
 
do i need java to play games that are written in java? i know that minecraft is written in java and you have to have java to play minecraft. is there is g...
[4 replies] Last: Java code runs in a JVM, which is how they achieve the "Compile once, ... (by ResidentBiscuit)
Am I ready to pick up C++?
 
First off, sorry if I'm putting this in the wrong section. Please move it to the correct area if I've made a mistake. I'm quite an experienced programmer in la...
[6 replies] Last: C++ has a stigma of being very large and very scary. And to some degre... (by Duthomhas)
by Zloi
Convert str to int.
 
Hi everyone. Also a very stupid question: which function does convert string to int? Like strtoint in Pascal. And which converts them backwards?
[5 replies] Last: Also you might also like to use the stringstream objects , i mean th... (by closed account SECMoG1T)
Help with output
 
My program runs, but when it doesn't display right output for management level, category, hours. Total employee counter is off by 1. Thank you! #include...
[11 replies] Last: If you're checking the value that was sent into the function, you'd wa... (by wildblue)
Can't find the error (related to % ?)
 
int a ,i; a =0; a =1; for (i=2;i<=20;i++) a =(7*a[i-1])%1000-(10*a[i-2])%1000+(pow(3,i))%1000;
[2 replies] Last: Thanks, changing it to int(pow(3,i)) gets rid of the problem.... (by gameprogrammer)
write function on file
 
i am trying to write input() function into file..... please help.... i am using visual studio 2013 // N Copy.cpp : Defines the entry point for the con...
[1 reply] : file << input(); This will print the value returned by input(), but... (by Peter87)
Reading Strings From Two Files
 
So basically I have to open two files. The files have the following content: File1.txt File2.txt 1r Orange 9k Apple 2...
[1 reply] : Sorry the contents of the files aren't clear. File1.txt: 1r ... (by eliS300)
Having issues with this Program why wont it run?
 
Having issues with this Program why wont it run? it wont recognize inLab or inMx plz help #include <string> #include <iostream> using std::cout; ...
[2 replies] Last: Line 14: Your float calculation is going to get truncated to an int. ... (by AbstractionAnon)
by Nezar
What does it mean to join a thread ?
 
Hi, Could you please explain how threads work exactly ? what does it mean to join a thread ? what are thread races ? what are they used for ? how can one ...
[3 replies] Last: NT3 did a great job but I'd like to add that in order to "master multi... (by Computergeek01)
importing data from text file to vector
 
Good evening everyone. The following code is meant to import data from a text file and store it in a vector, where the data is a x,y-Point. At the moment, i...
[4 replies] Last: i is a point iterator, and dereferencing it returns a point. The pr... (by Lowest0ne)
Tournament simulator
 
I want to write a program that will simulate a football tournament like the world cup. Teams will be divided into groups and matches simulated. Group teams...
[1 reply] : It doesn't give us much to go on to say "I have an idea but it is too ... (by Lowest0ne)
by Zloi
Calculator on Qt C++. Problem with QString and delete.
 
Hi! I'm new in C++ programming. THis is my First GUI application. It's just a very simple Calculator. #include "mainwindow.h" #include "ui_mainwindow.h" #in...
[1 reply] : 1) The data, which I get from lineEdit is a QString. But function lik... (by kbw)
Input from text file from a specific location
 
Good morning, friends of the elevated entertainment. I am trying to write a program that imports data from a text file from a specific location on my hard d...
[2 replies] Last: Thank you very much, now it works. (by Borstian)
by lekha
while loop..
 
Attached is the code for creating a school arithmetic operation game. well, i would like to add a code so that after 1 game is finished it it can ask " do yo...
[3 replies] Last: i've found the solution thank you very much for your help... i really ... (by lekha)
Not expected output
 
I've written the following code. If I input 333 250 40 then using the formula requiredrate = (target-crun)/rball*6; the output should be 12.60 (I calculat...
[2 replies] Last: Thanks a lot..I understand and it worked! :) (by abdalimran)
by yj1214
Should i learn python 2 or 3?
 
I downloaded python 3.4.1 and searched tutorials for this version, and there is less tutorials for 3.4.1 so should i learn python 2 (which is stable) and lea...
[3 replies] Last: Go for Lynda Tutorial - Python 3 Essential Training: Link: http://ww... (by Atyab)
August 2014 Pages: 1... 1516171819... 40
  Archived months: [jul2014] [sep2014]

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