Beginners - June 2012 (Page 31)

Improving
 
#include <iostream> class Measurements { private: int sum1, sum2, temp; //float fFraction;...
[2 replies] Last: Consider changing the name of getSum() to makeSum(). I would expect g... (by Lowest0ne)
C++ asci converter
 
I have this code which converts characters to asci\ #include <iostream> #include <iomanip> int...
[2 replies] Last: A char can hold values from -128 to 127 so it isn't advisable to try t... (by Lowest0ne)
Casting or pow()?
 
I was messing around with a small program and I happened to notice something that didn't seem right ...
[5 replies] Last: Workaround while(n){ n/=10; ++digits; } Learn about errors. Ed... (by ne555)
by djru
Retrieving information from a loop
 
Okay i've gotten this program to run almost perfectly the first time I compiled it, so I'm pretty ha...
[3 replies] Last: I LOVE Chicken Salad...back to programming -.- (by Volatile Pulse)
C++ Creating A Bot
 
The whole reason i starting learning C++ was to try to creat a bot... now iv been learning how to co...
[16 replies] Last: Please... don't create more game bots... make developers and innocent ... (by strongdrink)
Help with Connecting Flights
 
Hello. I am new to this forum. I am searching for some help for my girlfriend and I. My girlfrien...
[4 replies] Last: } else { // the second plane came before the first plane re... (by Volatile Pulse)
by bc123
Help reducing Fractions
 
Hello, I am beginning to learn how to program and am just wondering how to reduce fractions. I thin...
[8 replies] Last: Alright thanks a lot, I got it to work. (by bc123)
Explain how the minimax function works for ai in a game of connect 4
 
Hi, I've been working on a c++ game of connect 4. It uses a multidimensional array, and I have a fun...
[9 replies] Last: -∞ is negative infinity. If you use double for heuristic values and ... (by Peter87)
by mattl
Implicit declaration of PlayPrompt not allowed in C99
 
I am trying to pass a string variable (audio file name) to the below function (PlayPrompt) but I get...
[2 replies] Last: Thanks for the response. The functions in PlayPrompt are iOS API's wh... (by mattl)
error C2143: syntax error : missing ';' before '<'
 
error C2143: syntax error : missing ';' before '<' error C4430: missing type specifier - int assume...
[11 replies] Last: I am going to revert the edit and try another path to a solution. The ... (by forestPeterson)
by digrev
reference-pointer sample
 
hi everybody i am new to progamming my question is how can i make this sample with using a pointer ...
[4 replies] Last: You should change these statements f(1) = 8.23; // change 2nd element... (by vlad from moscow)
exiting a program
 
Suppose I wanted a particular key, lets say 4 to exit the program. How would I go about that? More a...
[4 replies] Last: I suppose you're referring to a menu of some sort. Da0omph's example o... (by Volatile Pulse)
by zek
Solve it using c++?
 
Write a program that reads ten integers and displays them in the reverse of the order in which they ...
[3 replies] Last: std::array is not an array. So the code can look the following way #... (by vlad from moscow)
C-style strings in C++
 
Hello, I would like to ask a thing that I can't figure out on my own. In before; I know that in ...
[3 replies] Last: Well, some ideas might be useful. Thank you for responding. :) (by MatthewRock)
[Request]A clean version of C++ !
 
hi dear programmers I'm a beginner in C++ programing. currently using Win7 32bit and i want a cl...
[12 replies] Last: There are a few things that require some head banging against walls, b... (by Volatile Pulse)
Input problem
 
Hello, i'm rather new to C++ and i was trying to take a string of input and divide the string into a...
[5 replies] Last: Alright, thanks for the help guys! (by ArtimosPenguidor)
by yge3d
Please help with this error!!
 
Ok so im trying to create an console program that opens a website, but i get an error saying: "Run-...
[10 replies] Last: HWND is a data type that holds a "handle" to a window. This value is... (by ResidentBiscuit)
Simple While Loop Not Functioning?
 
I just installed Dev C++, its been a couple of years since I've programmed in C++, but I am not real...
[3 replies] Last: WAIT... i'm dumb.. semi colon after while (true) *FACEPALM*... thanks (by SunDrySix)
need a little help with some code
 
hello guys, i get some trouble with this code my friend made. he asked me to solve the error but i c...
[5 replies] Last: Hi there, As to your actual problems: " initializer-string for arra... (by closed account o3hC5Di1)
error C2143 missing ';' before '<'
 
I researched this error and found a lot of posts related to this type of erros but nothing that solv...
[7 replies] Last: can you go to this post and continue help there http://www.cplusplus.c... (by forestPeterson)
June 2012 Pages: 1... 2930313233... 51
  Archived months: [may2012] [jul2012]

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