Beginners - February 2016 (Page 21)

Simple for loop program help
 
Hello! I am writing a program called "Vote Count" for class practice. It is problem two on this link: http://www.cemc.uwaterloo.ca/contests/computing/2014/st...
[5 replies] Last: Hi, This works for a char: #include <iostream> #include <string> #i... (by TheIdeasMan)
conversion to inacessible base class "ListType<int>" is not allowed
 
I am trying to print out a list, compiler is giving me the error mentioned in the title. I've marked below where I am getting my error at: (***) Thank you to...
[1 reply] : Please don't double post - http://www.cplusplus.com/forum/general/1848... (by TarikNeaj)
Assistance with C++ Writing a code
 
Write your question here. Hi All, I'm almost halfway through the semester and so far so good, they give us one week to write a program, however, my 70 y...
[17 replies] Last: I had fallen asleep, just got home from work. I think so let me try. ... (by diana28069)
by Ganado
fftw library linking with MinGW
 
I'm a bit lost with trying to get FFTW3 to work with MinGW (using CodeBlocks as the IDE). I downloaded it from here: http://www.fftw.org/install/windows.html...
[4 replies] Last: It's actually okay now, I think! Thank you for the help. I was being ... (by Ganado)
Need some insight on why my program isn't running like it should.
 
I am just taking my second C++ course and I am having trouble with getting this to work. I enter a number but when I do it doesn't loop or do the validation cor...
[11 replies] Last: It's definitely a linear search - http://stackoverflow.com/questions/... (by TarikNeaj)
by Timbi
Vector of char
 
I want to get long int value from vector <char>, so I have two working versions: First solution: return *(long*)(vecSample.data()+offset); Second solutio...
[4 replies] Last: I tried various versions, this was one which seemed both safe and stil... (by Chervil)
Error undefined reference. - Compile
 
Hi All, I am getting an error for undefined reference. I am not sure what it could be as the compiler doesnt give me a line but only the program and the functio...
[1 reply] : http://www.cplusplus.com/forum/general/113904/ It's a case of «you di... (by ne555)
Equation not working
 
Hey there, so I have a program that is supposed to do an equation to get a special number but for some reason when I run it, this is how it comes out in the con...
[3 replies] Last: Well its running fine, as in no errors but when it gets to the math pr... (by cwright1206)
define
 
What is the output of the following C++ program? Explain why you can get such output by considering the order of constructor and destructor calls. [Note that i...
[2 replies] Last: Someone please just explain to me the order. (by zaidnaser)
Need help with homework.....stuck
 
Need some help with homework, any help would be appreciated. Here's the assignment: BACKGROUND: Craps is a dice game in which the players make wagers on the ...
[6 replies] Last: TarikNeaj, thanks for the link. I'm new to this site and apologize for... (by usmc907)
by Lospwr
is this true or false
 
When converting an algorithm into C++ code, each algorithm step must map to at least one C++ statement.
[5 replies] Last: You could have an algorithm step along the lines of "go back to callin... (by Moschops)
Simple If/Else problem
 
Hello, I am a programming student and I'm glad I found this board. I have a problem I could use some help with. The program should calculate an employees raise...
[6 replies] Last: Why don't you convert the user input to all capital letter instead of ... (by DeathLeap)
C++ versions and C++ compilers
 
This is more of a sanity check. So there are c++ versions (I.E. C++14 or C++11) and there are different compilers. So two compilers maybe both followin...
[3 replies] Last: That really depends. Are both compilers completely compliant with th... (by jlb)
printing an oval using nested for loops c++
 
Hello, I am learning about printing shapes using nested for loops in c++. I'm comfortable printing triangles and rectangles but I have come across and assignme...
[no replies]
by Areey
About Loop
 
Write your question here. Hi,i have this question : i want the program to tell me the even numbers after i finish entering all the numbers not when im is still...
[3 replies] Last: It's a bit tricky, but use it often enough and you'll get the hang of ... (by TarikNeaj)
C++ HELP PLEASE! Asterisks shapes.
 
My teacher for my online C++ class assigned an optional assignment. He said learning this may help on the test but he did not give any information on how to go ...
[1 reply] : Your next step is to write the four functions (filledSquare, hollowSqu... (by AbstractionAnon)
variables
 
Write your question here.differences between global and local variables
[1 reply] : Not that hard to google - http://bfy.tw/4KWG (by TarikNeaj)
Easy, Small Question
 
Hey guys, I'm about done with this project. I am supposed to use pointers to tell me exactly how many odd numbers are in an array. Everything works correctly, e...
[2 replies] Last: Ah, that's it! It works perfectly now, I'm relatively new to programmi... (by hookster007)
by daym
Some questions
 
Hello, so I'm a begginner, I've started to learn C++ since 4 months or something and I think I pretty much understand its basics and mostly everything about it,...
[2 replies] Last: Since you know the basics, you can check out http://www.codeabbey.com ... (by tom221b)
Writing a for-loop?
 
This is what I need to do: Write a for-loop that reads in 3 non-negative integers from the user (one at a time) and assigns the maximum value to a variable m...
[4 replies] Last: The first thing you need to do is make a for-loop that runs 3 times. T... (by TarikNeaj)
February 2016 Pages: 1... 1920212223... 46
  Archived months: [jan2016] [mar2016]

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