Beginners - September 2009 (Page 9)

Rounding Numbers Up or Down
 
I'm having trouble with this program that I need to round these values either to zero or 2.375 depending on there out put. The program is supposed to take in va...
[1 reply] : Rounding Algorithms http://www.cplusplus.com/forum/articles/3638/ ... (by Duthomhas)
first program
 
#include <conio.h>//need for getch and putch void startup() int main() { startup(); gotoxy ( 10,5 ); putch ( 'a' ); gotoxy( 20,10...
[3 replies] Last: He's programming using one of Borland's old C++ compilers. Oh, wa... (by Duthomhas)
Line Class Malfunction
 
Hi there. I'm programming this project called 'Canvas', in which I'm practicing and implementing Classes, which is what are giving me on the University. This 'C...
[5 replies] Last: thanx! I'll give it a try and let you know! (by Alkaselzer)
by motd
is this wrong void main()
 
i see you always write this int main (void) or int main() { return 0 } _____________________- is this wrong :???? void main() ________________...
[2 replies] Last: thanksssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss you... (by motd)
Loop inside a switch
 
Hello all, I'm trying to make a switch case that repeats itself if it ends with default. i.e. case 1: /*condition*/ break; case 2: /*condition*/ ...
[10 replies] Last: Thanks again firedraco. I have music composed too, but I'm saving that... (by DeadH34d)
Advice
 
Is there any advice you guys would give to a begginner in C++? anything at all would be of great help thanks again.
[2 replies] Last: PLEASE study C++ design. Program flow and design are as important for ... (by closed account S6k9GNh0)
open file and sorting
 
I want to open a .txt file, then sorting the first 100 characters. Here is my code #include <iostream> #include <conio.h> #include <fstream> #include <stri...
[3 replies] Last: If you read some text from your text file (getline (file, line);) then... (by screw)
Whats wrong with my Switch Statement?
 
Basically I have this calculator program, and its going very well except one problem when using a switch statement. This is my code, and whenever I use a swi...
[4 replies] Last: Yup thanks, any constructive critisim will be implemented. (by arcadiu)
Math equation parsing
 
Hello guys.I need your helps. I want to solve equation with file stream. For Example: 3x+5=9x-2 How can i do this?. This is a very hard problem for me.i need ...
[3 replies] Last: Thanx for post. Yes thats quite hard. I don't want to solve Quadratic ... (by areyoupp)
play raw .wav files with playsound()
 
Hey! I wanted to ask, is it possible to use PlaySound() function with somehow stored in an integer 3-8 sec sound? i mean it would be something like this, you ...
[no replies]
Checking for an integer?
 
How can I check to see if the user has input an integer value? I want to be able to display a message when they type something other than integer values but ho...
[2 replies] Last: See this article: http://www.cplusplus.com/forum/articles/6046/ (by Bazzy)
by ellysa
error in queue circular using link list
 
this is the code... #include <iostream.h> #include <stdlib.h> #include <conio.h> // Queue implementation link list struct nodeQ { char items; ...
[no replies]
by Soko
Two infinite loops that shouldn't be
 
Hello! I am working on a couple of class problems. The first is to create a program to convert from binary to decimal. For some reason, my while loop creat...
[9 replies] Last: For a simple problem like this, it wouldn't really matter. Personally ... (by Soko)
Compiler
 
Any reccomendations on a good compiler to use for a beginner any help or advice you guys could offer at all would be much obliged thanks in advance guys.
[4 replies] Last: thanks alot for help guysi picked up the dev-c++ you talked about. (by TheNetherHero)
by Keki
Error C2143
 
error C2143: syntax error : missing ';' before '<<' I am getting this error on my project, checked for missing semi-colons, dont see it. It appears to refer...
[6 replies] Last: Wow!!! So it it can be that it is missing or that it is not needed...... (by Keki)
member functions
 
If you have a member function, then I now see one of two possibilities: If it returns values, then it uploads them into all the appropriate respective varia...
[3 replies] Last: Reading carefully some times I think to get something... If it re... (by Bazzy)
solved
 
solved
[3 replies] Last: Notice you have a semicolon after the if( next == .... ) so syllableco... (by jsmith)
by luq
Checking for a process every split-second
 
Hi, I'm currently writing a program that needs to react when another program starts. So for example when notepad.exe starts (as a process), my programming h...
[19 replies] Last: @Grey Wolf, Yeah, it worked out well! All timer function work, but ... (by luq)
by luq
ifstream open() with a variable
 
Hi, I'm currently trying to open a file which name (file.txt) is stored in a variable. But it doesn't work. I just can't understand what's wrong with my code...
[2 replies] Last: Thanks, it worked! (by luq)
by dan0
Undefined reference error
 
When I ran g++ practice.cpp -o practice I got an undefined reference error. To resolve the problem, I changed the compile command to: g++ practice.cpp Gr...
[6 replies] Last: @guestgulkan I unfortunately, overlooked your (compile but do not l... (by dan0)
September 2009 Pages: 1... 7891011... 23
  Archived months: [aug2009] [oct2009]

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