| |
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,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>
|
|
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...
|
|
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++...
|
|
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....
|
|
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
|
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...
|
|
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...
|
|
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...
|
|
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
|
5 |
200 |
|
 |
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...
|
|
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
|
3 |
530 |
|
 |
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*)'
|
|
1 |
275 |
|
|
by ntini
hi can any give a examples to read dicom image.
|
|
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);
|
|
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,...
|
|
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...
|
|
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...
|
|
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...
|
|
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...
|
|
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
|
|
3 |
241 |