| |
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,662 |
|
 |
by calculus87
Okay,
my question is this. Which is faster on execution, and why?
1)storing data in a vector of strings
or
2) opening a file and storing the data in the file.
note: there is about 800 pages of data.
note: I will also be accessing the data several times in the program
|
|
1 |
844 |
|
|
by calculus87
Hello,
Here is my question. I have a program where I have 2 functions. The first function (main) gathers two inputs of type string. I also remove the origional file so as to get rid of any left over text.
The other function is able to take one string at a time and place it into a file. Now the...
|
|
1 |
1,187 |
|
|
by pcxgamer
in C++ which is correct to asign an unsigned char variable.
unsigned char var;
or
unsigned var;
|
|
2 |
1,085 |
|
|
by calculus87
Hello,
Okay, I have another question for yall. I am having a little problem going from string to double.
I am trying to use this function
strtod
My string name it t1
and my double name is n1
this is what I have, but i know it does not work
|
|
2 |
35,995 |
|
|
by Mvpsandy
hi i am a newbie to C++, and i am having problems with the program below
My goal: To make a program that will allow a user to enter a 5 digit number, and space that number by 3
so it will look like this
1 2 3 4 5
|
|
9 |
1,092 |
|
 |
by calculus87
He is an easy one for yall, but because I am a newbee I don't know how to do it.
I know you can remove a file by simply saying remove("file.ext")
the question is how do you create a file
I tried create("file.ext") that did not work
just wondering. Thanks for the help
~Ronald
|
|
3 |
809 |
|
|
by haibin
I have created a dialog-based DLL project using VC6.0
It works well in Windows 2000 and XP, but gives an RUNDLL32 error when running in Windows 98 SE and NT4
What could be the problem?
I do hope there is someone could give me a hand and help me out...
Thanks in advance.
hb
|
|
0 |
2,331 |
|
|
by calculus87
Hello,
I have a small problem. I am currently creating a 2 dimensional array (or matrix) of size 100 by 100. Now I get errors when I make my matrix larger than 210 by 210.
The problem is is that I need a matrix 10000 by 10000.
example code:
double data; //this gives errors
Okay, which would...
|
|
2 |
2,106 |
|
|
by Dariklar
// File name: math.cpp
// Author: Josh Kilhoffer
// Email address: Dariklar@hotmail.com
// Description: simple math program.
// Last changed: September 2nd, 2003 5:01PM central
#include <iostream>
using namespace std;
int main()
|
|
6 |
7,911 |
|
|
by BobbyDouglas
Anyone have some time look at this very useless program I made in my c++ class.
|
|
1 |
1,004 |
|
|
by yannoush
hi
I am learning to program in C++. I have got some difficulties in defining a class. public ans private type is confusing.
anyway
the class I want to define should collect information about integers. she accepts integers through a method add(). at any time she returns the average of the...
|
|
7 |
8,854 |
|
|
by dj123
Hi,
I was wondering if there is any tutorials out there that can help me learn some programming (im a complete newb. never tried programming but i want to start)
I do web design at the moment but i'd like to start programming too.
So any help would be much appreciated.
Thanks
|
|
2 |
1,148 |
|
|
by calculus87
hello,
Here is my question.
Is it possible to go from char to operator.
char a='+';
//code to switch from char to operator
int b,c=3,d=5;
b=c a d;
|
|
3 |
1,187 |
|
|
by deleted_1
Hello all! I'm just starting out with that book called Sams Teach Yourself C++ in 24 Hours, Third Edition. Anyways I had a question... I'm on hour 3 now and so far every program they have you make, like that first "Hello World" one, dont run right I dont think. I compile them and all without any...
|
|
11 |
1,644 |
|
|
by gmn
hello,
i'd like to learn some MFC because, frankly, i'm sick to death of the black and white consoles i've been glaring at for the past few months whilst learning c++, and would like to at least have maybe a window with a button in it to stare at now and then.
anyway, I was just wondering if...
|
|
4 |
980 |
|
 |
by Charunks
Hi all,
I've got a question. I've got the borland 5.5 compiler. I've tried to compile for the first time using this ccp script (hello.ccp):
#include <iostream.h>
int main ()
{
cout << "Hello World!\n";
|
|
5 |
2,968 |
|
|
by pcxgamer
I have two question about C/C++. First what is the difference in C and C++ and then second does anyone know of a free compiler that will work on a soruce code that was dev with Visual C++ 6.0?
Thanks
|
|
28 |
3,582 |
|
 |
by lj1979
Hi,
I'm trying to make an Instant Messenger-program for my school. I'm building a client in C++ and I've made a protocol and some other things, but I really don't know what's the best option for a server.
Can I do something in combination with SQL or... Anybody got suggestions? The server has to...
|
|
3 |
1,422 |
|
|
by ionyka
Hi, im pretty new at c++ and am taking a class right now, but ive run into a problem and i was hoping to see if someone could help me out.
Problem: "write a function that removes all odd integers from an array using pointers."
This is what i have so far:
the array before:...
|
|
1 |
4,511 |
|
 |
by gmn
This is the second listing where I've had this exact same problem now.
I'm learning C++ from a book (Sams Teach Yourself C++ in 21 days, hmm), and have matched the code letter for letter (I think) but am getting a compile error.
ostream& operator<< (ostream& os, const student& rhs)
{
os...
|
|
11 |
5,273 |