Beginners (Page 71)

by Korcha
A little help debugging my sin(x) approximation
 
So I have written a Maclaurin series approx. for sin(x) and it works for values really close to 0 bu...
[3 replies] Last: [(-1)^n/(2n + 1)!] * (x)^(2n+1) Maybe double check your parenthesis i... (by JayZom)
how to link GD library
 
OS Ubuntu 14.04 I am trying to run a basic C program using the GD library. The include line is #in...
[1 reply] : nevermind forgot to link the name -lgd (by metulburr)
by rayna
Help with counting the number of characters in a file
 
I have this code that tells you the numbers of words in a file, number of lines, and each letter and...
[2 replies] Last: where should i put that (by rayna)
Including implementation in header file
 
I am not entirely understanding the format of a header file. Why we need to include the implementati...
[2 replies] Last: Don't need to include the implementation file at the bottom unless you... (by JayZom)
How to parse this data in c++?
 
Hello, I am doing a project where the user inputs the name of a file, (the format of the data for th...
[5 replies] Last: Okay I am going to use a debugger and see if i can figure out what is ... (by rustyrustyrusty)
Does a pure virtual function (that is defined in a derived class) have access to the private members of the base class?
 
I thought pure virtual functions have complete access to the private members of the base class, sinc...
[3 replies] Last: Having a pure virtual method just means that the derived class MUST pr... (by JayZom)
How can I accept both int and char input?
 
I have a program where the user utilizes both char and int input at anytime. Is there a way to let t...
[8 replies] Last: Without templating, I'm unsure of any way to return an arbitrary type.... (by JayZom)
by rayna
Help with counting the number of characters in a file and the percentages of the numbers used
 
I have this code that tells you the numbers of words in a file, number of lines, and each letter and...
[3 replies] Last: how do i find the total number of characters? The same way you find a... (by MiiNiPaa)
Memory Concentration Game Issues
 
I'm attempting to create a 4x4, 6x6 and 8x8 grid for my concentration game, but whenever the game co...
[3 replies] Last: OK it's starting to look better, but now I have two new questions. 1)... (by lollipoppop)
by Z feng
Need help on this Quick Sort function
 
Hello all, I know there are tons of quickSort algorithm out there already, however, I tried couple o...
[5 replies] Last: Yes, you can. (by MiiNiPaa)
inheritance
 
Hey hoping you guys can give me a push in the right direction. I can enter information up til positi...
[3 replies] Last: Check other functions, say, in name class (by MiiNiPaa)
SDL snake game I could use some help?
 
im having a hard time trying to find out how to make the snake grow after it eats the food? i will l...
[no replies]
Unable to match functions definition (1,2)
 
I have two errors that I am not sure how to fix, please let me know what I need to fix. Here are the...
[26 replies] Last: Welcome XD. (by andy1992)
Address Book Program
 
Hi everyone, I'm new to C++, taking my first course, and as one of the assignments we have to cr...
[9 replies] Last: Welcome :) (by andy1992)
by Korcha
Mendelbrot Ascii plot
 
So for CompSci class we have to create an Ascii plot of the mendelbrot set. I've gotten this far bu...
[no replies]
Code questions
 
We are supposed to "expand" a payroll program to utilize arrays. looking at the examples in our tex...
[2 replies] Last: Thanks, I missed that; was very tired. This assignment is stressing m... (by Scythifuge)
Reading file into an array
 
Hi, I am using Visual Basic 2013. When I try and compile this program, the output is -858993460 , r...
[7 replies] Last: I use Visual Studio Professional 2013, and if Visual Basic is like min... (by JayZom)
Employee and ProductionWorker Classes Assignment
 
I do not see my error here, would someone please be kind enough point it out to me and explain what ...
[6 replies] Last: Be careful and read what the popup error says. They are useful for se... (by JayZom)
Snake Console Game Laggy
 
Hey everybody. Sorry for the long and messy code. I'm still learning :) Anyways, please try running ...
[2 replies] Last: //Powerups void powerupMenu() { Sleep(2000); menukey == NULL; sy... (by dannyboy212)
error: too few template arguments for class template 'vector'
 
I'm still in first semester here, and i don't know how fix the error given in the title. here i...
[3 replies] Last: push_back adds an element at the end of the vector, so I don't see tha... (by wildblue)
Pages: 1... 6970717273... 89
  Archived months: [nov2014]

Cannot post in this page. To post a new message, go to the first page.