Beginners - April 2012 (Page 19)

rotate a point
 
I have a 3d object wich I want rotate around the player (0,0,0). float rotate_x(int degrees){return(x*cos(degrees*PI/180)-z*sin(degrees*PI/180));} ...
[2 replies] Last: I solved the problem. I had defined PI wrong. why do you call rotate... (by en liten kille)
How to make a structure chart
 
Hey I was wondering how you make a structure chart with Input Process Output. People keep saying that's a better way of keeping track of everything but not how ...
[no replies]
Please Tell me where my code is wrong
 
I have written this simple code to measure the time duration it takes for a user to input the data for calculation. Please help me and correct this program. I s...
[2 replies] Last: Please ask a question just the once!! :-( Andy http://www.cplusplus.... (by andywestken)
Need some help here~
 
Why does the last output will come out twice? Let say my name.txt contains "David John James Denise", the output for Denise will come out twice. Any explanati...
[4 replies] Last: I see. Thanks for the info. (by LemonTea)
How to store the input into Arrays?
 
Hi I have 2 class now that need to store x and y to one array and some other attributes to another array so that i could do some computing and display both arra...
[2 replies] Last: main.cpp #include <iostream> #include <string> #include <cmath> #i... (by wenjun85)
Loops and file reading on numbers
 
Hi, Im having a problem with making a program that Finds the sum of every 5th number in the file and report its value. 2. Finds the sum of all even numbers in...
[1 reply] : How about you start by reading some tutorial about files? we'd be glad... (by TheDestroyer)
.def file
 
Hello everybody, I am using the Microsoft Visual C++ 2010 Express version and I would like to add a .def file to create a dll. The problem is that when I want ...
[no replies]
How to make a c++ file executable on visual C++
 
Hey Guys, i recently started C++ programming on Visual C++. i made a simple Web Browser,and i would like to show it to my friends. How should i make it into an ...
[1 reply] : 1- Choose from the menu up "Release build", or "Release", and then re-... (by TheDestroyer)
My assignment is soo wrong..
 
I duno what i was doing anymore... keep adding things even knowing that i am wrong...guide me please? PointTwoD.h #ifndef POINTTWOD_H #define POINTTWOD_H ...
[16 replies] Last: in this case how to do store the input of x and y into one array. i t... (by wenjun85)
Help with C++ Web Browser, I'm new to this.
 
I am very new to this and I am just messing around with making a basic web browsing application. I have the most basic features, (i.e. back, forward, stop, refr...
[no replies]
Re:Error in simple C++ program
 
Kindly look this discussion and help me. http://www.cplusplus.com/forum/beginner/68843/ Thanks P.S.-I hope it is alright if I post an unanswered problem ...
[no replies]
Copy Constructor and overloading operations
 
If anyone can help that would be incredible. I've been lost with this for quite some time now and I just dont get it. I don't understand how to write a copy c...
[3 replies] Last: Thanks for the help and clearing up some of the cobwebs. And i did me... (by squishy fish 25)
Figure out how many lines in a file using loop
 
I am having problems figuring out how many lines of information are in the text file I am supposed to read in. I heard that ifstream automatically skips white s...
[2 replies] Last: > Is there a better way to do this? Not really. Perhaps you should ... (by JLBorges)
Another Linked Lists Question
 
So, my next task I'd like to do is create a remove/delete method that removes by value. The value will be passed into the method by value(heh, the irony). Anywa...
[1 reply] : I don't even understand what BEFORE means. The process of removing by ... (by hamsterman)
[RFC] Basic compression scheme for char input.
 
End goal, compress user input (A-z) for a ratio of 2 characters to 1 byte. My strategy was to map user input to an array of acceptable character types, recordin...
[no replies]
Bowling Program
 
I need help with this bowling program. I am suppose to use nested for loops to determine the averages of bowlers, their respective teams, and find out which tea...
[no replies]
Can anyone suggest a good compiler?
 
So, I took a starting-level c++ course at a local college, and we used "quincy", which has worked fine so far with one notable drawback: it doesn't display lin...
[6 replies] Last: The author of Quincy has made a portable version of CodeBlocks. Searc... (by vin)
Operators and linked lists confuse me, please help!
 
So, I'm taking classes in programming right now, and we've recently covered things called operators and linked lists. I have notes on them, a book, and a few ex...
[6 replies] Last: Okay, I think I got it. Thanks for all the help! (by Mr Spudtastic)
problem with function declaration
 
why in line 4 my compiler shows me this error "too few arguments to function `int add(int, int)???" here's my code: #include <iostream> using namespace st...
[2 replies] Last: spasibaaa ))))) (by closed account STp4izwU)
Random non repeating Number generator
 
Hi, Everyone. Can you please help me here. I need to create a program that ask the user how many numbers to generate(Range 1-20) as well as ask for a file for ...
[2 replies] Last: without the use of srand, I think it is loop involvement. I am sorry t... (by GustavM)
April 2012 Pages: 1... 1718192021... 66
  Archived months: [mar2012] [may2012]

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