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 02:44
by WaltP Go to last post
0 15,423
 
by onako
I store matrix entries in std::vector<double>, such that the reading is row by row. This means, for matrix 1 3 4 8 9 3 3 6 8 1 1 2 2 0 9 8 7 6 the std::vector<double> would have entries: {1,3,4,8,9,3,3,6,8,1,1,2,2,0,9,8,7,6}. To transpose the matrix I use the naive approach of...
30-Jul-2010 15:54
by davekw7x Go to last post
10 91
 
by Blake
I'm a bit stumped by a compiler warning that arises from this code: CTNode::CTNode(const list<unsigned int>& rowList, CTRootNode * r) : nodeRows(new unsigned int ), nNodeRows(rowList.size()), root(r), basisVector(NULL) { assert(nNodeRows > 0); children = NULL; children = NULL; unsigned int *...
29-Jul-2010 04:55
by Blake Go to last post
9 131
 
Linked Lists (Multi-page thread  1  2)
by DamienCurr
Good evening, I have been fighting with this assignment for the better part of a week and I'm still not getting anywhere with it. This link list allows you to add records and display them, but I cannot figure out how to search by first name and last name or to delete a node/record within the list....
28-Jul-2010 09:28
by fakepoo Go to last post
13 161
 
by pruns
I'm trying to make a program that gives an output in matrix format 2 columns but the rows depends on one of the input numbers. here is a copy of my code and In essence I'm trying to make column 1 my Eprime from 1/27210 until it reaches V1prime and column to the calculations giving real(T). I hope...
26-Jul-2010 15:52
by pruns Go to last post
5 74
 
by eliimports
When I try to make it run... it start and than after the second scanf (the bonus) it exit and write this: Run-Time Check Failure #3 - The variable 'income' is being used without being initialized. Thank you for your help, Eli #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> void main()
26-Jul-2010 09:09
by fakepoo Go to last post
1 32
 
by generalchaoszzz
hi i need a way to convert a char array to unicode char array . because of that microsofts com library requires WCHAR as parameter sometimes forcedly. and i dont know how to do this. thanks.
26-Jul-2010 07:36
by fakepoo Go to last post
2 58
 
by Adeel.817
• A default constructor which will initialize all data members with values 2.5 and 2.5 for base and height. • Getter and setter functions  You are required to create two objects of the same class.  You must assign values of first object through setter functions.  You should...
25-Jul-2010 14:18
by Howard_L Go to last post
3 95
 
by Freakzoyd
Hello, i was assigned to choose make a check if it was possible to make a figure with a certain number of arrays, only 3, 4 or 5. If input is 3, then make a check for a triangle, else if input is 4 then make a square, else a pentagon, lol. The arrays can only have a length of 4. I start inputing...
22-Jul-2010 13:11
by Howard_L Go to last post
4 122
 
by Adeel.817
To enrich the vision of Logical, Analytical, and Programming skills of students at the basic level of learning; the selection of “C” language is most appropriate. Support or contradict this statement with solid reasons.
20-Jul-2010 08:20
by davekw7x Go to last post
1 143
Unhappy
by qtuutr
hello people, i'm currently new to c++ (how original) and trying to get the hang of structs and classes, I tried the following code, but it errored. Can someone explain why and preferably correct it as well? #include <iostream> using namespace std; struct Blaat{ int a; int b; int sum;
19-Jul-2010 08:02
by davekw7x Go to last post
4 86
 
Thread Rating: 23 votes, 5.00 average. by george89
I am making a calculator program, and when I compile it with the following: g++ -g calc.cpp -Wall -Wextra -o calc I get absolutely no errors, just a warning about a function returning nothing when not a void. That actual warning is: warning: control reaches end of non-void function Though, I...
17-Jul-2010 15:31
by ecleric Go to last post
3 32,067
 
by Adeel.817
#include<iostream.h> using namespace std; class array {public: array() {int i; for(i=0;i<10;i++) num=0; } void Inputc();
15-Jul-2010 14:47
by fakepoo Go to last post
3 75
 
by fourtytwo
Hi, I'm a beginner in C++ and lately I tried to make a very simple game of "Rock Paper Scissors Lizard Spock" (as in Big Bang Theory sitcom ;)). The code does compile, but when the destructor deletes the array elements, the program sends EXC_BAD_ACCESS signal. Using debugger I discovered that the...
15-Jul-2010 12:22
by fourtytwo Go to last post
5 131
 
by Adeel.817
Problem Statement: Multiplication of two objects of same class • You are required to write a class. Class should have an array of 10 integers as its private data member. Class should have • A default constructor which will initialize all array elements with zero. • Getter and setter functions • An...
15-Jul-2010 08:03
by davekw7x Go to last post
4 98
Smile
by gidfuser
I am new to C++, have some experience of writing very basic console apps and am using Virtual C++ to write my first Win32 app. I am using Virtual C++ 2008 Express Edition on Windows 7 64 bit edition. At present I am just learning how to do the basic parts of apps such as menus, dialogs, message...
14-Jul-2010 13:18
by fakepoo Go to last post
1 88
 
by jakepolak
Hello, when I write something like this: char arr = "1234"; it is the same as: arr = '1'; arr = '2';
08-Jul-2010 14:52
by davekw7x Go to last post
1 85
 
by mosquito
Hi all, I have a data list containing binary numbers (0's and 1's), for example in the following way: 0 1 1 0 0
04-Jul-2010 14:24
by Howard_L Go to last post
2 90
Question
by vermin1302
I'm using Dev-C++ 4.9.9.2 to compile a program I wrote about five years ago. I recall that it compiled without errors when I first wrote it. I had to change a few things, because I guess the code was getting a little old. Anyway, I got rid of all of the errors except this WinMain@16 thing. I've...
04-Jul-2010 09:34
by Gero Go to last post
6 21,608
 
by Katiaaaaaaaaa
hello everyone I want to make a program that displays a grid on a rectangle (a mesh), for me I made a program but it does not segue from the small square grid, it shows that the points of small peaks square grid, PLEASE HELP ME, I need it VERY URGE THIS PROGRAM, here is the program that I made: #...
30-Jun-2010 11:50
by Howard_L Go to last post
13 237
 
by Freakzoyd
Hello guys, I know this problem has been around before because i have made some research but I didn't understand any of the solutions given to the people with the same problem so decided to ask again in search of a better answer. I am using Dev C++ 5 beta with mingw downloaded from bloodshed.net,...
29-Jun-2010 23:21
by Howard_L Go to last post
1 72
Post New Thread

Recent GIDBlogR for statistics by crystalattice

Display Options Moderators
Showing threads 1 to 20 of 4819 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 19:03.


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