Beginners - February 2013 (Page 49)

compiler
 
i've been looking for a simple compiler to start off on, i have tried code blox off of a friend's reccomendation but it isn't working well for me, what else cou...
[1 reply] : dev c++ is pretty simple. I use microsoft visual studio, but it's a li... (by palauan73)
OOP AdressBook Errors in main
 
I'm almost done with this program but I am stumped on the errors I'm getting in main. Any help would be appreciated. Here are the errors: error C3861: 'addP...
[2 replies] Last: Ahh, stupid mistake. I fixed it. Thanks for your time Perter87. (by Vorstoss)
Showing player trail in a tron game. How to?
 
Hello I have a tron game that I have created for class. I can't quite figure out how to do the player trails. I tried to do something with if statements but it ...
[no replies]
If statements
 
Can you include an if statement inside an else if statement? THANKS
[4 replies] Last: Alright, thanks everyone for your help, I appreciate it! (by closed account 4wRjE3v7)
Error 0x0
 
when i run TC.exe it gives an error of 0x0,screen shot is pasted below : http://s9.postimage.org/vypou4lkv/image.png i am running this on windows 7, also ...
[no replies]
return function
 
please help me i want to know what the question mark and the colon does. return ((value1 > value2) ? value1 : value2);
[2 replies] Last: thank you so much for the help. (by bezerkfury24)
help error i dont know where it is!
 
#include <cstdlib> #include <iostream> #include <cstdio> #include <string> #include <conio.h> #include <time.h> using namespace std; co...
[3 replies] Last: What do the error messages tell you? Line 87: You want the assign... (by AbstractionAnon)
passing values from one function input into another function for searching
 
i am writing a program for my advanced c++ class. i am having trouble due to taking regular c++ two years ago because of transferring and changing majors to co...
[no replies]
by nerfed
Help with boolean
 
#include <iostream> #include <cmath> using namespace std; int main() { string monthName ={"January","February","March","April","May","June","July","Aug...
[no replies]
Do not allow the user to type letters in the cin input
 
Hi, what code do you use to make it so the user is not physically able to type letters in the input for a cin statement , only numbers , and vise-versa?...
[3 replies] Last: Thanks Guys! (by Tentbob)
keyboard control
 
Hi guys, the thing is, i want my program to exit when the user presses the escape button. I've tried using the getkeystate() function but the prog just skips it...
[3 replies] Last: You need to #include windows.h int main() { cout<<"Welcome to ... (by rcast)
Coding Problem
 
If/Else Homework A “magic” number is an integer in which the number is equal to the sum of the cubes of its digits. Write a program to determine whether a ...
[3 replies] Last: much appreciated thank you so much! however I this is too advanced for... (by sakonpure6)
Números complexos
 
Sou iniciante em programação e estou estudando C++ e gostaria da ajuda do forum. Estou fazendo um programa de números complexos e na função soma(p.ex)tenh...
[5 replies] Last: Obrigado pelas dicas. (by mauriciocpp)
How to end getline Method (and Move on to Next Part of Code)
 
Hello and thanks! Her is my code: #include <cstdlib> #include <iostream> #include <string> #include <sstream> using namespace std; string mystr; int main(in...
[14 replies] Last: I'm not using AVG. but a quick google shows others have found anti-vir... (by Chervil)
by Ch1156
Creating a C++ tutorial website need help understanding some code
 
Ok so Im creating a c++ tutorial website, now your probably saying "why? thats what this site is" and you are correct BUT my website is being designed to help p...
[12 replies] Last: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3242.pdf W... (by closed account zb0S216C)
problem with variables/converting fahrenheit to centigrade
 
Ok. So, I have just started up my intro to programming class and am already confused. For this project we are supposed to be converting temperature from fahre...
[5 replies] Last: Oh yeah, for some reason the - sign never took. So I did retype it an... (by jackbruns28)
by Niven
Loading MD2 files with Opengl
 
I'm looking for help with being able to load an MD2 file. Right now I'm trying to be able to load and display the model before I write code for texturing it. Th...
[no replies]
can someone please help me figure out how to form an X shape with asterisks?
 
hey, can you guys please help me figure out how to make an x shape. so far, all i can do is get the one diagonal side with the following code, but i can't get t...
[no replies]
Do I need to multi-thread?
 
I'm making a simple console based nuclear reactor sim game. The main loop looks like this: bool done = false; while(!done) { char cmd; cout << "CMD>";...
[3 replies] Last: thanks :) (by closed account 2NywAqkS)
Alphabetical sort of vector - struct.
 
Hello again cplusplus.com! As the title suggests, I'm trying to sort a vector by the std::string name within a struct. But I've run in to a problem that I don...
[3 replies] Last: It's a bool function. so; return 1 < 3; Would be true. (: Edit :... (by Lynx876)
February 2013 Pages: 1... 4748495051... 67
  Archived months: [jan2013] [mar2013]

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