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 ziorus
Hello all, I have tried to see where I have gone wrong here. I cannot seem to fix this error: .\linked.cpp(85) : error C2664: 'ListInt::Insert' : cannot convert parameter 1 from 'ListInt *' to 'ListInt::IntNode *' Here is the code if someone be so kind to look at. Thank you: #include <iostream>
22-Aug-2009 19:23
by ziorus Go to last post
6 191
 
by spiderman45144
I have been doing a little math programming over the past few weeks for science fair and my object is to make an efficient program that can find very large mersenne primes, I am currently using Lucas Lehmer's formula and a small statement that finds the first 500,000 prime number and divides the...
22-Aug-2009 13:38
by science_man_88 Go to last post
2 1,200
 
by ForexSurfr
I am currently having problems with my ADO connection string. I have searched all over the internet for a solution to this problem but I have yet to find a solution. Can someone help me with the proper configuration for a SQL OLEDB connection with a windows authentication? I have attached my C++...
20-Aug-2009 22:56
by ForexSurfr Go to last post
0 82
 
by ziorus
Hello all, I would like to make sure I understand this concept of defining languages. I have a grammar as: <word> ::= <dot> | <dash><word> | <word> <dot> In my book it is shown <something> = and not <word> ::= so I am assuming it is the same. Anyways, I have to come up with 3 character strings....
19-Aug-2009 16:09
by ziorus Go to last post
2 98
 
by DBS
Could anyone tell me what is wrong with this piece of code: #include <iostream> #include <fstream> ofstream vol_file("bin.dat", ios_base::out & ios_base::binary); if (!vol_file) return 0; int n; int NN = 10;
18-Aug-2009 18:44
by DBS Go to last post
2 179
 
by hollowsleeves
As you could read from the title, I'm having an issue with creating a Binary Search Tree in my program. Essentially the objective of the program is to first write into a file in binary and then read from that file and store it into its designated class object (base and derived). Then once that's...
11-Aug-2009 15:16
by Howard_L Go to last post
2 197
 
by skiing64
I have my program working except for deleting the node at the end and I am not sure my code is correct for the very bottom recursive call would someone help please. I am stuck. bool Delete_Node(node_ptr &p, keytype Target) { if(p==null) return false; else if(p->datum.key<Target) return...
09-Aug-2009 23:48
by Howard_L Go to last post
1 234
 
by Shdwdrkstar
Hey I got an error in my syntax. I've checked this over a couple of times now, and still do not understand what I am doing wrong. Please help! (line 152) : error C2059: syntax error : '}' #include <iostream> // Tic Tac Toe, made in C++. using namespace std; void main(){ char Square1 = '1'; char...
04-Aug-2009 05:16
by Mexican Bob Go to last post
3 358
 
by Unit1
Hi all, I am a beginner in C++ and I have the following problem: I try to open the file Test.txt, but it will not open the file. The Text.txt file is in the same directory where my C++ files resides. How can I check why the program fails to open the file.
25-Jul-2009 15:17
by Unit1 Go to last post
5 200
Question
by bobcory
This is one of those simple questions that is going to embarrass me once I know the answer but here goes I want to use 64 bit words in VC++ as follows eg __int64 iTest=0xAAAABBBBCCCCDDDD; I then want to very simply put iTest into a couple of 32 bit registers using inline asm so that, for...
21-Jul-2009 11:20
by bobcory Go to last post
1 183
 
by nanchuangyeyu
Hi, I am a C++ newbie and had never written even a very simple C++ class before. Now I intend to do such a job. My objective is quite simple, a matrix class with the following features is just OK: 1. The object of such a class can be initialized by the data stored in a disk file and as a side...
20-Jul-2009 04:15
by Kimmo Go to last post
3 530
Exclamation
by messybat
I am writing a program in Dev c++, and I am trying to include several ROOT libraries. When my code attempts to compile and run I get error such as: E:\DOCUME~1\Lab\LOCALS~1\Temp\ccQpbaaa.o(.text+0x155) In function `Z11calorimeterii': undefined reference to `TStyle::SetPalette(int, int*)'
17-Jul-2009 09:31
by davekw7x Go to last post
1 275
 
by ntini
hi can any give a examples to read dicom image.
13-Jul-2009 12:51
by davekw7x Go to last post
1 138
 
by nanchuangyeyu
Hi, My coding objective is quite simple: design a function to write the data in a matrix into files. And here is my code: #include <iostream> #include <fstream> #include <string> using namespace std; int matwrite(float* mp,int row_sz,int col_sz,string mat_file);
12-Jul-2009 09:48
by davekw7x Go to last post
1 202
 
by nanchuangyeyu
Hi, I want to design a two dimensional matrix C++ class of myself. In prospect this class should implement such functions: 1. It should be able to be initialized by a binary data file(a .raw file without any header or format infomation.) with the file name as an argument of its constructor,...
10-Jul-2009 21:24
by nanchuangyeyu Go to last post
0 227
 
by nanchuangyeyu
Hi, I know the return value of generic search algorithm "find()" is of iterator type. Now how can I output the return value as numeric type? For example: short myArray = {2,1,3,7}; vector<short>mVec(myArray,myArray+4); vector<short>::iterator found; found = find(mVec.begin(),mVec.end(),2); In...
09-Jul-2009 08:28
by LuciWiz Go to last post
3 188
 
by nowocien
how does the cin.get() != '\n' know too look for one character and then check for a new line at the end.. i have also seen this used the same way with numeric data in which case this same expression checks to see if you entered nothing but numbers with not other characters at the end.. accept for...
03-Jul-2009 12:01
by nowocien Go to last post
4 226
 
by hypernova
I am searching for a book(s) which explains things like the following - 1. Difference between memory allocation of local and global (or other static variables)....? (or why i cant initialize a global variable more than once outside main and all other functions) 2. Holes in structures, and...
02-Jul-2009 23:21
by ocicat Go to last post
2 263
 
by Anonymous_guy
So this is the first time I've ever done ANYTHING with pthreads what so ever. I have an assignment that deals with them and I'm having quite a bit of trouble at the moment. http://img.photobucket.com/albums/v233/anonymous__guy/sa/train.jpg Essentially the program will take in a file such...
02-Jul-2009 11:16
by Mexican Bob Go to last post
3 224
 
by Seraphis
Hello, The title pretty much explains what's happening here... When I run the program I just return my own error code of 102; which means the bind on the client portion of the engine has failed. Files networkEngine.h #ifndef NETWORKENGINE_H #define NETWORKENGINE_H
30-Jun-2009 18:46
by davekw7x Go to last post
3 241
Post New Thread

Recent GIDBlogAccepted for Ph.D. program by crystalattice

Display Options Moderators
Showing threads 101 to 120 of 4589 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 06:26.


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