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 ...
Mar 12, 2009 at 3:17am
[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...
Mar 12, 2009 at 1:36am
[12 replies] Last: You are my hero! Thanks again and again for your extended help. (by destro)
My Game Will Not Add Odds
Thanks
Mar 12, 2009 at 1:16am
[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...
Mar 12, 2009 at 12:54am
[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...
Mar 12, 2009 at 12:10am
[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 ...
Mar 11, 2009 at 11:01pm
[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...
Mar 11, 2009 at 9:36pm
[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...
Mar 11, 2009 at 9:08pm
[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...
Mar 11, 2009 at 8:40pm
[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...
Mar 11, 2009 at 7:31pm
[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...
Mar 11, 2009 at 7:25pm
[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...
Mar 11, 2009 at 6:55pm
[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 :)
Mar 11, 2009 at 5:21pm
[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.
Mar 11, 2009 at 4:59pm
[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 ...
Mar 11, 2009 at 3:16pm
[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?
Mar 11, 2009 at 12:36pm
[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...
Mar 11, 2009 at 12:10pm
[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...
Mar 11, 2009 at 12:30am
[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...
Mar 10, 2009 at 10:33pm
[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:...
Mar 10, 2009 at 10:17pm
[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.
Registered users can post in this forum.