Beginners (Page 67)

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)
by enemy
multiple inputs in ideone
 
Hello! Please, is ther eany variant to have multiple inputs ideone or an yother online compiler like...
[no replies]
by enemy
&& in while
 
Hello, please does anyone see the mistake, the program should write only those a%i==0 which are bigg...
[2 replies] Last: MANY THANKS!!! (by enemy)
Help with reading from a file
 
I am a beginner, and I need to write a program that will read from a text file with four lines of ...
[1 reply] : With this code you are forever stuck in while loop because of while (... (by etrusks)
Not sure where I went wrong..
 
I made a simple battle simulator program to practice my loops and such but when I run the program th...
[2 replies] Last: Wow thank you so much. I looked right over that so many times... (by marcos656)
Arrays rows/columns
 
I need the problem to show 3 rows and 5 columns. The output should be like this: 1 2 3 1 2 3 1 ...
[6 replies] Last: Sidenote: I need the problem to show 3 rows and 5 columns. The output... (by keskiverto)
Input File Help-- How to read all lines in input file?
 
My program only reads the first line of the file that I open. For example, the first line reads "joh...
[3 replies] Last: I don't know how to make a loop so that the program reads all the line... (by mangosora)
C++ Inventory Program Help
 
Hello, I'm new here! I need help with an inventory program I'm creating. I've finally set up everyth...
[no replies]
Pages: 1... 6566676869... 71
  Archived months: [mar2016]

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