48,986 Topics

Member Avatar for
Member Avatar for tetra860

hi there, iv came here not for myself but for the sake of my little bro who is currently stressing out big time with a program he making for a project. the problem he has is that his partner who he teamed up with has now decided to leave his …

Member Avatar for Ancient Dragon
0
70
Member Avatar for xyzt

hello do the member functions of a class occupy memory or just the member variables occupy memory?

Member Avatar for Narue
0
820
Member Avatar for timb89

i just started a new programming course and feel absolutley overwhelmed compared to my last one, we have to wrtie a program for the game of life. could somebody point me in the right direction, i am so confused right now... [url]http://www.comp.mq.edu.au/units/comp125/assignments/ass1/assignment1.html[/url] thanks! [CODE=cplusplus] #include <iostream> #include <fstream> #include <string> …

Member Avatar for Salem
0
90
Member Avatar for Sukhbir

Hi, Can any body explain me about overloading concept of () operator? I need to know why do we need to overlload () operator and how do we achieve that? Thanks in Advance

Member Avatar for Narue
0
121
Member Avatar for Maxine

Hi guys, I just got a headache trying to work with some files with .wlc extesions. I would like to know which applications open such files and how can i access the content. URGENT PLEASE.

Member Avatar for ArkM
0
98
Member Avatar for OmniX

vector<string> div; div.pushback("a"); div.pushback("b"); div.pushback("c"); for(int i= 0; i < div.size(); i++) { cout << "Letters: " << div[i] << endl; } cin.get(); Output: Letters: a Letters: a, b Letters: a, b, c I would like the output like this: Letters: a Letters: b Letters: c Thanks for your help …

Member Avatar for iamthwee
0
114
Member Avatar for amrhesham9

hello , well i have to deliver a program that demonstraits classes and inheritance , but i don't have any ideas

Member Avatar for Ancient Dragon
0
2K
Member Avatar for murderotica

Hello there! I'm currently doing some VC++ programming. I'm using MFC programming and DLL which is explicitly linked. I have placed my initialization and the usage of GetProcAdress inside my "buttonClicked" function. When a button is clicked, the function in the DLL should be called. [CODE] void CSample::buttonClicked(){ if(hLib){ pSampleFunc …

Member Avatar for murderotica
0
151
Member Avatar for mfareed

Can somebody help me with the CRC (Cyclic Redundancy Code) algorithm implementation given below: There is a three byte packet header. <--------1st byte-----><--------2nd byte-----><--------3rd byte-------------> --------------------------------------------------------------------------------------------- | 8bits | 8bits | 3 bits| 5 bits (CRC ) | --------------------------------------------------------------------------------------------- for example: 0D 0B 40 ---> Input Data stream ( 19 …

0
53
Member Avatar for Kraken12

Hi, I am trying to use IRowsetFastLoad to insert multiple columns to a permanent SQL Server table.. The problem is, that the InsertRow returns an E_FAIL, which is a provider specific error. I am staging the column Data as follows into the memory buffer: (with Appropriate offsets for the bindings …

0
50
Member Avatar for murderotica

Hello there. I'm a bit new to creating DLL's. I've been learning a bit and I have created my own (finally). Well, my goal is to load my DLL to an application in VC++ and VB. I have successfully loaded my DLL in VB but having some trouble in VC++. …

Member Avatar for murderotica
0
105
Member Avatar for tspj20

I have an arbitary vector where I have to try all combinations (sum up different combinations) of elements within the vector. I want to use recursion for this but I have trouble in coding that. I have tried something similar but with a fixed vector size, using for loops. But …

Member Avatar for ArkM
0
119
Member Avatar for peyman_k

Hi All, I want to play MP3 files in my C++ program. I am using MSVC++. I have already found libmpg123 but it seems to be written for Linux and I could not use it in windows. I appreciate if anybody can help me with finding some MP3 decoder/player library …

Member Avatar for zcindori
0
237
Member Avatar for zahidullah

Below are the two lines code. Plz give a detailed explanation of these two lines while (cin.get() != '\n') continue;

Member Avatar for ArkM
0
108
Member Avatar for paynekiller

hey all, i'm a newbie to C++ programming and i'm having some difficulties implementing this singly linked list. what it has to do is accept: nickname email address number of kills and store them in a node of the linked list in order according to number of kills. here's what …

Member Avatar for findsyntax
1
112
Member Avatar for TheBeast32

Hi, I was wondering how to use TAPI in C++ to communicate with my modem. How would I accomplish this? I'm not using Visual C++. I'm using dev-c++ 4.9.9.2.

Member Avatar for Salem
0
417
Member Avatar for OmniX

I have variables a, b, c = 1, 2, 3. I would like to make it a string abc. [code] int a = 1; int b = 2; int c = 3; string abc = ""; abc = a + "" + b + "" + c ; count << …

Member Avatar for OmniX
0
163
Member Avatar for TheBeast32

Hi, whenever I compile [B]any[/B] sample code for DirectX, I get this error: [Linker error] undefined reference to `D3DXCreateFontA@48'. I'm using Dev-C++ 4.9.9.2, I'm linking it with: libd3d9.a libd3dx9d.a libdinput.a libdinput8.a libdxguid.a I don't know why this is happening. Please help.:twisted:

Member Avatar for TheBeast32
0
60
Member Avatar for nizam_khan

Hi ! I m a new guy in software development. Recently i m assigned wit a job where i got to modify a C++ project built in Visual studio 6 to work in visual studio 2008! any one got any advise where should i start frm?

Member Avatar for nizam_khan
0
135
Member Avatar for Kadence

I believe indefinite arguments can be defined with '...', but then how do you access them? For instance for the following function: [CODE]int test(int n, ...){ return n; }[/CODE]

Member Avatar for Kadence
0
278
Member Avatar for papuccino1

Hello guys. This is my first post on the site and I think I'll like it here very much. :) I already have the site set as my home page. So here is my dilemma. The program is supposed to do some pretty basic comparisons of two numbers typed in …

Member Avatar for sparty
0
162
Member Avatar for Wiki_Tiki

Hello everyone, I need help with a program I'm busy working on. I've created a test application, and I need it to move one pictureBox control (pictureBox1) to move to a random location (either 70,233 or 204,146 or 46,46) each time a button (button1) is clicked. Take note again that …

Member Avatar for Wiki_Tiki
0
220
Member Avatar for kneiel

i have two classes. One is room and the other is container.[B]Room is the class which you write, container is a 3rd party class, you can't change the class definition of container.[/B] in the constructor of container, large amount of memory is allocated. In the ctor of room, a small …

0
46
Member Avatar for monkey_king

Hi I'm doing a statistical mcmc model where I need some random numbers. I decided to use the ranrot-w generator. The random number only works when I call the randomnumber method directly, and not when i give the random number as an parameter to another function. that is rg.Random() !=random(rg) …

Member Avatar for monkey_king
0
152
Member Avatar for BattlingMaxo

I want to make a real time 3d aquarium. procedural animation. What compiler should i use? hopefully not to expensive. Dev C++ is free but don't know if i need more than that. i was thinkin about visual c++ What about service packs that i read about i don't want …

Member Avatar for msk88
0
135
Member Avatar for xcesmess

I'm fairly new to the C++ world (did some C work in the past years ago) so I'm a little rusty on some things :) I've got a small table in a database and I'm trying to grab some date information out of a UNIX EPOCH time stamp (all seconds). …

Member Avatar for Ancient Dragon
1
108
Member Avatar for sciwizeh

I did some quick searches of google and daniweb, but i cannot find anything on how i can do this. instead of a long and probably misunderstood explanation i have this: [img]http://matrixpeckham.googlepages.com/sandscreens.jpg/sandscreens-large.jpg[/img] short explanation: is a falling sand game. list at right can change whenever a new text file is …

Member Avatar for sciwizeh
0
168
Member Avatar for sbbs05

Could anyone help me with the following: Consider the microwave oven in your kitchen, using the object-oriented thinking described above. Create a table with the following four column headings: Top-Level Objects Communicates With Incoming Messages Outgoing Messages. Identity the top-level objects of the microwave. Explain some of the graphical user …

Member Avatar for jencas
0
146
Member Avatar for noktasizvirgul

I heard something which firstly .NET converts all codes to MSIL language and then create .exe. If that is true, I wonder that does .NET convert C++ codes to MSIL language. Also can anybody explain me the differance between Visual C++ and Visual C++.NET? Thanks

Member Avatar for Ancient Dragon
0
137
Member Avatar for abhigame

i hav thiught a lot about the problem but at the end i was not even able to mave an inch forword .the problem is: we hav to develop a program that make user input a series and then will calculate the misiong term. ex: 1>4,6,9, ,14,16,19,... then the answer …

Member Avatar for papuccino1
0
119

The End.