49,761 Topics

Member Avatar for
Member Avatar for sheks1
Member Avatar for Thew

Hi, I need to send, or set up some variables in another application. Is there any way how you can do this? For example, from one application you can set the progress value of progress bar in another application. PS: I want to know tha way how to do this, …

Member Avatar for Duoas
0
93
Member Avatar for atlex2

Would someone do a huge favor for a 15 year old aspiring programmer? (yes, that was a interest grabber) I'm building a system for my school to make administration easier on the staff there and I need to get a C++ command line program to run ODBC and connect to …

Member Avatar for Ancient Dragon
0
86
Member Avatar for kako13

Hi, I have been searching in google for an algorithm for sort a dynamic array. I must said that the information in the Internet for sort dynamic array is very limited. However, I found bubble sort for dynamic array, but it don't wanna work. It is inside a class definition …

Member Avatar for kako13
0
4K
Member Avatar for Conqueror_2

I get an error on the following code. It seems I canĀ“t use a function which belongs to a class as an argument for "genericfunction". Any help on how to overcome the problem would be great. Thanks. [CODE] //Main int main() { teste teste_classe; // this works fine cout << …

Member Avatar for Duoas
0
91
Member Avatar for RossSCann

Does anyone know of a source of mouse functions for a console application in the visual C++.net developement environment package? Thanks, Ross

Member Avatar for Duoas
0
172
Member Avatar for blcase

[code] #include <iostream> #include <string> using namespace std; class Movie { private: string director, title, genre, cast, rating, release; int length; public: Movie(){ cout<<"constructor w/ no parameters called"<<endl; length=0;} Movie(string d, string t, string g, int l, string c, string r, string re){ director=d;title=d;genre=g;length=l;cast=c;rating=r;release=re;} string getDirector(); string getTitle(); string getGenre(); …

Member Avatar for Duoas
0
189
Member Avatar for rjain

please help me in developing editor same as C++...it must look as if i have developed C++ itself...all menus and functions?? please reply. thanks

Member Avatar for Salem
0
230
Member Avatar for hashinclude

Hi, is it possible to control the output so that one output would replace the one before it ? let me explain, i made a countdown timer, the counting instance is printed out but normally i would get something like this [ICODE]9876543210[/ICODE] what i want is for the counting instance …

Member Avatar for Ancient Dragon
0
96
Member Avatar for kartouss

Hello, I am new to this forum... If anyone knows on AES and its s/w optimization techniques in c++ please help me out I am using the AES code to encrypt and decrypt data.. In my code the plaintext is given in the main program itself it is in hexadecimal …

Member Avatar for kartouss
0
186
Member Avatar for dexter1984

Hi, I'm a student new to C++, just started learning it for 3 weeks. I just encountered a problem in making a multiplication table as an assignment. Tried alot of methods but still can't figure out what's wrong. [code=cpp]#include <iostream> #include <iomanip> using namespace std; int main() { int input, …

Member Avatar for dexter1984
0
103
Member Avatar for deraj8

I have created an array of struct i am very frustrated beacuse I just can not figure out how to pass this array of struct into a function. here is my created struct and a general idea of what i have been trying [code] #include <stdio.h> void functionOne(MyStruct) struct MyStruct …

Member Avatar for VernonDozier
0
1K
Member Avatar for conan19870619

i can use seekg and seekp functions to jump around differnt locations in the file with offset. But now the txt file is written like: 200200125,41123,John 200200125,31054,,David 200200125,45305,Nick 200200125,44866,Smith 200200125,41024,Cathy 200200127,31525,Steve 200200127,42429,Robert 200200127,42430.,Serena ... i wanna serch a lines with its second numer 44923 and get its first number. the …

Member Avatar for conan19870619
0
90
Member Avatar for teppuus

Hello, I am having trouble creating a double linked list within an array of pointers. Right now actually, I am just trying to make a linked list. Line 267 is where I get a complier error. I understand the error (cannot convert `std::string' to `wordList*' in assignment ), but I …

Member Avatar for teppuus
0
130
Member Avatar for toolmanx

I'm running AMD, XP Service Pack 1 Compiling with a .cpp extension using Borland Bcc32 I'm trying to teach myself how to use File Mapping. This is just the pertinent parts of my program. Any file can be used for lpstrFile. I'm presently using a .txt file for testing, but …

Member Avatar for toolmanx
0
134
Member Avatar for zprise

Simple for others , not for me. How do you allocate memory for an array of pointers, each pointer pointing on a string. The problem is , that the size of the array could change depending on the number of strings the user wants to enter. This needs to be …

Member Avatar for Ancient Dragon
0
111
Member Avatar for loneal

Before I start, please excuse any mistakes I make in nomenclature. I am a beginner at this MFC stuff. I am writing a transaction server and trying to use CListView to display the status of the multiple client threads I've got going. I've got it to where the columns of …

Member Avatar for loneal
0
104
Member Avatar for groundy

hi guys...my code works fine, just when i want to put a longer path as input my programm chrashed... maybe the buffer for my string path; is too small? how can i handle this? C:\test.txt works fine but when the input is like that C:\Dokumente und Einstellungen\xxxxx\Desktop\test.txt it will chrash …

Member Avatar for groundy
0
91
Member Avatar for mm-marek

Hi, im newbie in C, now I want to make a program which can search something in file (now it will be two letter word) I want to command it from cmd by [B][I]test text.txt ab[/I][/B] i have a problem with argv filed, everytime when i run this script it …

Member Avatar for mm-marek
0
224
Member Avatar for daniyal_riaz

hi everyone......... i need a c++ program that can help me in chatting through serial port from one pc to another........ only i want to sen and recieve charactors.......... thank you........

Member Avatar for dot.muffin
0
490
Member Avatar for CoolGamer48

Hey, I'm trying to learn DirectX from this book ([I]Beginning Game Design[/I] by John S. Harbour, if anyone knows the book). I keep getting a LNK2019 error because [ICODE]Direct3DCreate9(D3D_SDK_VERSION)[/ICODE] is an "unresolved external symbol". Based on my slightly limited knowledge on libraries and include files and a little of my …

Member Avatar for CoolGamer48
0
164
Member Avatar for Mini_The_Great

I used to program wuite often with C++, but then I stopped and now I have started again, ym problem is with a dll im making: DLL.H [code=cpp] #ifndef _DLL_H_ #define _DLL_H_ /* Begin User-Defined */ #define export extern "C" __declspec (dllexport) /* End User Defined */ #if BUILDING_DLL # …

Member Avatar for Mini_The_Great
0
3K
Member Avatar for mrmgh
Member Avatar for Mustey

I am sorry if I am in the wrong forum. I'm just kind of desperate... I had to work this week and didn't know my class has started to study C++. Anyway, it's a "gifted" children program and we have some homework which I need some help on. I am …

Member Avatar for Mustey
0
96
Member Avatar for CoolGamer48

Hey, just wondering - I've seen numbers like 1.0f in examples and in books, but what does the 'f' mean? Does it just mean that the number is a floating point number? And does including/excluding it change anything?

Member Avatar for ShawnCplus
0
137
Member Avatar for lemymatair

Hello, I want to create program that's looks like SKYPE program, and my problem is... - I don't know about how to coding a program that interact with Webcam and microphone. - All source code I found on an Internet is not a C++ code. So I want to asking... …

Member Avatar for zhelih
0
124
Member Avatar for saravanan_

Hi Friends, Pls, help in finding the solution for the following problem, I am working in solaris environment. i am trying to compile my c program using "cc" compiler, i getting the following error msg, cc: illegal suffix of output filename **Error code 1 Thanks in advance........

Member Avatar for Salem
0
179
Member Avatar for Samuel Taylor

How can I easily generate a Unique ID in C++, compiling using gcc Cheers Samuel

Member Avatar for Salem
0
2K
Member Avatar for C++masterinneed

[code=c++] void winerys::info(winerys & wine) { ofstream outfile("page.txt"); node *temp; temp = new node; cout << "please enter date the winery went into business" << endl; cin >> temp->start; cout << "please enter the loaction of winery" << endl; cin >> temp->name; cout << "plese enter the name of winery …

Member Avatar for Ancient Dragon
0
98
Member Avatar for zprise

Hello! in a case where int a=5; if((!a)++) or (++(!a)) gives me an error message saying that the operator ++ requires l-value, but the boolian result of if (!a++) is false. If someone would be so kind to explain this!

Member Avatar for Ancient Dragon
0
148

The End.