Beginners - January 2013

by colem
cout from array problem
 
ok peeps, i am new to all of this, i was writing this program, to generate 5 random numbers, and the...
[1 reply] : Check carefully your for loop conditions. Also...holy crap! What's up... (by firedraco)
Need help with Allegro!!
 
I need help with Allegro 5. All I need help with is Installing it. Right now I have a Windows 7 U...
[no replies]
Decimal to Hexadecimal converter
 
Hey guys, I would like to get your feedback on my dec to hex converter. I've been absent from this s...
[16 replies] Last: Thanks Chervil ! (by klutzslouch)
Scanning a *.txt file line by line and checking compatability
 
How would I scan a *.txt file line by line to see if any of the lines in the *.txt file matched a st...
[3 replies] Last: #include <fstream> #include <iostream> #include <vector> #include <i... (by Lowest0ne)
by Niven
Getting Input in SDL
 
I'm making a program that after you lose, if you get a high-score, it lets you input your initials. ...
[3 replies] Last: No, I had not. Thanks, it seems to be working now (by Niven)
Bank Account Problem. Converting a UML diagram to code.
 
UML Diagram: http://i48.tinypic.com/swpavb.jpg Above is a pic of a UML diagram I got today in cla...
[4 replies] Last: It's kind of rudimentary in terms of how an account is represented (I ... (by randisking)
Getline problem
 
I'm having a problem with getline making me skip an input part of this program. Run the code and you...
[10 replies] Last: HAHA Ahhh I get the drift now. Thank you again! (by JBIRD304)
Close a Repeating Main Function
 
Hi all. I'm very new to C++, really just been learning the past two days. I'm going through the tuto...
[16 replies] Last: Ok cool. I just set the parameters to accept with upper or lowercase :... (by AeneasDaedri)
Help with c++ homework?
 
Hello all, I'm very new to c++, I've been trying to make these programs work but I keep getting erro...
[2 replies] Last: Ah!!! it works!!! Thank you thank you thank you!!! (by halamaker)
Vector of Structs
 
I am trying to fill a vector with structs that are read in from a .txt file. This is what I have so...
[1 reply] : //Push_back() with an empty struct. //Can't edit a vector with nothin... (by Lynx876)
2 dimensional array
 
How to generate random numbers in a 2 dimensional array. Searched everywhere to try to teach myself,...
[5 replies] Last: Oh ok, thanks! Everyone's answer helped. Just have to re-familiarize m... (by sean903)
by JakOrp
Do while loop problem
 
I have used a do/while loop in an assignment before and believe I understand them (some on here help...
[2 replies] Last: Solved (by JakOrp)
Explanation of function
 
bool inline KEYDOWN(int vkCode) { return (GetAsyncKeyState(vkCode) & 0x8000) ? true : false; } I...
[6 replies] Last: I never said he did not (by mekkatorqu)
Simple c++ program (new to c++ need help with cin/cout multiple variables in DOS program
 
Will show current code at bottom of thread, first of all huge thanks to anyone who helps out and eve...
[4 replies] Last: #include <cstdlib> #include <iostream> #include <string> // to use ... (by Oria)
by rcast
myfile.open (variable)
 
I'm getting an error while trying to use a user defined variable, as the filename for myfile.open (v...
[7 replies] Last: I, myself, would use the latest. Which I do. Learn now, what you don'... (by Lynx876)
Function to change content in 2 dimensional array
 
Hi, I'm learning C++ on my own by reading different tutorials on the web. I'm trying to create a sim...
[2 replies] Last: oh, I had been struggling with this for hours but totally missed that ... (by northmoose)
Please help with c++ homework
 
I was just introduced to while loops but the instructions on this so-called "tutorial" I was assigne...
[3 replies] Last: The first part of the things in the parentheses () of the for loop sho... (by dragonblader44)
Setting a number to the hundredths place
 
Making a tip calculator does this make the final answer to the hundredths place like money #inclu...
[4 replies] Last: percent is a char but you are doing a comparison with an int. Plus, y... (by randisking)
problem with cmath/static cast
 
I'm supposed to use cmath functions & static_cast to calculate the midpoint and distance between two...
[5 replies] Last: Thanks, it's working now. (by thephantom)
by Lukas
Editing class object values
 
Hello everyone, I am trying to do a text based rpg game. and now I am stuck.... I want to create a ...
[3 replies] Last: Your idea of classes as tables is ...odd. I'm not sure where you got t... (by LB)
January 2013 Pages: 123... 53
  Archived months: [dec2012] [feb2013]

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