Beginners - October 2015 (Page 11)

by nasser
output is Zero
 
What is the wrong in this code it alwasys gives me zero #include <iostream> using namespa...
[1 reply] : Line 9: You're doing integer arithmetic. 1/2=0. 0 times anything is... (by AbstractionAnon)
for loop help(math aspect)
 
See after code #include <iostream> using namespace std; int main () { int a; for ( a=1; a<101; a...
[no replies]
Neural Nets + Genetic Algorithms Help
 
I wrote some code for neural networks to learn the XOR function and it works fine. I am not trying t...
[no replies]
Need help fast. Thank you!
 
I need help with this program I need to create at this point I'm sorta lost on what I'm supposed to ...
[2 replies] Last: The instructions say "Create two classes". Have you created class dec... (by AbstractionAnon)
How do you swap array elements using indexes?
 
Hello, I am trying to swap two array values using indexes but I am getting very confused and frustra...
[3 replies] Last: then a swap use a third variable temp. auto temp = names ; names = na... (by Ericool)
by Aurix
Error C2660 Help
 
Can't seem to figure out what is causing this error, any help would be greatly appreciated. error...
[2 replies] Last: Thanks, I think I got the issue. (by Aurix)
Class displays a greek letter
 
After running the following program, it displays the Greek letter alpha (regardless of the name ente...
[4 replies] Last: Thank you for your help. (by gabor53)
Programing assignment HELP!!!!
 
i cant figure out why i get a syntax error with the line " jedi_calc = static_cast (mcc * age) / (we...
[1 reply] : You're missing the <type> in your static_cast. jedi_calc = static_c... (by AbstractionAnon)
Sorting by name from text file
 
For a class assignment we were given multiple files and told to make a menu and create 3 functions. ...
[no replies]
decoder
 
what is the function of enable in decoder ? digital logic
[1 reply] : Could you be more specific? Is there a code that goes with the questi... (by pearlyman)
error no match for opperator >>
 
Write your question here. I cannot compile this very basic code. It computes the outside of a cir...
[2 replies] Last: Hello there! I compiled your code and got 3 errors and i've debugged t... (by Shashank Setty)
Generate 6 random numbers for lottery
 
Hi I am very new to c++ and I am trying my best to get a very basic grasp of things. I have be...
[6 replies] Last: Thanks for all your help, I don't think i would've ever spotted the sc... (by jamesfarrow)
by tnt980
persistence number
 
For example: 715 -> 35 -> 15 -> 5 88 -> 64 -> 24 -> 8 27 -> 14 -> 4 The number of product...
[5 replies] Last: #include <iostream> #include <string> using namespace std; int pro... (by closed account 48T7M4Gy)
File paths
 
Hi, how do I figure out the current place the .exe file is in, create a folder in that place and the...
[4 replies] Last: You could also use the Boost Library. http://www.boost.org/doc/libs/1_... (by integralfx)
need help with best programming practice
 
I am starting to care more about how I structure my programs, and want to be as efficient as possi...
[5 replies] Last: Could you expand upon what you said about including board sizes under... (by TheIdeasMan)
by ace7
Function Values Not Passing
 
This program has been giving me a lot of issues. I'm positive the syntax is correct but the program ...
[9 replies] Last: The prototype and the implementation parameter list must match exactly... (by closed account 48T7M4Gy)
by vwynn
Find max and min of loop
 
Hey everyone, I've been assigned to make a program that takes the average of student test scores ...
[5 replies] Last: Thank you so much! I would've never gotten that. It's interesting to s... (by vwynn)
How to Reset values?
 
Hello, I have a simple game below: #include <iostream> #include <string> using namespace s...
[4 replies] Last: Git gud? Is that like the opposite of אױ װײ (by closed account 48T7M4Gy)
by yehozz
Call functions with vectors
 
Hello, I am calling a function to do the average of my values... so the problem is how do i move ...
[5 replies] Last: take vector<int> myVector as a global variable (by sujitnag)
C++ Math Tutor
 
Phase III: Now you will change your doOneSet function so that it will work for either addition, subt...
[1 reply] : some help would be much appreciated It's a maths tutor program bas... (by closed account 48T7M4Gy)
October 2015 Pages: 1... 910111213... 57
  Archived months: [sep2015] [nov2015]

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