49,761 Topics

Member Avatar for
Member Avatar for bhoot_jb

i want to clear a doubt... please check out the following codes.. [CODE]int function (int p[]) { //sm code } [/CODE] another style is : [CODE] int function (int *p) { // sm code }[/CODE] here i am passing an array to both the functions...and one receives it through p[] …

Member Avatar for bhoot_jb
0
116
Member Avatar for tgiboss1

Hello, I searched most of yesterday online for an answer to this question and was unsuccessful. please help. What I am trying to do, I have an emulator.exe application which is totally external from any project of my own. I want to create a control (custom control, activex control???) on …

Member Avatar for tgiboss1
0
788
Member Avatar for Nemoticchigga

Hey, Any Idea why this section of code would give me these linker errors using Visual Studio 05 in a console application and using winsock2.h: error LNK2019: unresolved external symbol __imp__WSACleanup@0 referenced in function "void __cdecl CloseDevice(void)" (?CloseDevice@@YAXXZ) error LNK2019: unresolved external symbol __imp__closesocket@4 referenced in function "void __cdecl CloseDevice(void)" …

Member Avatar for Nemoticchigga
0
88
Member Avatar for sudhirblgupta

i am getting error like " [Linker error] undefined reference to `WNetOpenEnumA@20' " How i can solve it?

Member Avatar for Ancient Dragon
0
58
Member Avatar for Traicey

I am having a problem in knowing where to start with my project that has to ask a user to enter a string of characters.. you can limit the size of characters and u decript those characters u can print them backward or u can change them into numbers depends …

Member Avatar for Traicey
0
103
Member Avatar for LindaWiklund

If I want to make a method to return an object's type, what type should the method return? A string, the object itself? Any suggestions?

Member Avatar for LindaWiklund
0
6K
Member Avatar for 666kennedy

im starting a sub proceedure to test program once its worked through earlier processes. however to test the program, i have copied and pasted pieces of the program before hand, and because ive used the same variables they need to be declared again. but since things are stored in these …

Member Avatar for 666kennedy
0
233
Member Avatar for sudhirblgupta

Hi I want to make a pure c++ application which is used to retrieve ip address of all connected users of LAN(local area network). I am using Dev c++ IDE. please any buddy have any idea to solve this problem? Thanks in advance!

Member Avatar for sudhirblgupta
0
558
Member Avatar for cheesy_mel

Hi, i'm new in C++ i was asking to get an input from user, eg. 12 -8 7/8 6 D. Valid input is type of whole number and fraction, and D marking end of input. i'm doing the input validation. if there is an error input, eg. 4 92 1/2 …

Member Avatar for vijayan121
0
106
Member Avatar for jimJohnson

I apologize if this does not sound clear. I will show the assignment and what the output is supposed to look like along with the code that I have so far.....My problem is pretty much typing this xxx to exit....I have always used numbers for this so a string would …

Member Avatar for vmanes
0
247
Member Avatar for mikky05v

I'm a student enrolled in a University beginners programming course. The problem is: [B]Write a program capable of using month and day of a given date to calculate the number of days from january 1 that it represents. Make the program capable of computing values for as many as 20 …

Member Avatar for mikky05v
0
123
Member Avatar for noraantonia

Hello:) I have a problem that keeps repeating. I work in Visual C++ 6, and i deleted a class, i erased it from program files/microsoft visual studio/my projects/bla bla.. and i deleted the code in it(the header and cpp file), and it dissapeared from the class tree in my workspace, …

Member Avatar for noraantonia
0
126
Member Avatar for Jennifer84

I wonder how it is possible to open 2 instances at the same time of a Form. Normally when you ex press a button to open another form, one instance of that form is opened. If I put these 2 lines inside a buttoncontrol, first one instance is opened and …

Member Avatar for Jennifer84
0
146
Member Avatar for Majestics

I HAVE AN ASSIGNEMENT IN WHICH I GET STUDENT DATA AND SAVE IT A SEPARATE TEXT FILE , THE MAIN PROBLEM IS THAT IT TAKE ALL THE VALUES BUT DONOT STORE VALUE OF SEM,ADD-NO AND BATCH . KINDLY PLEASE HELP ME . Coding is :- [code=cpp]#include<iostream.h> #include<conio.h> #include<fstream.h> struct stud …

Member Avatar for Lerner
0
57
Member Avatar for DOrmisher

I was wondering if anyone could help me with this little problem. What I am actually trying to do is implement 'picking' into a game I'm doing, but I'm actually stuck with some of the maths, thats why this isn't in the game forum. I'm trying to work out a …

Member Avatar for DOrmisher
0
413
Member Avatar for noraantonia

hello. i have a question. i am quite new to visual c++ programming, and i was wondering how can i use glut in a mfc appwizard profect, and not only in a win32 application. for example i need to draw a sphere and i would like to use the single …

Member Avatar for vijayan121
0
104
Member Avatar for daviddoria

I am getting a whole bunch of these: warning C4996: 'vsprintf' was declared deprecated see declaration of 'vsprintf' Message: 'This function or variable may be unsafe. Consider using vsprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_DEPRECATE. I put this at the top of my code: #define _CRT_SECURE_NO_DEPRECATE but nothing changed, I …

Member Avatar for vmanes
0
103
Member Avatar for Ben10

Take (10) integers, store them in 1D array then do the following: 1. find the max and min number of them 2. find the average 3. sort these numbers in ascending squence the first two questions are quite easy but my problem is in sorting those numbers...anyways, i came up …

Member Avatar for Ben10
0
124
Member Avatar for jimJohnson

For some reason when I compile my code the hypotenuse returns to just 0 and it returns an integer and not a double and was wanting to know if anyone had any suggestions........ [code=c++] #include <iostream> #include <cmath> using namespace std; double Calculate_Hypotenuse(int length_one, int length_two); int main() { int …

Member Avatar for gkbush
0
253
Member Avatar for Traicey

I have been trying to figure something out ever since I started doing C++, My goal is to code my own game and coming to think of that.... I have read many articles about how U go about on doing that and as far as I have read C++ is …

Member Avatar for Traicey
0
155
Member Avatar for k2k

can anyone please point out what is wrong with my seeForward function? My program run fine with the option 2 ... however,, seeforward isn't working .... thx [code=cpp] # include "Name.h" struct Node { Name name; Node *link; }; typedef Node* NodePtr; void head_insert(NodePtr& head, Name* inName); void output(NodePtr head); …

0
60
Member Avatar for thedonshi

Hello everyone, I am making a program which acts like a library system. There are two classes: Book and List. The List class contains all the linked list information; [CODE] struct ListNode { ListItemType item; ListNode *Next; };[/CODE] Now, my problem is in the Book class file (Book.cc). I have …

Member Avatar for Narue
0
128
Member Avatar for Paul.Esson

After looking at compile errors because I was not overriding this function ( although being convinced that I was) I have a query for all you C++ buffs in the audiance. What does the ^ do in the following line. [CODE] virtual System::Object ^ Clone(void) override; [/CODE] I know this …

Member Avatar for Traicey
0
161
Member Avatar for sheree

Hello everyone, I am a new memeber, and I need help in c++ code. Actually I had a code that need kd tree data structure in order to find the nearest neighbour, so I found a kd tree that had been written in c++ as class and there is a …

Member Avatar for sheree
0
5K
Member Avatar for niitian

hello everybody, i'm niitian:) have been familiar with this community for quite some time, it has help me solve quite some problems, though now i think it's time i join too:) i'm a beginner at c++, don't really think it's way hard, but i do have alot of unanswered questions. …

Member Avatar for Ancient Dragon
0
62
Member Avatar for curt1203

Just when i thought this class could not get any harder i get this assignment. The last few lectures i have watched in my class on pointers have gotten me totally confused. Now i have this assignment due in 6 days that i seriously do not even know how to …

Member Avatar for sinkingships7
0
137
Member Avatar for rayeesalam

Hi All, This alam from delhi and asking for some confusion which i have. actually i want to make my career as a C,C++ developer in Linux and Unix platform . friends i am totally new in this field...i know basic concept of C, C++ and Unix system.... So, what …

Member Avatar for jimpossible2k
0
230
Member Avatar for Waseemn

Hello All, Its me again with my quirky questions. I am writing a program for homework and the idea is to sort the top 3 runners by their finishing time. Also a requirement of the homework is to gather the names of the runners along side their times. The user …

Member Avatar for Ancient Dragon
0
93
Member Avatar for ccrdude03

I have all the way to this part of displaying the board and now I need help on how to play it. I don't want someone to just give me the code, I want to learn what to do. Thanks very much. p.s.= using array [CODE]#include <iostream> using namespace std; …

Member Avatar for WaltP
0
79
Member Avatar for Zanziff

Hello everyone, I am VERY new to programming. I have downloaded and installed the Dev-C++ compiler and I am using it with the C++ for dummies book and when I try to compile my simple "This is my computer talking" program, I come up with 70 library based errors. Is …

Member Avatar for VernonDozier
0
122

The End.