[try Beta version]
Not logged in

Beginners - February 2013 (Page 6)

If, If else coding problem
 
Hi I have to write a program that takes 2 inputs to indicate the amount of gas used and then calcula...
Feb 27, 2013 at 3:02am
[17 replies] Last: It's necessary to have braces if you have multiple things you want the... (by Disch)
Skipping second cin>>x
 
This is my first time posting on this forum so apologies if i haven't followed correct forum etiquet...
Feb 27, 2013 at 2:57am
[4 replies] Last: Vin, LowestOne and Cubbi! Thanks heaps, i've solved my problem! <3 (by JingoJango)
attempting to eliminate duplicate strings in an array
 
/*Function 5: Unique word array Parameters: (string to search, integer start position, array to ret...
Feb 27, 2013 at 2:34am
[1 reply] : Edit: removed profane cout statement that was relaying current variabl... (by nerdynate)
creating an array with a struct
 
So Im trying to create an array with a size equal to the course variable of studenta. What am I doin...
Feb 27, 2013 at 2:31am
[11 replies] Last: Ok then what you have to do is either compile with the option -std=c+... (by cire)
program that outputs the time it takes for lighg from the sun to reach the planets
 
Input output program that shows how long the speed of light takes to reach the planet's Speed of l...
Feb 27, 2013 at 1:53am
[7 replies] Last: Do you mean can you put the minutes and seconds in the same block? If ... (by Danny Toledo)
Number of days per year (including leap years)
 
Hey guys! I've been working on this code to figure out the days in a year, example, 50 days have pas...
Feb 27, 2013 at 1:34am
[10 replies] Last: I got it. Thank you very much! (by strongbad440)
Finding the sum of all the values of a variable.
 
Hello, I'm writing a program for my c++ class that requires me to read data from a file and the prof...
Feb 27, 2013 at 12:47am
[2 replies] Last: Thank a lot. I was able to get it to compile and show the right profit... (by abledpilot)
Hello All
 
Hello All, Just popped in to say hey. I am new to programming and I am currently trying to bot...
Feb 27, 2013 at 12:39am
[2 replies] Last: Welcome (by Smac89)
by lifedj
How can I build a library under windows
 
Hi, I need help to do a thing that I usually do in linux, but now I'm not able to do in windows! I'...
Feb 27, 2013 at 12:36am
[no replies]
by T4l0n
turn this array to add into a moltiplication
 
#include <iostream> using namespace std; float input(float array , int num); float output(floa...
Feb 26, 2013 at 11:49pm
[1 reply] : I would be surprised if this actually ran, have you tried compiling it... (by guatemala007)
Simple Calculator Problem
 
Here is the code for my simple calculator: #include <iostream> using namespace std; float a;...
Feb 26, 2013 at 11:17pm
[2 replies] Last: worked great thanks so much for your help (by TheSnowman)
C++ Incompatible types: calculating allele frequencies
 
Here is what the input file looks like: 1-1_Sample 1 GCCCATGGCT 2-1_Sample 1 GAGTGTATGT 3-1_S...
Feb 26, 2013 at 10:52pm
[no replies]
Addition with running total
 
I'm trying to write a program which works like a calculator, keeping the running total of an operati...
Feb 26, 2013 at 10:50pm
[2 replies] Last: Actually, I've got another condition (which I omitted here because it'... (by verandaguy)
Will pay money for personal programming help. email only if interested
 
Joeseph Clark@yahoo.com
Feb 26, 2013 at 10:31pm
[no replies]
by T4l0n
can't input more than 10
 
#include <iostream> using namespace std; int main (){ int x; int y; int a; ...
Feb 26, 2013 at 9:55pm
[3 replies] Last: That even compiles without the int being a const int, for the array in... (by Lynx876)
int to char
 
I'm having trouble getting an int to cast to char in a way that the char will display the actual val...
Feb 26, 2013 at 9:46pm
[3 replies] Last: The function only takes char strings, so using string is out That ne... (by Chervil)
Please help with dice roll program
 
Hello, I'm new to c++ and I have this problem. 1) Write a program to simulate rolling a pair of ...
Feb 26, 2013 at 9:37pm
[10 replies] Last: Yes that's right, now I remember that. I made the same mistake last t... (by elv5022)
Problem with srand() and rand()
 
Googled around and could not find a straightforward solution. When outputting the result of rand(...
Feb 26, 2013 at 9:07pm
[7 replies] Last: Because each time you call rand(), its seed gets re-randomized, mostly... (by S G H)
Euclideans Algorithm to reduce fractions
 
Hi my teacher gave us an assignment and I have gotten every thing taken care of except for understan...
Feb 26, 2013 at 8:45pm
[no replies]
While(!fin.eof()) infinite loop?
 
Hello everyone. First of all, sorry for another thread on such a common topic, but unfortunately I w...
Feb 26, 2013 at 8:45pm
[5 replies] Last: ^Thank you, Chervil! Apparently my professor forgot that last id and I... (by cptEczema)
February 2013 Pages: 1... 45678... 67
  Archived months: [jan2013] [mar2013]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.