Beginners - March 2009 (Page 18)

cout all user input requests at once
 
Hi guys I am still stuck with my program...I've let it sit for a while and then worked on it again but I cant figure this out the program is working fine but ...
[3 replies] Last: Get a sheet of paper and write down the steps that you want to be perf... (by seymore15074)
by destro
calculating overtime
 
Hello evetybody, I'm new here and i have been having some problems in my C++ class and it's not very easy to get in contact with my professor in a timely manner...
[12 replies] Last: You are my hero! Thanks again and again for your extended help. (by destro)
My Game Will Not Add Odds
 
Thanks
[5 replies] Last: You will have to add a while loop to run the program again then. (by eker676)
by jaydr
formating floats
 
Can anyone point me to aplace where i can find information about formatting floats or intergers. What i am looking for is to take a float and want to put a comm...
[2 replies] Last: Thank you Brazzy. sorry it took so long to thank you but i got sidetra... (by jaydr)
Beginner Dice Game
 
Hi, i am making a dice game where you roll 2 dices, and add up the totals. If its even, player 1 gets a point, odd, player two. However, i am looking for some a...
[5 replies] Last: Line 24: The function return value is void. Nothing needs to be return... (by eker676)
??check for input??
 
Hi. Made myself a game that works nice except 1 thing. I want my program to check for input and if input is made the program skips into an if statement. but if ...
[2 replies] Last: That is correct. ugh, sounds like I need some more studdy. where could... (by crimshaft)
by haco
issue with my 1st C++ program..
 
OK, SO THIS IS WHAT I HAVE FOR MY FIRST PROGRAM (IT IS SUPPOSED TO CONVERT CELSIUS TEMP TO FAHRENHEIT TEMP): #include <iostream> using namespace std; in...
[16 replies] Last: I'm sure there are many different ways to accomplish that task that I ... (by grcunning)
by Oromis
Debugger in Dev-C++
 
Maybe a stupid question, but I don't know how to use a debugger. I use Dev-C++ (outdated, I know), and there is a debugger in it, but how should I use it? I do...
[2 replies] Last: Thanks for the reply. The Dev-C++ reference on the debugger is real... (by Oromis)
Read from a .txt file
 
hey people can someone please tell me how to read from a .txt file instead of showing the .txt file on screen?? I have tried the tutorial but I get lost very...
[8 replies] Last: Hello, I am using visual studio 2008 and ifstream infile and fstream i... (by kypeswith)
Sorting
 
Ok I know how to sort an array. That's not what I'm asking. Basically my problem analysis is: I have to read in a file of employee reports ie salesID Em...
[2 replies] Last: That's the problem. We haven't learned structures yet. So I can't use ... (by ellimist14)
Strange Problem
 
I'm in a c++ programming class, and I have an assignment a dice game. Here's the code: #include <cstdlib> #include <iostream> #include "math.h" using...
[2 replies] Last: 1) this code doesn't compile. You can't make declare 'scores' the way... (by Disch)
by NaCo
How to view the source code for iostream?
 
Hello, I am new to C++, although I have some experience with PHP, C++ is completely new to me. I am taking C++ at college, I have successfully done the He...
[1 reply] : Finding the implementation of the standard library is quite hard, they... (by Bazzy)
new thread to execute Sleep()
 
When I use Sleep(ms), my main function freezes, is there a way to execute Sleep() parallel to my main funtion? I'm a complete c++ rookie, so be easy on me :)
[7 replies] Last: It sounds like a flawed approach. Sleep doesn't do what you think it ... (by kempofighter)
Is there a free tool to see where program bottlenecks are?
 
^^^ Thanks in advance.
[5 replies] Last: valgrind looks to be for linux. Is this the platform you are working ... (by kempofighter)
by Peyton
Calclating pi from sum of infinite series
 
Hi there, Here is my code for the calculation of pi from the sum of an infinite series: #include <iostream> #include <cmath> #include <iomanip> using ...
[1 reply] : pow hasn't overloads for integral types so it can generate errors, c... (by Bazzy)
mixed asm and C++
 
I am using visual studio 2008, and I don't know how to use an assembly file (hopefully .asm) in my project, can someone point me in the right direction?
[1 reply] : In standard C++ you have the asm keyword working like this: asm("as... (by Bazzy)
by CKShia
getting a problem with return array value inside for loop...
 
I want to return array value inside the for loop, but the output do not have any value, can anyone help me to sovle the problem??? NOTE: i do not want to use...
[6 replies] Last: I'm not real sure, but i think when you use ++i instead of i++ it... (by jsmith)
Can someone tell me what's wrong with my if statement?
 
I am writing a rock paper scissors program for my homework and I can't figure out why it won't compile. I am getting an error message about my if statement, bu...
[5 replies] Last: the logical AND (&&) would be what you need also, i like to use cha... (by kypeswith)
by destro
Guessing number within 2 of the number
 
I'm stuck on this program it has you generate a random number from 0 to 9 and then you have to output how close they where to the number. I can't get it to show...
[6 replies] Last: Thanks for all the great help. I needed it. (by destro)
Simulating keyboard presses from a string
 
I have attempted to make a function to use keybd_event(), however, when i use the function, only the first 4 letters of the string are typed. My header file:...
[2 replies] Last: thank you for pointing out my error, i appreciate the help greatly! I ... (by kypeswith)
March 2009 Pages: 1... 1617181920... 29
  Archived months: [feb2009] [apr2009]

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