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,661
 
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 172
 
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 310
 
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 118
 
by alice09
Hi all, I want to get textBox values from subTabControl into maintabControl. Follwing is my code that i written in mainTabControl: IDC_EDITMCNO_SUB is textbox in subTabControl and MacNo_Sub is variable for IDC_EDITMCNO_SUB, i trying to get value from IDC_EDITMCNO_SUB and assign the value to...
27-Oct-2009 21:09
by alice09 Go to last post
2 92
 
by jnCPP
Below is the code I've written to sort each separate goals/assists/shots array in ascending order, the problem I'm having is that I don't know how to sort the string of names in alphabetical order using the selection sort algorithm. I'm not asking for a solution, just wondering if I can approach...
27-Oct-2009 19:31
by jnCPP Go to last post
2 188
 
by TitanGuy
Please see attachement for rules. New Assignment: Here is what I have, Is this the best way to do this? #include <iostream> #include <string>
27-Oct-2009 11:21
by TitanGuy Go to last post
3 112
Unhappy
by bunsann
Basically, one statement causes 9 errors. The followings are my codes: #include <iostream> #include <string> #include <map> // for map<template> #include <vector>
27-Oct-2009 10:55
by bunsann Go to last post
4 245
Thumbs up
by katty
Hi folks,, I've tried to write below program to understand 'friend' functions #include <iostream> using namespace std; class C2;
27-Oct-2009 10:23
by Howard_L Go to last post
2 75
 
by ahbi82
I would like to ask if anyone has any idea how to test memory leak on the implemented classes. I did wrote a test interface to do simple testing like construct, destructor, copy constructor, operators.... ect. However i would like to test for memory leak as my application requires loads of...
27-Oct-2009 08:42
by fakepoo Go to last post
1 65
Exclamation
by sl02ggp
Hi! I wrote this Resistor Calculation Program without the use of arrays, and was wondering how I would implement arrays into this program, so that the print output format wound print the total resistance followed by values of each resistor: Like this: For series: (Example) Total series resistance...
26-Oct-2009 23:41
by Howard_L Go to last post
3 153
Lightbulb
by katty
Hello Folks, I would like to know the difference between 'namespace' and 'class' :?
26-Oct-2009 08:56
by davekw7x Go to last post
1 84
 
by Lil_blue_dude
I'm writing a program that can be used by a ski resort to display the base depth in inches, each day, for a 7 day period. The user will be prompted to enter the month, the start date, the end date, and the base depth for every day in that period. The program will then sort the base depth and...
25-Oct-2009 10:36
by Lil_blue_dude Go to last post
2 151
 
by saqib_
The following code gives the out put in the correct manner but without the month being in english. Help please. /* Write a program which inputs a date in the format dd/mm/yy and outputs it in the format month dd, year. For example, 25/12/61 becomes: December 25, 1961 */ #include...
25-Oct-2009 06:16
by saqib_ Go to last post
1 114
 
by new programer
Hello all, I have a problem in printing a certain patteren "as showed in the attachments. Here is my tries so far # include <iostream> using namespace std; int main ()
24-Oct-2009 07:54
by Kimmo Go to last post
5 150
Angry
by lexy21kw
File 1 Name is b.h #ifndef b_H #define b_H #include <iostream> #include <string> using namespace std;
23-Oct-2009 18:37
by davekw7x Go to last post
1 108
 
by TitanGuy
Please help. New assignment and I am totally lost on this. I was able to complete my last assignment, so thank you for everyone's help. PLease see attached assignment. Thank you in advance.
23-Oct-2009 07:58
by TitanGuy Go to last post
25 415
 
by cardinals03
I have the following questions: For parts b-e, repeat the declaration and use the results from a. int x = 6, y = 5, *px, *py; a) Write 2 assignment statements that set px and py to point at integers x and y. (I think it is *px = &x, *py = &y;) b) Write an output statement using px that print the...
22-Oct-2009 16:33
by fakepoo Go to last post
2 60
 
by DDVX
Hey guys, I'm having problem with a typical C++ beginning program where I find all the perfect numbers between 1 and 10000. I have made a program to find this before, but we have been asked to rewrite it using the two following functions: int sum_of_positive_divisors(int number) and bool...
22-Oct-2009 11:44
by DDVX Go to last post
13 375
 
by metrsostation
Guys Please help Me i Am new here and i dnt know a lot of C++ this is my 1st assignnment and i need ur help plzz Write a programme that reads three integers from the user and prints them in descending order. Use only “if” statements no “if…else”. The use of &&(AND), ||(OR) is not allowed either....
21-Oct-2009 17:25
by fakepoo Go to last post
2 380
 
by ahbi82
Hi all, If i have a base class A with operators, =, -, + overloaded. Then i have a class B then inherit from class A, do i have to rewrite the whole set of operators for overloading? If not, whats the proper syntax or format as both have different class type for the operator overloading in the...
19-Oct-2009 07:06
by ahbi82 Go to last post
1 88
Post New Thread

Recent GIDBlogOnce again, no time for hobbies by crystalattice

Display Options Moderators
Showing threads 41 to 60 of 4590 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:33.


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