49,761 Topics
| |
| |
| 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, … |
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 … | |
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 … | |
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 << … | |
Does anyone know of a source of mouse functions for a console application in the visual C++.net developement environment package? Thanks, Ross | |
[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(); … | |
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 | |
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 … | |
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 … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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........ | |
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 … | |
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 # … | |
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 … | |
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? | |
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... … | |
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........ | |
How can I easily generate a Unique ID in C++, compiling using gcc Cheers Samuel | |
[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 … | |
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! |
The End.