51,593 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 all, any idea how to call a C# method from a java class using sockets(need to access remote methods)?? | |
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! | |
Hello, I wanted to post some code with line numbers and can't figure out how to do this. I searched the FAQ, and tried [list=1], but it didn't turn out right. I would hate to manually insert line numbers in my code. Can anybody help or point me in the … | |
HI Guys, i am trying to develop a c++ programm, that accept a path to a .txt file from the user to read it, make it lowercase, sort it and give the output in the concole. and some other functions later... Now my problem is, that i dont know how … | |
I'm completely new to using compilers such as Borland Turbo C++ or MS Visual C++ to create and run C++ programs. They both involve "form" and "projects". Could some kind folks tell me how exactly to create, compile and run a simple program in such environments? In other words, I … | |
I've searched for linked lists quite a lot (and read some books), but I've yet to find one that suits my needs. I wanted one that is: templated, provides only the bare bones of what's needed and easy to read and understand the code (simple, consistent variable names, meaningful and … | |
Hey - does anyone know how to create a .exe file with Visual C++ express? Thanks. | |
![]() | Hi, I'm using winxp with the latest version of Dev-cpp (none of that dotnet please) and I was wondering what is the easiest way to send an email. Are there any libraries I could use? ![]() |
Anybody please show how to convert a string, for example in a text doc, to an int... and then maybe add 1 and show total output. text.doc could simply contain I have 3 apple. output: 4 this is my try, i know i used atoi() incorrectly.. please show how to … ![]() | |
Hi, I'm using fedora core and i'm trying to write a c++ program to read the ESSID of my current wireless connection. Is there a way to do so? KiaN | |
hello i have a project that is due in 2 days and i need help immediatly i just need the steps i have to do to solve the following: "Write a program to compute numeric grades for a course. The course records are in a file that will serve as … | |
Hi, i've tried to get my quicksort to work, but i think because i have been looking at it for so long i cant see the problem with it so if someone can spot my mistake that would be great! [code=cpp]int parttition(int myArray[],int first, int last); void quicksort(int myArray[],int first, … | |
Hi i use borland c++ builder as my c++ compiler. As a default option you can use a form defined as below [code] __fastcall TForm1::TForm1(TComponent* Owner) : TForm(Owner) { } [/code] does anyone know how to get a handle on this form, ive tried always but none with success thanks | |
You would have seen this message when you telnet to an unix machine, it displays last login from <ip address> message What is the sytem command for displaying the same ? Can I code it in C++ without using system command ? | |
I am new to windows programming in visual studio(i mean visual c++) I made a C++ file to include WndProc(containing WM_PAINT,WM_DESTROY and WM_KEYDOWN),then I thought to include a class name CEventHandler store it in EventHandler.h The class definition in EventHandler.cpp and main in try.cpp,They all are part of a project … | |
:'( , before, sorry for my poor english please. I make a program whith Borland c++, this use time function localtime and other time`s func. Under win 98 run OK, under cmd line win XP the proramm take only first call to localtime and frezze there. What' s the possible … | |
HI everybody: I'm renaad & i'm 21 &student of computer science . i've a problem & I despairet 4 a help: l keep having this message "fault access violation at(##) write of address" when I compile my program & i don't know why this is the code: (it's a linked … | |
I cannot link GL Utility Toolkit (lack know-how), so I need a way using only [ICODE]gl/gl.h[/ICODE] and [ICODE]windows.h[/ICODE] to get keyboard input. Help please! | |
I am a student of electronics and i have to do a homework in C++. The problem is the following: how to write a code in order to find the most frequent value of two different one dimension arrays. the first array has for example 10 elements and the second … | |
Hi! I am a new member here and I want any body to help me in this program becuase I am a new student in c++ and I don not now a lot in it sorry for my wrong language, because I do not speak English very will please help … | |
Hey everyone, I am new to C++ and I was wondering if anyone could help me start off or by guiding me to which method of steps I should take first in solving the following problem: write a c++ program that with a loop structure that reads in 5 intergers … | |
hi, Would anyone show how to delete a specific line from a txt file? Is there a member function from the ios class? thank you. |
The End.