- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
Re:
Hello I'm new here and I've been up two night's trying to figure out how to write a program that will convert numbers to word. If anyone can help please respond to the post. here is what I sort of figured out so far. As you can tell I'm still … |
|
I'm going into my last year of a computer science degree, and after looking around at job postings for software developers I've noticed that *many* of them require knowledge of Oracle - something that I haven't yet learned very much about. So I was wondering if anyone could point me … |
|
Re:
I was wondering if anyone could help me a little bit with a problem I encountered on Project Euler. The specific problem at hand is to find the 10,001st prime. I have implemented what I think to be a version of the Sieve of Eratosthenes. When I modify the problem … |
|
Re:
Hi, I have the following code which compiles fine but does not produce any output.. [CODE] using namespace std; #include<iostream> #include<cstdio> #include<conio.h> struct node { int data; struct node *link; }; void append(struct node *,int); void addatbeg(struct node *,int); void addafter(struct node *,int,int); void display(struct node *); int count(struct node … |
|
When I ran a program that had a list of integers with 5000000 elements in it, I was surprised to find that it used 118MB of memory, even when the *only* thing done by the program is the creation of the list. As far as I understand, each node in … |
|
Re:
If I end my cost of .60 cents with a [B]NICKLE [/B]or a [B]DIME [/B]I get a 2.####.E number. If I end the total cost with a quarter I don't get a big number ( Wrap around number right ? ) Can anyone tell me why? [CODE]#include <cstdlib> #include <iostream> … |
|
Re:
A pair of (positive) integer numbers are called twin primes if they are both prime numbers and the difference between them is 2, i.e. they are consecutive odd numbers and they are prime numbers. (3, 5), (5, 7) and (11, 13) are three examples of such pair of twin prime … |
|
I have the line [code=c++]#include <algorithm>[/code] at the top of a file, and the line [code=c++]nth_element(minRollArray,minRollArray+n,minRollArray+numSets);[/code] in one of the fuctions in that file. However, when I try to compile it I get the error error C3861: 'nth_element': identifier not found at that line. I would expect this if I … |
|
Re:
Write a program that reads in a positive integer N and calculates and displays the sum of the first N even integers. For example if N is 6, the program should display the value 42, which is: 2+4+6+8+10+12=42. Caution: You need to write a program to do the addition. If … |
|
Re:
Can any body tell me what the below code does? The code is written in C++ language. ------------------------------------------------------------------------------------- [CODE]#include <stdio.h> #include "genlib.h" #include "simpio.h" main(){ int num1, num2, temp; printf (“Enter a positive integer: \n”); num1=GetInteger(); printf (“Enter a positive integer: \n”); num2=GetInteger(); while (TRUE){ temp=num1%num2; if (temp==0) break; num1=num2; … |
|
I'd like to gain some experience in software development/engineering by getting involved in a project which is just starting, so that I can be involved in the entire SDLC, not just the tail end of it. The problem with sourceforge.net is that almost all of the projects there are already … |
|
ah, nevermind, I've figured out the answer to my question. Feel free to delete this thread. |
|
I have been programming in C++ for a while now, though I have always only written programs with simple command-line interfaces, never a GUI. I have one such program right now which I would like to convert into a Windows application with a full-fledged GUI with customized graphics (for buttons, … |