51,593 Topics

Member Avatar for
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
96
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
88
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
93
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
181
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
192
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
259
Member Avatar for manojkumar2004

Hi all, any idea how to call a C# method from a java class using sockets(need to access remote methods)??

Member Avatar for jwenting
0
92
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
101
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
188
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
106
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
94
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
138
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
137
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
113
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
106
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
93
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
226
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
493
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
170
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
98
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
142
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
125
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
186
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
102
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
153
Member Avatar for teppuus

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 …

Member Avatar for teppuus
0
82
Member Avatar for groundy

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 …

Member Avatar for Ancient Dragon
0
94
Member Avatar for sgw

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 …

Member Avatar for sgw
0
124
Member Avatar for phalaris_trip

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 …

1
64
Member Avatar for CoolGamer48
Member Avatar for Ancient Dragon
0
141
Member Avatar for iamthwee

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?

Member Avatar for iamthwee
0
328
Member Avatar for k2k

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 …

Member Avatar for iamthwee
0
271
Member Avatar for kelvinskk

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

Member Avatar for kelvinskk
0
122
Member Avatar for Jessyi

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 …

Member Avatar for Ancient Dragon
0
240
Member Avatar for jarhead741

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, …

Member Avatar for jarhead741
0
95
Member Avatar for tootypegs

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

Member Avatar for Duoas
0
303
Member Avatar for ithelp

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 ?

Member Avatar for Paul.Esson
0
97
Member Avatar for shankhs

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 …

Member Avatar for shankhs
0
2K
Member Avatar for carlos++

:'( , 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 …

Member Avatar for Narue
0
29
Member Avatar for renaad

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 …

Member Avatar for renaad
0
263
Member Avatar for venomlash

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!

Member Avatar for zhelih
0
599
Member Avatar for bmaglar

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 …

Member Avatar for bmaglar
0
80
Member Avatar for CE Student

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 …

Member Avatar for Salem
0
217
Member Avatar for tuannie

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 …

Member Avatar for khanh1975
0
298
Member Avatar for k2k

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.

Member Avatar for Salem
0
231

The End.