49,761 Topics

Member Avatar for
Member Avatar for abdullilah

which hide text and audio please help me code : public void Hide(Stream messageStream, Stream keyStream){ byte[] waveBuffer = new byte; byte message, bit, waveByte; int messageBuffer; //receives the next byte of the message or -1 int keyByte; //distance of the next carrier sample //loop over the message, hide each …

0
49
Member Avatar for daviddoria

I want to do something like this [code] #include <string.h> #include <iostream> using namespace std; int main() { MyFunc("test"); return 0; } void MyFunc(const char* Filename) { cout << strcat(Filename, ".tst") << endl; } [/code] but it tells me that my const char* cannot be used where it is expecting …

Member Avatar for Narue
0
104
Member Avatar for joma4real

Please I need a site where i can download Visual c++ free. I prefer the offline version of this download. Or give me a guide line on how i can use borland c++ to create a form for my program. You can email me at [email removed] Thanks

Member Avatar for Narue
0
54
Member Avatar for Nemoticchigga

[CODE]String^ comPort = "COM" + this->RS232CommPortNum->Value; int baudRate = Convert::ToInt32(this->cbBaudRate->Value); com = gcnew SerialPort(comPort, baudRate); try { com->Open(); } catch (...) { ::MessageBox::Show("Invalid Port"); }[/CODE] How do I handle this excepion thrown when the com number is not valid? When I run the release version it has an error when …

0
61
Member Avatar for DREAMER546

hi i'm having a problem when i use pointer to pointer i've tried my best to make this work .. but it didn't i've got a run time error! PLEASE .. Please .. please i need help :'( if any one have tutorial about how can i work with pointer …

Member Avatar for DREAMER546
0
129
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
257
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
560
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
144
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
710
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
105
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
175
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
202
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
80
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
3K
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
699
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
131
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
114

The End.