Beginners - April 2013 (Page 70)

Beginner DirectX question
 
Im learning DirectX and was wondering if I get the header files for SDK 11 will they still be compat...
[5 replies] Last: Im telling i made the mistake of learning fixed pipeline DO NOT LEARN ... (by supperpiccle)
by SmOgER
'cout' not working in reading function ??
 
Ok, here's reading function: #include <iostream> #include <fstream> using namespace std; void s...
[13 replies] Last: Aghhh... Thanks a million! (by SmOgER)
C++/cli multithreading
 
Hey i'm kind of new to programming in managed c++ and am having trouble creating threads and startin...
[no replies]
Boost library and instream from internet
 
Hi! The function read_xml(filename, ptree) I want it to take the XML from an internet address lik...
[no replies]
return a set container
 
Hi! Just wanted to know if there is an easy and non memory heavy way of returning a set container ...
[5 replies] Last: Yes it does, thanks a lot. Now I learnt something very useful :D Than... (by Jonas Wingren)
0/1 tiles problem. I need the mathematical soln for this.
 
Problem 1: 0/1 Tiles To help Lavanya learn all about binary numbers and binary sequences, her fathe...
[1 reply] : This is my take on it. N = 1 -> Output = 1 N = 2 -> Output = ... (by cspctec)
by vin
cin.readsome and MinGW
 
In visual c++ express 2008 cin.readsome reads and stores the number of characters available and retu...
[1 reply] : http://en.cppreference.com/w/cpp/io/basic_istream/readsome The behavi... (by MiiNiPaa)
cin.get(); in struct function
 
Please look at the following code. Can anyone tell me what the purpose of the cin.get(); (I bolde...
[1 reply] : Probably it is here to skip newline symbol which can be left in input ... (by MiiNiPaa)
I dont know why this function is not working. Could you tell me how to get it to work.
 
its a simple tempertature conversion code. I know that it is for the most part incomplete for the s...
[3 replies] Last: And you shouldn't use doubles in for loops. Floating point values are... (by TheIdeasMan)
Game Dev concept.
 
I feel stupid, but I need help with one simple concept. I've though of a few ways to do it, but I fe...
[10 replies] Last: I've changed it so that the enemy attack power gets loaded in the cons... (by Austin J)
Sorting via pointers
 
In our assignment, we have to make a sort function using pointers! However, I am having a strange er...
[7 replies] Last: Note that the x, y, and temp on lines 6, 7, 8 are unused and can be de... (by Zhuge)
by tripke
Loops?
 
Being very new at this, it is hard to know what to use where. I can output text and store integers f...
[18 replies] Last: ok (by cyberdude)
Returning the largest value
 
I need some help with this problem: write a program that computes the maximum of four integer values...
[2 replies] Last: You're doing great, keep studying. some clues to make it work better:... (by Marcos Modenesi)
Functions: User Chosen File, Word Count w/ missing Main Function
 
I am just starting out learning C++. I have been working on this program for several days with no su...
[14 replies] Last: So, since the return will be an integer, then I should use int as my ... (by mizztrixi333)
Beginning game classes
 
I'll get right to the point: I'm trying to make a game sort of like Dwarf Fortress, but a lot less c...
[13 replies] Last: Ah, thanks! :) (by kyranstar)
I am having issues with my greatest common denominator function in my code.
 
Ok I have been working on this for a while and little by little and with the help of you guys for on...
[1 reply] : Your GCD function is flawed. If you were to input 9/12, first it would... (by Ispil)
by Popanu
Call-By-Reference and Value Function
 
Hello, I'm having a problem solving the following to make it "correct". Any guidance is greatly appr...
[6 replies] Last: Fixed! #include <iostream> using namespace std; int fun1(int& x); ... (by Popanu)
Bitwise Query
 
I promise, this is my last question for the day! I'm trying to query bits within an element of an un...
[2 replies] Last: I did fix it: unsigned char mask = (int)1; int byte = index/BITS_P... (by TaytayB)
Dynamic Memory Management Within A Class
 
I consider myself an o.k. programmer but I've only taken intro courses (self-taught mostly), but thi...
[3 replies] Last: You are redeclaring your array in the constructor. (by IceThatJaw)
by axtyax
Allegro c++ segmentation fault!!!
 
so here is the code for the main text document (main.cpp) : #include <allegro.h> #include "map.c...
[1 reply] : Instead of trying to link the sources files directly, use a header fil... (by Daleth)
April 2013 Pages: 1... 6869707172... 83
  Archived months: [mar2013] [may2013]

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