Beginners - September 2012 (Page 16)

Pointer to an array of pointers to functions
 
Hello there. I just start with the code of the problem I hinted in the title: #include <iostream>...
[2 replies] Last: Wooops.... Thanks, now it seems so obvious. (by byte a bit)
How to use If Else
 
double EPS; double EY; //if stament to make sure users enters all necessar...
[no replies]
Calculator
 
I am getting the following error: 1>Calculator.obj : error LNK2019: unresolved external symbol "...
[2 replies] Last: Hey Pal, you didn't give definition of your function divideFractions()... (by HiteshVaghani1)
Recursive binary search using Array. HELP?!
 
OK so I'm trying to write a program that performs recursive binary search. this program suppose to a...
[3 replies] Last: That's the same one I'm using. Try copying the code you posted here in... (by TheJJJunk)
prime number function
 
So I need to write a code that prints "true" if a number is prime and "false" if it isn't .. this is...
[6 replies] Last: i starts at 2. The while loop is initially true, since i < number. ... (by TheJJJunk)
Reading into an array from datafile.
 
I have a datafile that looks like this: NOT 11010011 ADD 00001101 00110011 ADD ...
[1 reply] : Use getline() to capture the whole line and then parse it with stri... (by soranz)
Question re: Pointers (I think)
 
This relates to an assignment, but I am not looking for answers (read the FAQ on that!) I have wr...
[2 replies] Last: I cannot grasp these pointers Check out http://www.cdecl.org/ I... (by TheJJJunk)
time
 
Here's the problem I need help on. Write a program that asks the user to enter a number of second...
[4 replies] Last: //as long as there are more than 60 seconds while (seconds > 60) { ... (by TheJJJunk)
ignoring a piece of code based on specific input?
 
Hopefully I can explain this well. For the scenario, this program calculates the cost of copies b...
[4 replies] Last: else if (numberPages > 1) { cout << "Do you wish to staple each ... (by TheJJJunk)
Input .txt matrix into 2d array without asking for rows and columns
 
Hey guys, I've run into a problem where I need to input a matrix into a 2d array from a text file w...
[4 replies] Last: I'm not sure about Java but you are correct that stringstream is proba... (by soranz)
C++ function with two parametre
 
Hello cPlusPlus' I'm having trouble to make a program that can do the following: In short - a ...
[2 replies] Last: Try putting a and b into show_func as parameters and change the ... (by TheJJJunk)
Get just one output out of this
 
I just want one random number not two for this: srand(time(0)); for (int i=0; i<=1; i++) {...
[3 replies] Last: Take out the for loop. srand(time(0)); int r = rand() % 2; cout <... (by TheJJJunk)
sparse matrix using linked list C++
 
I'm coding the program that using linked list to store a sparse matrix. First I create a class "Node...
[no replies]
by Yamraj
Numbers to Words Program. Beginner.
 
Hi guys, I posted this same problem in the General C++ Forum, but I thought it should be in the begi...
[2 replies] Last: becuase modulo takes the remainder so dividing by 1000 will go into it... (by Aramil of Elixia)
somethings wrong
 
#include <iostream> using namespace std; int main () { double total_points=0, average; doub...
[8 replies] Last: thanks man i appreciate it. (by KoronaKyle)
by Sylex
Enter one variable, then the program skips to end
 
Hey all. I'm helping a friend with his code, and everything compiles fine, but when I try to run it,...
[10 replies] Last: woooo! victory! thanks a lot to all of you. it's working swimmingly no... (by Sylex)
While statements
 
This is my program.... Can someone please help me? This is so confusing for me and nothing makes any...
[4 replies] Last: so should i set it equal to = 0 so it changes? How can I correct your... (by dragonfly22)
Integers of Unlimited Size?
 
Hello, Fredbill30 here! I was just wondering if it is possible to make Integers of unlimited size...
[6 replies] Last: @Need4Sleep limits do not represent infinity at a given point. (by naraku9333)
Problem
 
thnx
[7 replies] Last: . (by beginner1432)
Please help!!!!! Simple for loop
 
Hello forum, I would first to say I appreciate any help, yes this is HW but I am not asking for i...
[7 replies] Last: I'm really glad you worked through it and got it working properly. It... (by Chervil)
September 2012 Pages: 1... 1415161718... 62
  Archived months: [aug2012] [oct2012]

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