GIDForums  

Go Back   GIDForums > Computer Programming Forums
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

C++ Forum

Welcome to the C++ forum.

Browse through the links below to find existing C++ programming language discussions - including source code examples, hints, tips, and tutorials. Example codes are syntax highlighted for your convenience.

If you have just registered or if this is your first time here, and if you wish to include example C++ code in your posts and messages, please surround your example codes in [cpp]...[/cpp] bbcode tags when you submit your messages. This will syntax highlight your CPP / C++ code examples within a post. Please refer to the details here.

Post New Thread
Threads in Forum : C++ Forum Forum Tools Search this Forum
  Rating Thread / Thread Starter Last Post Reverse Sort Order 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 Go to last post
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...
07-Nov-2009 02:02
by Freakzoyd Go to last post
8 94
Question
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...
06-Nov-2009 13:34
by fakepoo Go to last post
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...
06-Nov-2009 04:18
by ahbi82 Go to last post
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 Go to last post
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...
05-Nov-2009 09:21
by davekw7x Go to last post
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)...
05-Nov-2009 08:48
by davekw7x Go to last post
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...
05-Nov-2009 00:32
by Howard_L Go to last post
1 57
Thumbs up
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...
03-Nov-2009 08:43
by fakepoo Go to last post
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...
02-Nov-2009 15:32
by Lil_blue_dude Go to last post
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 Go to last post
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;
31-Oct-2009 16:19
by TitanGuy Go to last post
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);
29-Oct-2009 18:07
by Mexican Bob Go to last post
4 83
 
by Score_Reaper
/* 1=rock 2=paper 3-scissors */ #include <iostream> #include <cstdlib> #include <ctime> using namespace std;
29-Oct-2009 14:33
by Score_Reaper Go to last post
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...
29-Oct-2009 10:29
by zalezog Go to last post
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...
29-Oct-2009 08:38
by Howard_L Go to last post
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...
28-Oct-2009 21:20
by ahbi82 Go to last post
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;
28-Oct-2009 09:44
by anonymous91 Go to last post
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. ...
28-Oct-2009 06:51
by Mexican Bob Go to last post
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...
28-Oct-2009 06:38
by Mexican Bob Go to last post
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 ...
28-Oct-2009 03:46
by saqib_ Go to last post
2 86
Post New Thread

Recent GIDBlogProgramming ebook direct download available by crystalattice

Display Options Moderators
Showing threads 1 to 20 of 4567 Moderators : 1
Sorted By Sort Order
From The
LuciWiz  
Forum Tools Search this Forum
Search this Forum :

Advanced Search

New posts New posts More than 15 replies or 150 views Hot thread with new posts
No new posts No new posts More than 15 replies or 150 views Hot thread with no new posts
Closed Thread Thread is closed  
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 08:51.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.