Beginners - July 2009 (Page 4)

Polynomial division
 
Hello. Me and my groupmates in programming class are having difficulty in the division operation of 2 single variable polynomials. can anyone help us by giving ...
[3 replies] Last: Synthetic division. http://www.wtamu.edu/academic/anns/mps/math/mat... (by QWERTYman)
The Worst?
 
ive been reading the other post about "Console closing down" and i didnt understand why the system("pause") is the worst... is it because you have to press any ...
[5 replies] Last: cstdlib is a standard header http://www.cplusplus.com/reference/clib... (by Bazzy)
by Kudoku
Problem writing 0x0A
 
I've been messing around with writing into a Unicode (UTF-8) txt file. So far, I've been manually inputting all of the hexadecimals because I'm only using two c...
[4 replies] Last: Ah, yes, now I see what the issue is. Well, since I have everything wr... (by Kudoku)
Not understanding my output result
 
I am suppose to making a program for class that if any D is entered lower or upper case, the program is suppose to return Dog to the screen. Any other letter wi...
[4 replies] Last: the variable animal is a char. @vwyodapink there are two types of... (by smilodon)
Not working
 
hello guys i am a begginner at this and i need help with the "#endif" when my complier compiles it it says this: "#endif without #if" NOTE: im talking about ...
[2 replies] Last: 1) or you can use $ifndef, #ifdef, (if not defined, if defined). 2)... (by smilodon)
First program
 
My boss has asked me to create a program that we can install on our computers. The program should be very simple to make but I have not written anything in year...
[6 replies] Last: Whatever happened with your program? (by HyperSlip)
convert nested loop to recursion
 
i have a codes like this #include <iostream> #include <conio.h> using namespace std; int main() { for(int a=1;a<6;a++) { f...
[1 reply] : Let me edit your post into a readable form. This is my program: ... (by smilodon)
C++ exercise - using typedef
 
Hello everyone. I am doing some C++ exercises and got stuck with one. I have written 1 version of the program to use vectors to store values, and the other ...
[1 reply] : I believe what they mean is to use a typedef like this: //... t... (by firedraco)
Simple file IO
 
#include <cstdlib> #include <iostream> #include <fstream> #include <string> using namespace std; void save(); void load(); int y; int main(int ...
[4 replies] Last: Ok, i'll look at it. I have not gotten to templates yet. I'm still pre... (by Blitz Coder)
Noobish question
 
I used to know this but I haven't coded for a bit (no pun intended). How do you make an alias for a command? Like so when you put in cout << myAlias; it prints....
[7 replies] Last: Ok. I was not planning on using them, I just wanted to know HOW to use... (by Blitz Coder)
Some beginner excersises that I found usefull
 
From an old email my friend sent me when I started learning to code Suggested Study Order: variables, data types, and numerical operators basic input/out...
[5 replies] Last: For the formatted version see http://www.cplusplus.com/forum/articles/... (by Bazzy)
No Output
 
I created a program for payroll calculations using Dev C++4.9.9.2. I compiled the program but get no printout. I inserted a "cout" function but only get "Pres...
[1 reply] : The code hurts my eyes... Please use appropriate spaces/tabs/blank ... (by wmheric)
by kinley
Logic required
 
Hello, I am having trouble thinking about the logic if someone could give any hint. Please do not write code for it. The problem is like, I am given a string ...
[5 replies] Last: Thank you guys but I don't understand your logic :-(. Is there any ... (by kinley)
Problem with elevator program
 
I am new to C++ so just remember that I have never programmed before and I am just looking for some pointers on finishing this program. I have a main with outpu...
[1 reply] : I may be wrong but I think #include "elevator.h" has to go before usin... (by Blitz Coder)
by Taryn
Can't compile anything with Dev-C++ on Vista
 
I use Windows Vista Home Premium and Dev-C++ 4.9.9.2, and I cannot compile even the simplest of programs. Source code: #include <stdio.h> #include <stdlib....
[1 reply] : I'm a begiinner with C++ and run on Vista. Initially, I had compiler ... (by jmparks04)
by uzipaz
question about adding two fractions
 
Hey all, I am new in learning the C++ language.. I have question about the program for adding two fractions.. Here is my code: // adding two fractions #...
[3 replies] Last: Well, then he could use operator overloading. (by smilodon)
read in floating point number char by char and reassemble as different type?
 
I have to write a program that I thought would be pretty easy to solve, but I am lost and dont know what to do. The problem is to read in floating point number...
[10 replies] Last: at vince, I understand what you think you are doing, not what you actu... (by smilodon)
How Do i Socket programming with c++?
 
I want to basic socket programming.But i do not know anything about this case.Can you help me?.For example: ftp transfer program etc.Please show me resources ab...
[4 replies] Last: i need code sample.very fast and very easy There's no such thing.... (by helios)
String with numbers converted to char (numeric type)
 
Hello all, I am new to this board but I am not that new to C++. And I know other programming and scripting languages well. My problem is to convert a std...
[3 replies] Last: oh! haw. Sorry. I totally missed that XD. That's what I get for o... (by Disch)
by JCED
Multiple Inheritance - Method Naming Conflicts
 
This is my class header: #include <SFML/Graphics.hpp> class RectSolid : public sf::Shape, sf::Rect<float> { public: RectSolid(); RectSolid(float...
[5 replies] Last: Ooooohhh... I'm sorry, I totally misunderstood. When you said "I act... (by JCED)
July 2009 Pages: 123456... 20
  Archived months: [jun2009] [aug2009]

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