49,757 Topics

Member Avatar for
Member Avatar for Aamit

I want to find server Ip. Server and clients are connected in Lan ..... how to do this??

0
57
Member Avatar for purepecha

//help please to solve this problem for multiple programs //with arrays. //The purpose of this program is to calculate the car charges //in a parking lot. this program is working for 1 car. //My assignment is to make a program that works for multiple cars //at the same time. //to …

Member Avatar for joshmo
-1
1K
Member Avatar for zoner7

I have a function inside another function that is called by main(). Inside the innermost function a vector is created, which I would like to return to the first function, which I would further like to return to main(). I suppose that I could create the vector in main and …

Member Avatar for zoner7
0
114
Member Avatar for zoner7

I am having a compiling issue because of some syntax errors while trying to return an array. You can probably ignore most of the code below; I am only concerned with the call and return of the CreateBoard[][] array. As I understand a pointer might be necessary to do this. …

Member Avatar for Ancient Dragon
0
107
Member Avatar for Pikachumanson

Hello everyone. This is my first post here. I am only posting here under the most extreme circumstances because I cannot for the life of me figure out how to make my save function for RPG game to work. So for it will only save in the first room. So …

Member Avatar for Pikachumanson
0
257
Member Avatar for cmatos15

I need help where it say /* write code to withdrawal money from account1 */.. i think the member function is written right but im not sure. Im a true begginer taking this online course and I think i have most of it right, can someone please help guide me.. …

Member Avatar for Ancient Dragon
0
136
Member Avatar for daviddoria

I have a function Scan.MakeLinearGrid() which returns a vector<vector<Vector3> > I have another function that is made to accept this type of thing: Scan.setAngleList(vector<vector<Vector3> >); But if I call it like this: [code] Scan.setAngleList(Scan.MakeLinearGrid()); [/code] it says [code] error: initial value of reference to non-const must be an lvalue Scan.setAngleList(Scan.MakeLinearGrid()); …

Member Avatar for Duoas
0
1K
Member Avatar for GallantAlex

Hi everyone, I am a just beginning Win32 Application Programming for C++. I really couldnt find any site that didnt confuse the heck out of me. Alrighty, I'm not here to ask you questions about acutally learning Win32, but i would like to know if you could recommned me a …

Member Avatar for William Hemsworth
0
428
Member Avatar for AceChandra

Need help! supposed to take in 6 project grades and 2 test grades... multiply each by %50 and add together for final average. however, i cant figure out how to add the integers in the array much less compute the average... any help is highly appreciated!!! heres the code: #include …

Member Avatar for William Hemsworth
0
173
Member Avatar for kpsmiling.4ever

Hello everyone, can anyone please suggest some problems (intermediate) which could be implemented in both C++ and java bringing me back on the track. i studied C++ 4 years back and java 2 years back. i was quite comfortable with the concepts and logic. but for now about 2 years, …

Member Avatar for William Hemsworth
0
123
Member Avatar for azualin

THIS IS MY QUESTION........PLEASE SOLVE IT........... Write a complete program to read 15 numbers type of integer and calculate the number of the same number. (Use : loop, array, function) Example: Please enter 15 numbers : 2 4 5 6 2 2 7 5 5 2 2 2 4 4 …

Member Avatar for Radical Edward
0
61
Member Avatar for chickenlord500

I am working on this code and everything is working but for some reason when i go and do case 3 for remove it removes the code but continually asks for me to remmove and no matter what i type it will not go back to default options for me …

Member Avatar for zoner7
0
189
Member Avatar for ice661666

Hi, I have been asked to write C++ program to calculate the factorial for numbers from 1 until 255, the problem is that no variable exist as far as I know that can handle the result for calculating 140! And greater “I am not sure about the number but it …

Member Avatar for tesuji
0
135
Member Avatar for Phan

I posted here about 2 weeks ago discussing what library I should use for my text based RPG game in c++ console development. I talked to my teacher about it, and he said that plagiarism was a huge concern, so I have to document nearly every aspect of my program …

Member Avatar for mitrmkar
0
130
Member Avatar for zourlas

Hi mates So i have a big project for my school...and the bad news are that i am a noob in C++.. In VCL enviroment i try to take an AnsiString Text from a listbox or EditBox and convert it into a integer array in order to do some calculatos …

Member Avatar for zourlas
0
182
Member Avatar for a3sheikh

please if yuo have graphics.h for microsoft visual.net 2003 c++ can you send it to me thanks

Member Avatar for Tigran
0
69
Member Avatar for Dannyo329

What i'm trying to do is, basically, link one C++ File, to another. For example, first i have a cpp file, like, main. And I want to have a part where the user chooses something then the other cpp file opens.

Member Avatar for mitrmkar
0
121
Member Avatar for n00b3

Hello, Sorry if this is a basic basic question. I am familiar with doing console projects, but I am trying to do a gui project and the rules just don't seem to be the same. I have two basic questions. 1) Why can I not include fstream and/or string headers …

Member Avatar for mitrmkar
0
158
Member Avatar for bookworm619

I supposed to make in memory linked list. I thought I did it perfectly. My teacher is kind of the teacher that won't teach you but let you figure it out.. I couldn't figure it out!!! I supposed to make one like this but to manipulated the list. I am …

Member Avatar for mitrmkar
0
408
Member Avatar for sniper29

i have here a code..... can anybody tell me how to:-O change the '*' to 'X' when a user will input his desired seat..... :( #include<iostream.h> #include<conio.h> #include<iomanip.h> int userInput(); int main() { clrscr(); int x,y; const int row= 12,seat= 5; char plane[row][seat]; cout<<"\t\tAirplane Seat Arrangement"<<endl; cout<<"\tA\tB\tC\tD\tE\tF"<<endl; {for (y=1;y<=13;y++) { …

Member Avatar for VernonDozier
-1
267
Member Avatar for trembb22

How do we create a thread with visual studio for windows. I would like to know how can we manipulate thread in a windows program using Visual Studio Ver 6 and Visual Studio 2005 and 2008 for windows 98, XP and Vista. I know how to play with threads using …

Member Avatar for trembb22
0
293
Member Avatar for cheguashwini

I have two 2d vectors. Both have a column of strings. I have to match both columns based on number of characters matched counted in an order. All the Elements in both the columns are compared first. Then character by character comparison is done in such a way that, if …

Member Avatar for Ancient Dragon
0
122
Member Avatar for brk235

Hallo friends i have particular number of nodes in a box. I need to connect all these nodes as a teravalent network. I have no idea how to proceed for this task. Please give me,atleast, idea to proceed. Thanks for your help,

Member Avatar for Duoas
0
116
Member Avatar for ff4930

Hello everyone, I have a project to do which involves reading each line of text from an input file which holds integers. Each line represents a polynomial, and I have to rearrange it in canonical form which is sorted by powers. I was wondering if there is a string tokenizer …

Member Avatar for Duoas
0
165
Member Avatar for chickenlord500

I am trying to get my code for when it gets to the delete option i can type the name of the game it deletes it unfortunately it ony deletes when the number of the game is type not the name. Here is my code please help me i cant …

Member Avatar for Radical Edward
0
81
Member Avatar for pwnz32

Hi, I'm making a small program that sends data to a program that is constantly moving around. (to practice my c++)and it needs to be able to read file paths (C:\\Dev-Cpp\\...etc) from a file and store it in a char array (this is all I could figure out worked for …

Member Avatar for pwnz32
0
3K
Member Avatar for timbo2000

Im using visual studio 2005 on XP and am recieving an error in my program that looks as if the call is not matching what is in my lib. I have been doing some reading about the code generation phase of the compiler and find that I should look at …

Member Avatar for mitrmkar
0
94
Member Avatar for cam9856

Ok so at a specific point in my game, the game just shuts down. I am not sure what the problem is so I am going to throw all the source code up. Any Help is appreciated. [ICODE]#include <iostream> #include <windows.h> #include <fstream> using namespace std; string location = "Amasi …

Member Avatar for cam9856
0
102
Member Avatar for cbrules3033
Member Avatar for JoutPerl

Hello, I am currently working developoning C++ app. with the codeGear Ide. I want to keep trace of every stored procedure I call using ADO executeComplete event in my ADO connection object (just for loging propourses). My problem is that I can not access any Command property because of const …

0
108

The End.