Beginners - April 2016 (Page 38)

Trouble with code
 
I got Part 1 to work, but having trouble with Part 2 of the problem. Question: Part 1: The pr...
[no replies]
Card Game problem
 
Hi, everyone, i am new to c++. I have been trying to write this code for a while. I am really stuck...
[no replies]
switch error
 
Why doesn't VS recognise my input as an int? (it says that case i.e. '0' has datatype char?!) int...
[2 replies] Last: Thanks. (by closed account D3R4216C)
very weird bit behaviour
 
Hi, like the title says I'm facing very weird behavior when trying to manipulate some bits. This hap...
[3 replies] Last: Thanks you guys very much, did not know about this :) (by etrusks)
by enesdl
Removing elements from vector
 
Hi I have some homework and I am unsure of how to finish this part of the code. I need to remove an ...
[1 reply] : for removing items from a vector review this -> http://www.cplusplus.c... (by DirtyDan)
Operator precedence in C++
 
Can any one tell me operator precedence in C++. + - * / % Kindly arrange order of operato...
[1 reply] : towards the bottom of the page -> http://www.cplusplus.com/doc/tutoria... (by DirtyDan)
problem with lubcurl curl_formadd data type
 
Actually since I am still sort of new to c++, I don't think my problem is really with "curl_formadd"...
[2 replies] Last: Well spotted, coder777!! That worked perfectly! My final code looked a... (by mimewear)
Rounding up.
 
Is there any way to force a variable to be rounded up? For example: Shipping is $4 for everything...
[1 reply] : http://www.cplusplus.com/reference/cmath/ceil/ (by AbstractionAnon)
by Sam786
Converting decimal, hexidecimal, octal
 
I need this program to be able to convert decimal, hexadecimal and octal, don't know why it does not...
[2 replies] Last: Use std::hex, std::oct #include <iostream> int main() { //Take i... (by jedaiCoder)
by Kman
Can't find the source of unresolved external error.
 
I'm getting LNK2019, but as far as I know, nothing is wrong with how I called the function. The head...
[4 replies] Last: Does that have anything to do with the error I posted above? No, you ... (by coder777)
need your help
 
Am a dummy in cpp I have been giving Assignment to write a c++ program that must have 1.functio...
[3 replies] Last: This is not a homework site. We won't do your homework for you. Howeve... (by AbstractionAnon)
Fuel costs Loop Assignment assistance
 
For the most part everything is executing perfectly. The only thing I cant seem to get to work is th...
[4 replies] Last: You forgot to initialize a "totalFuel" variable. Currently all you ar... (by Lothcarn)
Putting 100 random integers into an array and displaying the sum,average etc.
 
Hello Guys!! Everything about my code is working perfectly fine the only thing Im trying to figure o...
[1 reply] : it worked for me, although I had to add in a couple brackets... //... (by DirtyDan)
by Sam786
need help with an assignment
 
need a program that will meet this criteria Write a program that does the following: Displa...
[4 replies] Last: @Sam786 Explaining to you how to best use this forum so that you get t... (by MikeyBoy)
Class template for stack in C++
 
Here is the original requirements: Write a class template for a linked-list implementation of a sta...
[1 reply] : Your code looks good so far. The only comment i have is that you can ... (by dhayden)
by Amoun
Segmentation fault (core dumped)
 
I have a loop for in which I try to call a function sum float sum(cv::Mat img, int startedY, int s...
[2 replies] Last: Now I'm sure the function is called once,the problem is not about rows... (by Amoun)
Writing a code to multiply a multidimensional array by 2
 
I just have a question regarding an assignment that involves multiplying a multidimensional array by...
[4 replies] Last: @ OP, to give you an idea, look at line 39 - 52. /* "Write a program... (by chicofeo)
Trim method in vb.net
 
( Trim ) method in vb.net my code : Public Class Form1 Private Sub Button1_Click(ByVal sender...
[1 reply] : Please don't double post. I explained in the other thread. (by Thomas1965)
Nice Programme to find BINOMIAL COEFFICIENT
 
//programme to find BINOMIAL COEFFICIENT - formular - n!/k!(n-k)! #include<iostream> #include<cstd...
[2 replies] Last: hmm.. ok, thanks here its done now.. i correct some of my coding mist... (by Nisal Priyanka)
Prompt skipped and error reading a file.
 
So, here's my conundrums. First, for some reason, the program skips the prompt for name (line 65-6...
[3 replies] Last: Hi Josh, I also have to complete a Postal Barcode project and would li... (by ThroughThe6)
April 2016 Pages: 1... 3637383940... 43
  Archived months: [mar2016] [may2016]

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