Beginners - May 2011 (Page 6)

Text output for OpenGL.
 
I'm trying to make a simple game in OpenGL but I can't figure out how to Output text on the screen and ask for user input. I've found references online and...
[5 replies] Last: I second sfml. I'm going to be messing around with SDL though too. htt... (by brokenbot)
Making a stand-alone-executable
 
Hey, there! I'm trying to make an exectuable for my OpenGL game that I need to submit to my teacher. I'm currently using VS 2008 for building and compiling, but...
[6 replies] Last: If you click retry, you'll be prompted to debug the program. Do so. Th... (by helios)
a 2d issue :S
 
hey guys i need a way to make a 2d array with a size of now the idea is that all the row's coloms are related .... let us say as if the colloms are ...
[17 replies] Last: no man ... i want struct :D im in love with it already :DDD you see s... (by empreror)
by TesVC
How to export bloodshed to some sort of app
 
Hi, I took a beginners course(over a year ago) to Intro to Programming(Bloodshed C++), and I'm currently in the process of building my portfolio... I was wonder...
[4 replies] Last: @ hanst99 TY for the link, I will look into ASAP, and see if it's of ... (by TesVC)
by Ryuhi
function not reading file contents correctly
 
Can someone please explain how to fix the glitch i am experiencing? i dont understand why its occurring however i am fairly new to c++. The function is suppose...
[5 replies] Last: @LB So i need the which code below then to assign the Data read from t... (by Ryuhi)
by Ali89
More insight in designing our inheritance diagram
 
Hello, I want to know how can I get more insight in designing my inheritance diagram..I mean in a project with few classes or even in bigger projects, we should...
[1 reply] : In c++ there is no correct way of doing things. You can of course do e... (by Breadman)
how to properly use #include and .h files
 
Hi there everyone. I'm slowly figuring things out but im still a bit hazy on how to use the #include directive and structure my .h & .cpp files heres an example...
[9 replies] Last: Yeah I was on Ubuntu at the time and it was fine. Not as good as VS t... (by Disch)
how to sum two-dimensional arrays
 
Hi iam kind of confused in how to sum a two dimensional arrays. I think i need some help; (array +sum of the four surronding numbers)/5>6 Im working with...
[1 reply] : array + array[i+1] + array[i+1][j+1] + array[i-1][j-1]...etc; ju... (by Breadman)
Undefined reference to 'get_token()'
 
Hi, i have just started to learn programming for about a week and i started off using the book Principle and Practice C++. The book moved rather fast and i am o...
[9 replies] Last: Your welcome, glad to help! (by dangrr888)
by th3ant
Automatically generated variables in loops?
 
Hi Guys and Girls, Just started C++ not long ago, and I want to make a console app based calculator to test my new knowledge. To save a whole heap of coding ...
[4 replies] Last: Why do you need to keep track of every number and perform the operatio... (by LB)
Problem with pointers to a string
 
Code: #include <iostream> #include <string> using namespace std; string getLetterAt(string*, int); int main() { cout<<getLetterAt("Banana",3...
[7 replies] Last: All string literals in the source code, like "Banana" over there occ... (by webJose)
how to do this.
 
is there any why i can see in the memory. i wanna see whats happening in the memory when i create variables run the program. enter values on them and how many...
[2 replies] Last: Maybe Code::Blocks support add-ons? If so, and if the memory peek fun... (by webJose)
Algebra in C++
 
double p = PeriodComponents.GetPeriod() double P = (1/(sqrt(2*3.1415)*.69*p))^(-(1/(2*.69^2))((log (p))-log (5))^2) In this section of code I define a va...
[3 replies] Last: Thanks guys. My code now looks like this: double p = PeriodCompone... (by closed account zbREy60M)
by AlecC
Output/Input to File Help
 
Can anyone help me with part of a program I'm making? I just tried to make a program that would compare two different files and see if they were the same. I did...
[2 replies] Last: I was reading the file like this but it seems alot different from the ... (by AlecC)
What does this nameless object of class mean?
 
#include <SFML/Graphics.hpp> int main() { sf::Vector2i(30,50); return 0; } As you can see, this compiled. How would I manipulate it if it does...
[4 replies] Last: The only way to manipulate anonymously is to do the whole thing in a s... (by webJose)
Read multiple lines from file into string
 
Hi, I have a file that contains several paragraphs. Each paragraph starts with a §. Now I want to read all the lines in between two § into a vector<string...
[3 replies] Last: solved it :) with help of this http://www.tutorials.de/c-c/339330-c-wi... (by bibiana)
by sebgar
About Namespace
 
Is there any situation where you would want to use option 2 instead of option 1? option 1) using namespace std; option 2) using std::cout;
[7 replies] Last: Full name qualification is usually best. Usually, yes - except when... (by Athar)
by OOP
[Help Needed] Windows Form C++ declare string and serial port commu
 
Hi all, How do you : -Declare String in Windows Form C++ -Serial Port Communication in Windows Form C++
[1 reply] : What is this 'Windows Form'? .Net? (by coder777)
File version maintenance utility
 
File version maintenance utility   A team of software developers has been asked to develop a file version maintenance utility . The utility should maint...
[1 reply] : That all seems fine. Good luck with it. If you hit any problems in you... (by Moschops)
static variable and initialization
 
When I create a static variable local to a function: e.g. void f(void) { static int i = 5; static int t = GetTickCount(); ... } Is the variable ...
[3 replies] Last: [quote=Champion]So if the function f() is called 10s after the program... (by closed account zb0S216C)
May 2011 Pages: 1... 45678... 48
  Archived months: [apr2011] [jun2011]

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