49,761 Topics

Member Avatar for
Member Avatar for comp_sci11

I'm currently working on a ATM program wherein a 3.5 floopy diskette would serves as the card of the user. this diskette has a program wherein it has a account number and a password. And when the user inserted a diskette, he will be instructed to input his password and …

Member Avatar for Grunt
0
442
Member Avatar for Wreef

I believe that my header files are out of data...And causing me errors. Can someone please upload the standard Visual C++ 2005 header files?

Member Avatar for Wreef
0
144
Member Avatar for Eddy Dean

Hello everyone, I am trying to create a "proxy" for a program. I will try to explain how I am going to do that. The program I want to write a proxy for sends and receives data to/from a server. The IP and port the client connects to is somewhere …

Member Avatar for Eddy Dean
0
1K
Member Avatar for Ripiz

md5.cpp [code] #include <cstdlib> #include <iostream> #include <string> #include <stdio.h> #include "md5.h" using namespace std; char* szString = "Some string you want to generate an MD5 key for."; int main(int argc, char *argv[]) { char* sString = MD5String(szString); cout << "Some string you want to generate an MD5 key for." …

Member Avatar for ~s.o.s~
0
218
Member Avatar for dilip.mathews

Hi All, Can we delete this pointer from a member function. I have written three programs to try this. The first two crashes at run time while the third doesn't. Can somebody explain me this????? 1) This crashes at run time. [CODE]#include <iostream> using namespace std; class Base { public: …

Member Avatar for dilip.mathews
0
187
Member Avatar for Happycow

I'm trying to understand the basics of how Object Oriented Programming works with C++. I'm not really trying to learn the language per-say (although I might be interested in learning it gradually). I brought two books on C++ and read through them once, and while some things seem to be …

Member Avatar for Bench
0
115
Member Avatar for s_nagula

I am a new member to tis group, anyone familiar with round robin algorithm, pls send me some c++ codings on round robin to <<email snipped>>

Member Avatar for Ancient Dragon
-1
131
Member Avatar for MikeTiger

hello friends, could anyone help me by send a link where can i download visual C++ compiler for free on my email <email deleted by wolfpack> I will really appreciate that. Regards,

Member Avatar for steveh
0
101
Member Avatar for SHWOO

I am learning overloaded operators, I successfully overloaded the <<and >> operators as friend functions creating cout << object and cin >> object. For the next problem I am required to overload the istream operator two ways. I must invoke it as somephonenumber.operator<<( cout ); or as somePhoneNumber << cout; …

Member Avatar for SHWOO
0
222
Member Avatar for Gunner54

Ok Im New To C++ But Im Making A Code That Should Hopefuly Make Me Able To Write Into A Program's Memory I Get These Error's [CODE] error C2059: syntax error : '.' error C2447: '{' : missing function header (old-style formal list?) [/CODE] My Code Is [CODE] .void WriteMem(DWORD …

Member Avatar for Dave Sinkula
0
579
Member Avatar for joshilay
Member Avatar for Dave Sinkula
0
584
Member Avatar for MikeTiger

Hi, I need to get data from a C++ application to a spread sheet or notepad file, has anyone any idea how to do this. I have access to programme source code but not sure where to start.

Member Avatar for Ancient Dragon
0
180
Member Avatar for Sashar400

Hi I am new to c++ and I have a simple program that I am trying to understand .Here is the program If anyone can put some comments to what the codes mean I would be grateful.//Explain Please what these lines mean. [code]#include <iostream> using namespace std; int sum(int[],int);// int …

Member Avatar for b2daj
0
144
Member Avatar for Laiq Ahmed

I want to read a Source Code file and separate the lexemes (words) and want to track the line number with the separated words? I just come up with the raw code like that... i) A struct holding a string , int pair; ii) making the link list of above …

Member Avatar for Micko
0
88
Member Avatar for zsix

I am new here and code is what i want to learn. Have been thinking about c and c++ as well as xhtml. Was ill for some time and if i want to go back to work then it needs to be something IT related. I am really happy to …

Member Avatar for ~s.o.s~
0
59
Member Avatar for SmrtAss

[COLOR=#000000]In the program of Figs. 11.3–11.5, Fig. 11.4 [/COLOR][COLOR=#cc0000]contains[/COLOR][COLOR=#000000] the [/COLOR][COLOR=#cc0000]comment[/COLOR][COLOR=#000000] "[/COLOR][COLOR=#000066]overloaded stream insertion operator; [/COLOR][COLOR=#cc0000]cannot[/COLOR][COLOR=#000066] be a member function if we would like to invoke it with [/COLOR][COLOR=#cc0000]cout[/COLOR][COLOR=#000066] << somePhoneNumber[/COLOR][COLOR=#000000];." Actually, the stream insertion operator [/COLOR][COLOR=#cc0000]could[/COLOR][COLOR=#000000] be a [/COLOR][COLOR=#000066]PhoneNumber[/COLOR][COLOR=#000000] [/COLOR][COLOR=#cc0000]class[/COLOR][COLOR=#000000] member function if we were willing to invoke it …

Member Avatar for iamthwee
0
119
Member Avatar for dilip.mathews
Member Avatar for degamer106

On a recent exam I took, the following question was given: int ***p; give the type for the each of the following: a. p b. *p c. **p d. ***p For part a, should I be given any credit for saying an "address of an address of an address?" After …

Member Avatar for ~s.o.s~
0
76
Member Avatar for Eddy Dean

Hello everyone, I downloaded the source of an internet file and need to filter a specific part of it. I know how the [inlinecode]string::size_type position = Line.find("World:</TD><TD>");[/inlinecode] function works, but this only tells me where the data I am looking for is located (the data is after "World:</TD><TD>"). I want …

Member Avatar for Eddy Dean
0
110
Member Avatar for RFBourquin

Need BigTime Help. I am having a great deal of trouble with strings and chars in C++. Judging by the posts at this site, I see I'm not alone. Other programming languages give me no problem -- I can manipulate strings pretty well. Here is my problem. How can output …

Member Avatar for GloriousEremite
0
149
Member Avatar for Treant

Hey everyone Yeah so I have this program that I'm coding and when I compile it crashes (I don't know where the source of the error is). So I've parsed through it many times to no avail. I'm using the Borland C++ compiler and the debugger that comes with it. …

Member Avatar for Salem
0
108
Member Avatar for Miles Archer

I have never compiled before, and I will leave it to you gurus. But I want to drive this (single) program around the block, so any assistance would be appreciated. I have: WindowsXP Pro Borland Compiler 5.5 (free version) MS Visual C++ 2005 Express and the Platform SDK I am …

Member Avatar for Salem
1
342
Member Avatar for Rosicky

Write a password authentication program using a Binary Search Tree for a fast username search. Your program must meet the following requirements: Inputs: Before doing an authentication, read a file named “authen.pwd” that stores pairs of username and password. Wait for a command from a user and respond accordingly. For …

Member Avatar for ~s.o.s~
0
142
Member Avatar for Fred Frazelle

the database module of the Open Source project OpenOffice. We (they) are having difficulties with the code in the Base module which allows updateable queries. See [url]http://www.openoffice.org/issues/show_bug.cgi?id=53377[/url] . i have volunteered to comb the web and place announcements on different sites in order to encourage volunteers to help with the …

0
79
Member Avatar for Daan

Hello :-) I'm trying to pass a filestream to a function: [code]template <class T> void grid<T>::print(std::ofstream file) { for (int i = 0; i < h; i++) { for (int j = 0; j < w; j++) file << cell[i][j] << "\t"; file << std::endl; } }[/code] so that I …

Member Avatar for Daan
0
163
Member Avatar for Daan

I'm writing small command line programs that for instance numerically solve systems of differential equations. The programs are so simple, that I think it would be an overkill to use a development environment like MS Visual Studio or Anjunta. I'm progamming on a Linux computer, and I use Gedit to …

Member Avatar for joe_blow
0
83
Member Avatar for MrAdam

Hey everyone. I've been checking out this forum for a while, but this is my first post. I have a question that I hope someone can answer for me. I have been working on learning C++ for about 2 months now and am beginning to grasp the basics more and …

Member Avatar for hollystyles
0
139
Member Avatar for steve_randle

hi.. i would like to compare a user-input string with another string to see if they matched so what should i do? sample code: [CODE] getline(cin,string); if((i==25)&&([I]string comparsion here[/I])) do this; else if((i==25)&&([I]similar string comparison[/I])) do something else; [/CODE] so what should i do? i tried [CODE]const char* str = …

Member Avatar for steve_randle
0
147
Member Avatar for nlsna17

[CODE]# include<iostream.h> void main() const int m=3; const int n=4; const int p=5; int A[m][n]; int B[n][p]; { cout<<"3x4 matrix"; for(m=0; m<3; m++) { for(n=0; n<4; n++) cin>>A[m][n]; cout<<A[m][n]<<"\t"; } cout<<"\n"; cout<<"4x5 matrix"; for(n=0; n<3; n++) { for(p=0; p<5; p++) cin>>B[n][p]; cout<<B[n][p]<<"\t"; } cout<<"\n"; int d, c=0; for(m=0; m<3; m++) …

Member Avatar for dilip.mathews
0
150
Member Avatar for djkross

So I have this sorting program due and I did it all but there's something crazy happening when I run the program. If I enter a value that's greater than 6400 for the size of my array, the program crashes when it tries to sort it out. Also, when i …

Member Avatar for djkross
0
74

The End.