Beginners - April 2011 (Page 26)

Problem Working With Double Numbers in C
 
Hi, For some reason I am having trouble manipulating large double numbers in C. For example, with...
[1 reply] : Floating point numbers have limited precision. See here: http://www.pa... (by Athar)
output statement
 
is cout<<"x=";x; is correct plz explain
[1 reply] : using namespace std; #include <iostream> int main() { int x = 0; ... (by mobat)
by nammae
Problem: Using self-defined libraries in Code:Blocks 10.05
 
Hello, everybody. Because of many reasons, I decided to use Code:Blocks. Its version is 10.05 (inclu...
[2 replies] Last: Thank you so much, Athar. It solved my problem. (by nammae)
Pass structure info. to another function
 
Hi all, I'm having yet another problem with my program. What I'm attempting to do is pass informatio...
[4 replies] Last: That'd probably be helpful haha, sorry for not including. Here it is: ... (by zdcoombs)
UpdateWindow()
 
As far as i was aware the UpdateWindow() function did this: "The UpdateWindow function updates th...
[1 reply] : I'm not 100% on this as I'm going from memory here, but I think the OS... (by Zhuge)
by ascii
Averaging Problems
 
i feel stupid asking this because ive made programs that average numbers before, but right now im ba...
[2 replies] Last: i was going for the average of each set of 5, but i think youre right!... (by ascii)
Urgent: Program due!
 
Hi, new here and need a little help. I am a little stuck on this problem right now, but still trying...
[7 replies] Last: A couple things I see: * getRational() shouldn't be printing anything.... (by Zhuge)
Voids
 
I was wondering if 1. Does a void basically just place code in from a different section and you can...
[3 replies] Last: They are great when used with structures. (by mobat)
WM_PAINT
 
Hi, see: HDC handleDeviceContext; PAINTSTRUCT PaintSt; RECT aRect; switch(msg) ...
[10 replies] Last: Fair enough :) (by TpOreilly)
your current project?
 
What are you working on right now? I'm learning SDL.
[18 replies] Last: Bjarne Stroustrup "C++ Progaming lanuguage" is No 1 http://www2.resear... (by sasanet)
by uTil
ifstream fail isn't cleared?
 
Hi this is a question regarding how flushing an ifstream works. I have a text file : a 1 an...
[no replies]
Expected primary expression before 'unsigned'
 
Hi, I'm new to the forums and the language. I'm working on an assignment for uni, and am completely ...
[2 replies] Last: Oops, that's not how line 15 looks in my code. Here's the correct line... (by maneatinglizard)
Getting file extensions and file size
 
Im tyring to just get the file extensions and file size without outputting the file name from any pa...
[12 replies] Last: The good news is it's only worth 10%, and you might get part marks for... (by RedCoatsForever)
Segmentation Fault
 
Hey. I'm learning c++ and I'm doing a program that requires I make multiple user defined functions. ...
[4 replies] Last: char continyou = 'y'; ^ clever xD still you should probably just... (by ascii)
Need help with for loop!
 
The user will enter the value for "n" where "n" is the number of values in the data set to be entere...
[4 replies] Last: A for loop is a short hand tool; It's a while loop in disguise. Wit... (by Mathhead200)
Avoiding integer division for calculating average?
 
Hi all, I created a program that takes in 3 test scores that the user inputs using an array. The pr...
[3 replies] Last: When you divide with even one double or float you will get a double or... (by Mathhead200)
I need help getting a program to run
 
I am hoping to remake a great old videogame called "the quest". Its really fun but the problem is th...
[5 replies] Last: I was wondering if there was some kind of 16 bit emulator? (by bboy212)
SDL/Microsoft Visual Studio
 
Ok I have SDL set up with msvs2010 and was wondering if there was some way I could make a SDL tutori...
[no replies]
by Spada
read() and write()
 
Hi guys I am a beginner and i'm trying to deal with I/O Systems. It is still very cloudy to me an...
[1 reply] : What does it print? (by hamsterman)
Check the computers time and display a messege
 
Ok , so i want my program to check the computers time and display a messege for example If its 1...
[1 reply] : I think you need http://www.cplusplus.com/reference/clibrary/ctime/loc... (by hamsterman)
April 2011 Pages: 1... 2425262728... 55
  Archived months: [mar2011] [may2011]

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