Beginners - January 2013 (Page 4)

Need help with Programming statistics
 
Not sure how to start on the homework assignment. Assignment: Write a C++ program that accepts 5 ...
[5 replies] Last: include <cmath> include <iostream> using namespace std; int main() { ... (by abba901)
how to validate numeric input only using cin
 
So I am having trouble with this program it works but I need to input 2 values from the same line se...
[3 replies] Last: Chervil your the man! or woman! appreciate it hopefully it will pass i... (by Josh Henry)
Select Statement in C++
 
The following code compiles but does not return the correct results. selectsmt is loaded with the c...
[no replies]
by DNRN
Problem reading from file
 
Hi I have a simple problem - I think. I'm reading the content from a file into a char array: std:...
[3 replies] Last: Is that a true problem, or is it just an idiosyncrasy of the debugger?... (by Chervil)
by Cross
Have a assignment to hand in and could use some feedback
 
Hello, i'm new here but have heard great things about this community. So I figured I would sign up a...
[9 replies] Last: Line 39: comparsion floating point variables using == isn't safe. You ... (by MiiNiPaa)
by Dizzy
Problem Coding Variance?!
 
Ok so my code compiles and runs, but the output of my variance is wrong. I'm brand new to coding and...
[1 reply] : var = pow(array -avg,2)/ (n); 1) Why is / (n) here? it isn't in yo... (by MiiNiPaa)
Array Manipulation
 
Hello people of C++ forums. I am a rookie programmer. I hope you can assist me: Implement the pro...
[no replies]
by Ikuti
How to use databases with C++
 
What kind of program would I need to create a database which I could later use within my C++ program...
[2 replies] Last: I used sqlapi++ when I did this. It was pretty straightforward and sup... (by ResidentBiscuit)
by tdk93
initializing array
 
I'm using the following statements to initialise array int d; cin >> d; int array ; and th...
[2 replies] Last: Just in case that link dies someday... @ tdk93: this is a feature of ... (by Catfish3)
Passing Arrays to Function
 
#include <iostream> using namespace std; void input (int test ) { int i; for(i=0;i<5;i++) {...
[1 reply] : You see, array variable is a pointer, which points to memory area co... (by MiiNiPaa)
Problems reading in data correctly
 
Here is my task. I want to read in from a file a set of numbers, but I need to read them in as CHAR...
[2 replies] Last: ughh.. such a simple fix.. Thanks LowestOne (by Exhorter)
missing .dll's on other computer
 
Hi all, I make most of my applications in Visual Studio 2012. The problem is, when I run one of that...
[7 replies] Last: To use the static linking you should remove the dynamic linking with /... (by EssGeEich)
Do-While Loop - Sum of numbers
 
Your program should ask the user for a sequence of numbers until the user inputs 0 (zero) and then...
[1 reply] : You just need sum += numbers; somewhere after line 16. Strictly... (by Chervil)
by john22
print statement question
 
Hey all, if you have an array of char p = "/file/a/" how would you print that p to be like /a...
[1 reply] : The key is clearly the delimiting character '/'. There are many ways ... (by Chervil)
by rcast
Simple program to read and output
 
I'm on chapter 2, Thinking C++ - I wanted to challenge myself so I tried to take what I learned thus...
[1 reply] : Nevermind, I just figured it out - I had to output v not line: for... (by rcast)
Close Program! but why?
 
#include<stdio.h> #include<conio.h> int main() { int x,y,z; printf("Input 3 numbers: "); scanf...
[4 replies] Last: its okay now thanks Zhuge chipp:devC++ (by zegdrick)
Help reading .txt file.
 
So I am relatively new to c++ and have read a lot of different documentation on reading information ...
[5 replies] Last: lol np. And if you're going to do anything with the numbers, i.e. Addi... (by Lynx876)
Is there something wrong here?
 
Hello guys, im doing this practice assignment from this book im reading about C++, im supposed to ma...
[10 replies] Last: Thanks man ;) (by Dexterr)
Naught's and Croses
 
Hi I am currently creating a naught's and crosses program for a college assignment and have come acr...
[4 replies] Last: Thank you very much (by kingchappers)
loops
 
does anyone know how long 36^10 loops should take approximately? with about 1 function each iteratio...
[4 replies] Last: o okay haha. i guess ill lower it to 36^7 loops then or something. tha... (by gelatine)
January 2013 Pages: 123456... 53
  Archived months: [dec2012] [feb2013]

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