Beginners - August 2013 (Page 15)

Trouble with the following function?
 
The following function is suppose to check if the the users input is valid. However, I am having trouble with the if statements as they keep executing even thou...
[12 replies] Last: Thanks for all your help @Smac89, I will keep that in mind next time. (by Moonraker101)
How to render Text onscreen
 
Hi Everyone, I'd like to render some text onscreen for my game. I'm using SDL2.0 and I don't know how to do it. I think I need to use SDL_ttf, I'd like...
[1 reply] : Hi, I can recommend you the SDL2 tutorials by Lazyfoo. Here is a link:... (by theblackdog)
data structure using linked list, hashing and filestreaming
 
We have this final project and we are required to make a program using trees, linked lists, and file streaming.I have a few questions in mind with the construct...
[no replies]
Code::Blocks makes me want to shoot myself
 
I can not get Code::Blocks to work for the life of me. Simple code that works perfectly in VS Express displays a blank command line in Code::Blocks. Such as ...
[11 replies] Last: @MarketAnarchist System() is bad, and won't work with Code::Blocks un... (by Austin J)
My code written in CodeBlocks doesn't work correctly on
 
HI! This code : http://codepad.org/TtPXQqQT is a code for changing numbers to letters ! (not in English) It works correctly in CodeBlocks ! I gave it to an...
[4 replies] Last: The order matters very much, if you check the index before checking if... (by LB)
Expected an Expression in array
 
Hi, I'm working on a game for the iphone with dragonfire and I am a complete noob to c++. I'm trying to make the meerkat appear at a random hole. I don't know...
[4 replies] Last: [quote=heldenbrau]I thought that "Images/hole1.png" was a string. How... (by LB)
by Tom678
Help! Creating a Table, Please??
 
How to make a this table in c++ programming? 1 + 3 = 4 2 + 3 = 5 3 + 3 = 6 4 + 3 = 7 5 + 3 = 8 6 + 3 = 9 7 + 3 = 10 8 + 3 = 11 9 + 3 = 12 10 + 3 = 13
[5 replies] Last: Still, Thank you! Chriscpp (by Tom678)
need a better code
 
hey there! i made this code for 4 rgb and 1 led on arduino uno and need code to turn the led/rgb led dimming! help thank you.. int led = 13; int ...
[no replies]
by blobeb
Variable or field declared void
 
Hello, I have been learning c++ and sfml and I've been learning as i go along so i don't get bored. I have run into an issue with a class that i have created. I...
[3 replies] Last: I FIXED IT! and its all thanks to you, Market Anarchist! #include... (by blobeb)
by tatai
arranging file in day month year format
 
I have a text file with years in a column. like 2004 2004 2004 2004 2004 now I need to arrange the table in day, month, year format. say for january, ...
[no replies]
Rubik's cube face generator...
 
Ok so I'm creating a program that will hopefully eventually be able to solve a Rubik's cube, but I'm having problems generating the actual cube. I used numbe...
[2 replies] Last: Wow thanks. It's been awhile since I worked with C++... (by NZheadshot)
Pass reference of temporary object.
 
I am currently trying to understand OOP in C++. I want to know how to pass references of temporary object arguments to functions. I have an example with 3 ideas...
[2 replies] Last: Thanks :). (by Zerpent)
by Tom678
Debugging (Please help!)
 
#include <iostream> using namespace std; int main() { int sales = 0; int totalSales = 0; for (int store = 1, store < 3, store = store + 1) { cout << "...
[3 replies] Last: abhishekm71 (413) Thank You! (by Tom678)
main without type and return
 
My compiler lets me do this: main() { } Does the C++ standard allow this?
[8 replies] Last: @Daleth sorry for misunderstand (by Ceset)
Need some HELP for homework
 
I have no idea how do i start this work. can anyone just help me out? i want to know what are the functions code i can use. Menu System You are required t...
[2 replies] Last: This is what i got is a similar one but i try to change the number of ... (by supreme09)
by hychan
calculating scores
 
I'm currently working on a program that calculate scores and show the ranks. It works like this: 1) Input the 5 short forms of the names and their 5 scores....
[6 replies] Last: Consider using a std::vector<Person>. std::sort can sort such array a... (by keskiverto)
Beginner question here
 
im sure this is a noob question here, so sorry about that. and i have searched the web and tried figuring out this out but i cant seem to find anything although...
[4 replies] Last: That doesn't look like the whole code, but supposing it is you are mis... (by Zhuge)
HELP! can't seem to get started, need help on what to do!
 
Here is a sample of the task given by our teacher: An employee is paid at a rate of 40.00 per hour for the first 40 hours worked in a week. Any hours over th...
[1 reply] : I suggest that you take a look at other posts in the beginners forum. ... (by coder777)
Save and load from external file
 
I want to save data from a 20 by 60 array (yes its multidimensional -.-"), as well as save specific data in a formatted type of way, so that the data can be eas...
[1 reply] : See this: http://www.cplusplus.com/reference/ostream/basic_ostream/op... (by coder777)
Semi-Graphical Program
 
How do I get input that is surrounded by output Also how can I color parts of the screen How do I get input from arrow keys If anyone knows any of these (Win...
[5 replies] Last: I don't know. PM coming. (by Superdude)
August 2013 Pages: 1... 1314151617... 51
  Archived months: [jul2013] [sep2013]

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