Beginners - November 2016 (Page 17)

by zspar
Square root slightly off
 
Hi, I was supposed to write a basic recursive square root function but the values it returns are sli...
[3 replies] Last: You need to: - return a value on line 34 (as mbozzi says above) - use ... (by lastchance)
Return to int main()
 
I am having some trouble with the following code; int main(int argc , char *argv ) { When I ge...
[6 replies] Last: Thank you so much!!! Matt. (by Googie85)
capturing user input into an array
 
I'm creating a madlib game. The code I've included below, extracts words from a string, modifies th...
[3 replies] Last: Actually I don't think you should use cin.ignore() in this function. ... (by Chervil)
Array math, average, even numbers and the minimal value.
 
Hello, i was wanting to know how to find the average of a set of randomly generated numbers in an...
[13 replies] Last: simply for average u write a while loop #include <iostream> using nam... (by Shahrukhx04)
No matching function call
 
Im trying to pass a pair, a char, and a 2d array into a function call but i get the no matching func...
[4 replies] Last: as soon as i posted i realized it was a const char and got it working.... (by kingkush)
How to be a good coder?
 
Bello !! I would like to ask you guys about how to get over the beginners zone... currently I'm ...
[1 reply] : Hi, please edit your topic and move it to lounge section, you may see... (by shadder)
Unqualified-ID error
 
I keep getting an unqualifies-id before token '{' on line 42. Any help would be grewatly appreciated...
[4 replies] Last: Do I need to do something with the weeks? (by tlctech)
Multiplying a variable by itself(squaring) without using pow function
 
So my instructor for my c++ class wants us to make multiple functions that do various operations on ...
[1 reply] : double squared = double initial * double initial; You're declaring d... (by integralfx)
by loulau
find common elements from two arrays
 
I try to find the common elements from two arrays. The output shows incomplete common elements. Some...
[4 replies] Last: Thank you AbstractionAnon. I think the program is correct now. I need... (by loulau)
by cppppc
LinkedList using array?
 
Hello all! This code is an implementation of contiguous lists, in the main(), I always get the messa...
[4 replies] Last: Thanks !! (by cppppc)
Phone book Program
 
My assignment is to program a phone book and Im so confused someone please help me!!! Here are the ...
[1 reply] : Hello randflec, The first thing I would is decide on what variables I... (by Handy Andy)
Pointer to String Array Question
 
Hi I'm working on a school assignment and am having difficulty understanding how to implement part o...
[1 reply] : When passing single dimensional arrays to functions the following are ... (by jlb)
Trouble with Loan Payment Calculator Program
 
I have this homework assignment to create a loan payment calculator and I thought I was going to be ...
[3 replies] Last: You're still doing effectively the same thing that booradley pointed... (by AbstractionAnon)
Local IP Address
 
How can I find my local IP from c++ code. Without using the system function.
[1 reply] : C++ does not provide a function to do that. You're going to have to ... (by AbstractionAnon)
Updating code
 
I'm having trouble updating this code to a modern compiler, it keeps giving me an error! saying "con...
[1 reply] : What compiler and operating system are you using? The conio.h header f... (by jlb)
URGENT - file operation question
 
Hi everyone, I am taking coding class and I couldn't figure out a homework question for the life ...
[6 replies] Last: Well, it is exactly what you are using in your own example! So? I as... (by jlb)
by rain
What is wrong with this C++ code?
 
What is wrong with this C++ code? #include <stdio.h> #include <string> int main (int argc,...
[1 reply] : Use g++ instead of gcc when compiling C++ code. (by Peter87)
Need Help
 
Okay so i'm in a c++ programming class and i need some help. I'm trying to take my file and make it ...
[3 replies] Last: You simply need to iterate through the arrays comparing the student an... (by AbstractionAnon)
Search vector by line number
 
I've been working on a program that stores the data from a fasta file to a vector. The user can then...
[3 replies] Last: Hello naegleria73, If you want to extract from the vector by using a ... (by Handy Andy)
A noob has a problem
 
Write your question here. #include <iostream> #include <limits> using namespace std; in...
[9 replies] Last: But you haven't used a while loop anywhere in that code? If you want... (by Chervil)
November 2016 Pages: 1... 1516171819... 44
  Archived months: [oct2016] [dec2016]

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