49,756 Topics

Member Avatar for
Member Avatar for devaradhan

Hi friendz am new to this community and am a atudent, 1st year IT.. Do anyone know how to save the background? i.e. in word wen v open 'open' dialogue box the background behind the box is not affected. how to do this? Also i hav a problem with buffer... …

Member Avatar for Duoas
0
69
Member Avatar for toolbox03

How to I read in a text file ignoring the digits, just want the text in the text file Any sample code?

Member Avatar for Duoas
0
89
Member Avatar for liork1

hello, I need to retreive data from excel files into data structure in c++ using vs2005. can someone please help me at least to define the connection string? thank's in advance Lior

Member Avatar for Ancient Dragon
0
115
Member Avatar for Beemer

Hi all , I have successfully written a simple program to calculate the total points scored by backs and forwards against one another in a 18 person team, but I need to safe proof it against a person entering anything other than F/f for forwards or B/b for backs , …

Member Avatar for Beemer
0
199
Member Avatar for thekashyap

Hello Everyone, Does anyone know any design patterns for modules meant for encoding/decoding of protocol messages. E.g. BSSMAP/LAP... We need to write encoders and decoders for BSSMAP and BSSLAP messages for our product. All the IE (information elements) are defined by standards, so we know everything abt every field in …

Member Avatar for Yann Garcia
0
553
Member Avatar for JochenM

hi folks, i need a library to analyse references of a scientific document. the lib should be able to identify references in the full text (for instance [1], [2], ... or Author A (1995), ... Author B & C (1968), ...) and it should be able to identify the elements …

Member Avatar for JochenM
0
136
Member Avatar for WindFantasyZ

Hi, just need help with this code since it doesn't process the output ip or uri address when i input some numbers. I'm working on it right now as well to see if i can find what the problem is >.< * The command line parameters will consist of a …

0
51
Member Avatar for Kadence

I'm a C++ beginner. What's an easy to use (in terms of both installation and use in code) library for using MySQL in C++? Is there one that's a lot more commonly used than others? Note that I'm using MySQL 4.1.22 on GNU/Linux. I've found the following: [LIST] [*][URL="http://dev.mysql.com/doc/refman/4.1/en/cplusplus.html"]MySQL++[/URL] [*][URL="http://www.sqlapi.com/"]SQLAPI++[/URL] …

Member Avatar for Kadence
0
701
Member Avatar for dan_e6

hey guys. ive created this function that will delete the first element it finds in a linked list that has the value n in it. it works except when the number is the FIRST element in the list. it wont delete it, it will replace it with a 0 when …

Member Avatar for John A
0
104
Member Avatar for DinoSauro

I am trying to "hear" mouse events in windows, and made a mouse hook. But I think for security reasons, every time I open Internet Explorer on any site that uses the protocol https: / /, the hook is down, and return when I leave the secure url or close …

Member Avatar for michaelHuo
0
104
Member Avatar for bgbnbigben

So, this is what ive got. Im trying to create a depth first search algorithm, but the problem is ive never been taught this - i dont do programming at school or uni, i try to teach myself but i need help sometimes. Im using a fairly simple iterated method …

Member Avatar for bgbnbigben
1
174
Member Avatar for Phan

I don't know if I am in the right forum for this, but it does pertain to c++ programming, so I'll post it here for now since everyone is very helpful (most of the time). We are doing a summative project on c++ and it can be any type of …

Member Avatar for Ancient Dragon
0
115
Member Avatar for Race

I'm having a problem with the if loop. My program should display a warning sign and skip an incomplete a bad record the user has enter that otherwise would have been displayed in an invoice. for example: if the user enters the following 3 lines when reading purchased items o …

Member Avatar for Ancient Dragon
0
91
Member Avatar for zawpai

Hi all, I am learning about RTTI, but I really don't know where the error is. Please check it out for me. #include<iostream> #include<typeinfo> using namespace std; class Base { virtual void f() {}; // make Base polymorphic // ... }; class Derived1: public Base { // ... }; class …

Member Avatar for zawpai
-1
147
Member Avatar for buddy1

I have this program I have to write about adding binary numbers. Here is the write up: "Defining a binary number as int binNum[8]; write a C++ function void binaryAdd(int* sum, int& cBit, const int* bin1, const int* bin2) to compute sum as the sum of the two binary numbers, …

Member Avatar for buddy1
0
260
Member Avatar for Triggerhappy41

Hi, beginner here making the move from Java to C++ and having troubles (of course) with const and pass-by-reference. I'll show you the code I'm working on: Card.h: [CODE]#include <iostream> using namespace std; class Card { friend ostream& operator<<(ostream& out, const Card& c); public: Card(char aSuit, int aPower); void setSuit(char …

Member Avatar for Triggerhappy41
0
143
Member Avatar for kllera

I'm dividing integers and making it a temporary double so i can get it in a decimal. To have it with a fraction i just divide the numbers and cout the answer with the mod answer "/" num2. I want to display both the fraction and in decimal, so.. for …

Member Avatar for Duoas
0
130
Member Avatar for nu2cpp

Hi, I am developing my program on a different machine but then I take the executable to a different machine to run. The program gets data over the serial port that I write to a file for later analysis. My problem is that when I run the program on the …

Member Avatar for John A
0
130
Member Avatar for nu2cpp

Hi, I have a Timage on a panel and I want to draw a cross on the image as I move my mouse on the image. I am drawing the cross using the canvas of the image. The drawing of the mouse works fine but the problem I am encountring …

Member Avatar for nu2cpp
0
201
Member Avatar for elondir

I am upgrading a VC++ 6.0 project to Visual Studio 2008. It uses STL extensively. It compiles fine on Visual Studio 6, but produces the following error in VS2008: [icode]error C2440: 'initializing' : cannot convert from 'const int' to 'MyStruct *'[/icode] The error is trapped in the STL functional header …

Member Avatar for elondir
0
203
Member Avatar for Lukezzz

With this code I will show a message box that you can press Yes or No. What happens when pressing Yes is that a panel will be Visible. On this panel, I have a label that shows text and a progressbar that will go from Value 0-100, like the code …

Member Avatar for Lukezzz
0
79
Member Avatar for VernonDozier

I am trying to write a simple "Hello World" to the console. I created an empty C++ project in Visual C++ 2008, and added this one file: [code=cplusplus] // main.cpp using namespace System; int main () { Console::WriteLine("Hello World"); return 0; } [/code] I get this error: [code] Error 1 …

Member Avatar for VernonDozier
1
2K
Member Avatar for VernonDozier

I am trying to learn Visual C++, particularly the GUI components, so I tried to make a simple program where a button is displayed to a frame and when the button is pressed, a cout statement is invoked which displays a message to the console saying that the button has …

Member Avatar for VernonDozier
0
697
Member Avatar for Cybulski

I'm trying to pass string as filename. I wonder if there is some smart function checking every character of string if it's alphanumeric, or belongs to group of few other character specified? Loop on every string character seems not very efficient for this. Any ideas?

Member Avatar for n1337
0
130
Member Avatar for bhoot_jb

i am writing a code for a stack within stack...or nested stack...whatever.. in the code..and the mainstack is a stack of substack, which in turn, is a stack of integer data.. i thought of using class template for both the stacks - mainstack and substack..but am confused with how to …

Member Avatar for bhoot_jb
0
113
Member Avatar for Traicey

Guys I have this terrible problem, damn its a long story and the code is too much and the worst part is it doesnt show a thing, I have two structs and two data files, They both have the same primary key and somewhere along the way I have to …

Member Avatar for Nick Evan
0
73
Member Avatar for kux

I have a function that recives as one of the parameters a function pointer. If i want to pass a class method as that function, how do I do it? I tryed like this: [code] class C { public: SetVector( vector<UTF16> ); }; //function prototype void function( const string sToPlace, …

Member Avatar for Duoas
0
86
Member Avatar for picass0

i understand how to create a socket and assign a port to a socket. But how can i make a for loop to auto assign 21 ports to it? need some helps!!!

Member Avatar for picass0
0
96
Member Avatar for ramya_bugbuster

hi friends.. i got the below error while compiling a simple .cpp pgm in microsoft visual studio->vc++.. tht vcspawn.exe file is in Microsoft Visual Studio\Common\IDE\IDE98 folder.. can anyone tell me abt this problem?do i have any prob in installation?do i have to change any configuration/settings?.. Configuration: sc1 - Win32 Debug-------------------- …

Member Avatar for ramya_bugbuster
-1
486
Member Avatar for bindiK

I need help immediately to solve the following question: can somebody suggest how to code the following? Write functions OpenFiles and MergeAndDisplay: OpenFiles syntax: ifstream *OpenFiles(char * const fileNames[], size_t count); Parameters: fileNames - a pointer to the first element in an array representing the names of text files to …

Member Avatar for bindiK
0
204

The End.