Beginners - October 2013 (Page 73)

Program to pritn decimal equivalent to binary using modulus and division operators??
 
Hello, I'm having trouble knowing where to start on writing a program that takes a binary number and converts it into a decimal. I understand how to convert i...
[1 reply] : I would start by looking at other programmers attempts to do this. ht... (by Yanson)
Linked Lists - Help please!
 
I can add any amount of values to the initial list and it sorts/prints with no issues. Once I call the print function, I can't go back and add more values to t...
[5 replies] Last: Doubly linked list that was due this weekend - LIST.H #ifndef LI... (by zCasanova)
by Larz
Implementing a Sort that returns the index positions
 
Hey guys, I've made a function that returns the index positions of the highest to lowest values within a array. Essentially rather than sorting the array,...
[4 replies] Last: If I were to write it, it would look something like this: #include <... (by JLBorges)
Produce like fruit or vegetable
 
Using dev c++ I am building a class the generates 3 bundles of fruit or vegetables. I am stuck on the issue of producing more that one output fruit or veggie fr...
[2 replies] Last: Success, this will certainly help. Now I can continue to clean up this... (by Mashd Taters)
Printing from a File Problem
 
Hey everyone, I've been having a problem with this all day, and after bashing my face against the wall for the past oh, 5 hours, I thought I'd ask you. I've bee...
[7 replies] Last: Thanks a ton for your response. I got it to work. Really appreciate th... (by catalanor0220)
add a comma to long numbers?
 
how can I add a comma every 3 decimal places to a long number of int type?
[2 replies] Last: The brute force method: #include <iostream> // works for integer ty... (by JLBorges)
by Ltp
My code is betraying with me!
 
I made this code & took almost 10 hours. But there is a problem in the output. #include <iostream> using namespace std; class Queue{ private: in...
[6 replies] Last: LTP, you can always give vairables meaningful names, or names that bet... (by IWishIKnew)
User input and output help
 
Write your question here. Hello Everyone, My professor just gave us an assignment to create a Time Machine Program That takes the persons name and outputs...
[3 replies] Last: Thank you. It now works. (by kennyp5792)
typedef and container iterators
 
I got this statement from some code in a book but I was looking for some clarification: typedef list <string>::iterator IT; I'm a bit confused about ...
[2 replies] Last: also this is possible in C++11: using IT = list<string>::iterator; //S... (by MiiNiPaa)
map/set iterator not derefencable
 
here is my code void print_words (const map <string, int>& printMap) { FOO p (printMap.size()); //create an FOO object p p = for_each (printMap.begin...
[7 replies] Last: Thanks everyone, this helped a lot and I got it to work. (by programgirl)
LNK1120 error
 
Hi guys here is really simple problem but once i try to compile it , it gives me this error which i really dont get it and couldnt find solution for that: ...
[3 replies] Last: thank you so much guyz,it works now (by nader1993)
by fobian
Best way to go about learning.
 
Hello everyone, I am somewhat new to C++ I have attempted this about 100 other times but I always get confused or busy with life and then trail off of it. I ...
[1 reply] : Thats great info thanks for sharing :) Spybubble http://spybubblez.... (by morsoruce)
Check string with possible inputs?
 
I need to check an input with 2 possible values, then have that lead to another function based on what was chosen. But for now I just want to check for correct...
[1 reply] : Let's say you have entered "Cat" Your condition: !( huh =="Cat" ) || !... (by MiiNiPaa)
Solving a system of equations
 
Hey guys, i have a bit of problem here. I need to write a program where i have an equation (general equation of an elipse) which has six variables! and they al...
[1 reply] : you already have the equation should be really easy to program but any... (by giblit)
by Cas39
User Input Issue
 
Hi, I was wondering if someone could take a look at my code and advise me how I get these functions to loop until user enters a float value: void celsius_inpu...
[5 replies] Last: I'd like to post a basic valid input function. It's useful, because it... (by MiiNiPaa)
by stacyd
input number output the corresponding month
 
My program is suppose to prompt user to enter a number 1-12 and output the corresponding month. Ok I know I am missing a very important part of this program bu...
[4 replies] Last: Well, this means that you have not input the value of month as "cin>>m... (by PalashMudit)
by Ltp
Linked List
 
How can I input 10 values(or user given number of values) & output those values using Linked List?
[1 reply] : I have this code: #include <iostream> #include <string> using namespa... (by Ltp)
Need help with magnitude
 
I need help writing a function for magnitude. I commented it out to see if the polar coordinates would work but i still need to define magnitude before it will ...
[no replies]
how can i export results of my calculation fom my c++ programme
 
Hey everybody, I need some help here. I have to create a project to plot Cartesian graphs. Until now i am using c++ to calculate the Cartesian coordinates, but...
[5 replies] Last: Thanks (by PalashMudit)
change const to variable string?
 
I have this from a reference code, and I figured it'd be useful and interesting if I could change the const char phrase to maybe a string that the user can ente...
[3 replies] Last: Quote: "couldn't get it to work as a string, since it is checking for... (by Chervil)
October 2013 Pages: 1... 7172737475... 86
  Archived months: [sep2013] [nov2013]

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