| |
Rating
Thread /
Thread Starter
|
Last Post  |
Replies |
Views |
|
|
by WaltP
Guidelines for Posting Requests for Help
version 3.1
GIDForums is pleased to provide these forums to help you understand programming techniques and correct programming problems. Following these guidelines will help you post good questions with enough information that we can understand your...
|
21-Apr-2005 03:44
by WaltP
|
0 |
13,535 |
|
|
by Freakzoyd
Hey guys, I am new to c++ programming and i am making this program but i have some errors that i dont really understand what they mean. Please tell me what is wrong about it. The program is originally written in spanish but i traducted but the variables are still in spanish but i think they're easy...
|
|
8 |
94 |
|
 |
by Saylor
I had to create a class that would accept a user input number between 0 and 9999 and translate it into "zero" to "nine thousand nine hundred ninety - nine". I had to use one int number and use static arrays to hold the strings. The problems arise when I try to initiallize the arrays. I originally...
|
|
1 |
36 |
|
|
by ahbi82
I have done a computer vision application in C++, and well due to the real time constraint, the algorithm will be implemented in VHDL and deployed in a FPGA. I'm using Intel Atom as my "Main" processor, and the FPGA is connected via PCIe. As the implementation on some formulas are too complex in...
|
|
2 |
50 |
|
|
by Howard_L
Hi, I have been learning about inheritance and then began to try some overloaded operators in them.
It was all making sense until I ran into something which I try to condense into the program below.
In there you will see I have two "myteries" which I could use some help in understanding.#include...
|
05-Nov-2009 10:19
by Kimmo
|
3 |
69 |
|
|
by ReynaldoEloy
Hey i need help creating a code that calculates volume/surface area of a sphere, i was using this code as a reference but I'm just drawing a blank right now, any help would be appreciated:
//INCLUDE SECTION
#include <stdio.h>
#include <conio.h>
#include <stdlib.h>
#include <math.h>
//DEFINE...
|
|
1 |
71 |
|
|
by sl02ggp
Im trying to generate sample values of x(t), y(t), and z(t) at a sample
rate of 0.01 for "0 less than or equal to" t and "less than or equal to 6"
Basically trying to store the sampled values in their respective files, but kind of lost on where to start?
x(t) = sin(2*pi*t)
y(t) = 2*sin(16*pi*t/3)...
|
|
6 |
80 |
|
|
by p8ntballsniper8
So I'm trying to write a program that will read in a character from another file, and then test to see if it's a number, letter, operator, etc etc.
The file I'm getting my input from is a short program that uses a random number generator to output a random character each time it's run. I'm having...
|
|
1 |
57 |
|
 |
by sl02ggp
I have my program below (it runs and compiles as is) , but having difficulty implement these conditions and outputs:
conditions:
1. rejecting certain coefficients if the discriminat (B^(2) -4AC) <0.
2. also having no division by zero in my program (do i use setPrecision)?
outputs:
having at least...
|
|
8 |
99 |
|
|
by Lil_blue_dude
I'm suppose to create a function that finds the median in an array. I can assume that the array is sorted, so when I test my function I am entering my data in ascending order. In my main function it asks the user for how many numbers will be in the array, asks the user to input data, and then...
|
|
1 |
38 |
|
|
by cpit
Hi all,
I would like to initialize a 2d vector in the class Graph.cpp according to an input "numNodes". Each element in the 2d vector must be an Arc object, which have attributes like "adj" and "weight".
I dont know which is the better way to initialize that 2d vector. Please, could you help...
|
02-Nov-2009 08:03
by cpit
|
3 |
97 |
|
|
by TitanGuy
New Project... need help please:
Attached is the instructions.
Here is what I have so far and having trouble:
#include <iostream>
using namespace std;
|
|
5 |
138 |
|
|
by cpit
Hi all,
I'm trying to create a vector of objects but I didn't figure out how to reach the member function of objects inside the vector.
Here is my code:
vector<Node> nodes;
for (int i=0; i<10; i++){
Node *ntemp = new Node;
ntemp->setId(i);
|
|
4 |
83 |
|
|
by Score_Reaper
/*
1=rock
2=paper
3-scissors
*/
#include <iostream>
#include <cstdlib>
#include <ctime>
using namespace std;
|
|
7 |
142 |
|
|
by sl02ggp
Trying to make this setup for my arrays:
Print Output Format: Print total resistance followed by the values of each resistor.
For series: (Example)
Total series resistance is 2.123 kOhm for 3 resistors:
1000 kOhm, 1000 kOhm, 123 kOhm
For parallel: (Example)
Total series resistance is 500 Ohm for...
|
|
13 |
134 |
|
|
by metrsostation
Hey Guys Please I Am All new In C++ and i need to pass this assignment
Write a program to help manage an inventory of musical instruments. When A delivery arrives, the user should be able to enter the following for each itme being unloaded from the truck:
-- type of the instrument, assume piano...
|
|
5 |
104 |
|
|
by ahbi82
I wrote an algorithm using C++ on some computer vision thing using OpenCV. But i would like to create a GUI using C#. What's the best way to do it. Currently my algo is compiled as static library, *.lib. Would it be better if its done in DLL?
I'm using Visual Studio 2005.
How can i import those...
|
|
0 |
39 |
|
|
by anonymous91
Obviously the problem is me and not the loop.
But here's a watered down version of my code with the cout strings changed so there's no confusion.
int main()
{
int a;
a=5;
string x;
|
|
10 |
138 |
|
|
by jnCPP
Below is my semi-finished program..
I have a couple of issues that have me stuck, and after looking up several different ways to solve them, I'm still stuck.
- The reference I'm using for &nameLoc doesn't seem to be passing,
because the output for Byfuglien is always from the 0 element.
...
|
|
4 |
122 |
|
|
by saqib_
Hello, I am new to this forum and to programming. I was trying to make a small program that calculates the sum of odd and even integers up to the limit provided by the user. The code is given below. The problem is to find the even sum. I am stuck at this point. Please guide me.
/*
This...
|
|
13 |
207 |
|
|
by saqib_
I was trying a problem and wrote the following code. I have nested if else structures together. Is it correct? Is there any other way I can solve the problem? For example by using for or switch statements?
/*
Write a program which inputs a person’s height (in centimeters) and weight (in
...
|
|
2 |
86 |