Beginners (Page 3)

Run SDL application from IDE
 
Hi all, I have an SDL snake game that uses .png textures. I want to run it from Visual Studio 2012 ...
[no replies]
by tpinon
ignoring switch case?
 
For some reason it's ignoring the instruction under each case. The menu appears, I select an option ...
[3 replies] Last: omg what an idiot i am! :) thanks guys (by tpinon)
c++ program
 
i want to write a function that would go through an array and see if all of its elements are the s...
[2 replies] Last: If I correctly understand what you meant, maybe this will help bool... (by arzhon)
by tpinon
[linker error] help
 
I'm not sure why I'm getting this error. This is the first time I use functions. Any suggestions? ...
[2 replies] Last: You do not return any value from function Menu. (by vlad from moscow)
by TMix
Debugging a function with arrays
 
Hello everyone, I'm working on debugging some code (this is a homework question, but I only want to ...
[1 reply] : consider 2 approaches #1, comment out everything that doesn't work and... (by SamuelAdams)
#ifs and assert()s
 
Hi there. I'm studying C++ out of C++ for dummies, 6th edition. When it comes to #ifs, I get the ...
[3 replies] Last: Intrinsically defined constants are constants that are defined by the ... (by AbstractionAnon)
by kohlh
finding the mode in a vector
 
I am working on a basic problem with vectors. How to find the mode. I have searched the internet and...
[1 reply] : You've sorted your vector, so it's fairly straightforward. Iterate th... (by cire)
I need help rounding interest
 
I had to make an if else program calculate interest for a class, well just to return the percentage ...
[2 replies] Last: Thanks it helped! (by Brandonyoungblood)
Unknown but thirsty for knowledge... Automatically executing
 
Hello all, I´ve got a problem wich awnser seems to be find in c++, but I haven´t any knoledge abo...
[no replies]
by mirec
word replace.
 
hi how can I make one of the underscore on line elleven change to some letter/ I tried to put p...
[1 reply] : I have understood nothing. But maybe this code will be useful for you ... (by vlad from moscow)
New to C++... where to begin?
 
Greetings, I have always been fascinated with programming, though I've never delved too far into ...
[1 reply] : Welcome! I'd start off with simple console applications. Your best st... (by iHutch105)
Menus
 
I want to know how I can make a menu so people can choose what they want to buy. I know how to make ...
[12 replies] Last: I'll check when I get on my laptop (bout 11:00 today) but while we on ... (by SatsumaBenji)
Recursion in an array
 
Hey I am trying to use recursion to write this function // Return the subscript of the first nega...
[10 replies] Last: My five cents. #include <functional> #include <iostream> namespace ... (by vlad from moscow)
by gladi
I have this Error
 
Hello I got this error while I was compiling my prog. Please can you help Error 1 error LNK1561...
[1 reply] : You probably don't have a main function. (by eklavya sharma 2)
reading multiple inputs using array
 
so i have this program that needs to read multiple numbers entered in one line seperated by a space ...
[7 replies] Last: #include <iostream> #include <cctype> int main() { const int sen... (by cire)
by Zoq
Trouble with inputting to a file
 
I have a basic system of entering names to be randomly placed against each other. But i am having a ...
[5 replies] Last: Thanks it worked great. This took me like 2 day to try and find out on... (by Zoq)
by Alyx85
Help
 
Hey guys I'm having trouble on how to create this code for a program that displays the dimensions of...
[1 reply] : Maybe this will ring a bell: size_in_mm = size_in_inches * mm_per_inc... (by MiiNiPaa)
help with this?
 
The classic toy the Magic 8 Ball make predictions about the future if you asked it a yes/no question...
[1 reply] : @mixhi4ever All you need to do, is let the user input a question. The... (by whitenite1)
C++ Program Problems
 
#include <iostream> //Allows input and output #include <cstdlib> //Allows use of the rand() functio...
[2 replies] Last: int ScoreTheDie(int n) { cout<<"What is your n value?\n"; cin >> n ... (by eraggo)
by gladi
what does this function mean?
 
Hi everyone, I have this function I did not understand it and I don't get the condition in the if s...
[1 reply] : if(year % 400 == 0 If year is divisible by 400 it is leap year || ... (by eraggo)
Pages: 12345... 78
  Archived months: [dec2012]

Cannot post in this page. To post a new message, go to the first page.