49,761 Topics

Member Avatar for
Member Avatar for YoavX

Hello, i've created a simple program for remote cmd. My friend wants to use it but the server of the remote console does not respond for his requests. the server is Vista and he has Windows 7. he tried to run both server and client as administrator. anyone knows why …

Member Avatar for wisaacs
0
91
Member Avatar for Lukezzz

I am trying to Copy a Folder that consist of many files to another folder with a new Name. I know how to do with files but if I write: System::IO:: Directory:: I cant find any ::Copy Members here. Is it possible to Copy a folder "C:\\Folder1" and at the …

Member Avatar for JuliaSh
0
4K
Member Avatar for Danksalot

I am using xCode on a Mac to write some c++ code. Any time I use cin >> the program compiles just fine, but when I run it something happens that I didn't expect. I enter what I want for input and hit the RETURN key, and it goes to …

Member Avatar for Danksalot
0
917
Member Avatar for rakeshk_87

Hi i have a calculator progran which is shown below...i need to make this into a class calculator....i need some ideas to get started....like what should be the member functions, private data members etc..... [CODE]#include <iostream> #include <string> #include <map> #include <cctype> using namespace std; double number_value; string string_value; int …

Member Avatar for rakeshk_87
0
130
Member Avatar for Marembo

Hi guys, I have been trying to use the mscomm32.ocx library in my project but to no avail. generally, i try to use the #import directive to import the library. However, i get some weired errors from non-project files viz: [code] #import "C:\\Documents and Settings\\Marembo\My Documents\\Visual Studio 2008\\Projects\\BlueTraxGI\\libraries\\mscomm32.ocx" //errors include …

Member Avatar for Marembo
0
211
Member Avatar for anu07

I was going through my computer book,and I saw that "\a" can be used to emit a sound in c++,and I tried it as well,but my question is,is it possible to do the same without showing the standard output screen......??

Member Avatar for anu07
0
65
Member Avatar for mark0420

plz teach me how to create a role playing game using c++ or any programming language?

Member Avatar for vxp
0
277
Member Avatar for Brian Perrigan

[B]I've been given a homework assignment that goes as follows:[/B] We will write a program which inputs a 10-place ISBN number, cleans it up (removes spaces, and punctuation,) then strips the last digit (saving it) then re-calculates that last (check) digit from the rest of the number. If the result …

Member Avatar for griswolf
0
490
Member Avatar for alan4545
Member Avatar for annaabella
0
104
Member Avatar for Excizted

Hello, [I]Before you get scared away - my issue does not particular seem to relate to Quaternions or Vectors. More generally, it appears to be something compiler or C++ standard related, as my return call from the function is acting strange. You can eventually start reading the [U]concluding issue at …

Member Avatar for Excizted
0
194
Member Avatar for mrnutty

Download [URL="http://www.2shared.com/file/MGH_DXrx/lol.html"]this [/URL]great app, that I created. You will like it if you like basketball, especially.

Member Avatar for mrnutty
0
68
Member Avatar for barathdon

[CODE] #include<iostream.h> #include<conio.h> main() { int c=2,a=5; clrscr(); c = a++ - a; cout<<c; getch(); } [/CODE] I know the answer of this program. The result is 0. But i want to know the working of this program(I'm a newbie to c++. So, please help me..) Thanks.

Member Avatar for arkoenig
0
85
Member Avatar for vttuning

Hi i have another username but i cant login!! so i had to create a new account I'm doing a project in Visual C++....in Portuguese....i'm hoping you can help figure out the problem eventhough it's not in english... here is the whole code....incomplete in the int main and it's missing …

Member Avatar for vttuning
0
132
Member Avatar for Amoblaze

Hi, am trying to Write a C++ program to create a data file with several attributes. Accept n person’s information and display the same. So far this is what I have tried to do. My chaalenge is how to read the command line ipnut from the user to the file …

Member Avatar for WaltP
0
205
Member Avatar for VBNick

I need a little help with this :icon_redface: if I use ifstream::read() and go past the end of the file, how do I tell how many chars have been read? thanks, Nick

Member Avatar for VBNick
0
244
Member Avatar for jtltgl

I am making a password genarator and having trouble with this part of code. I am trying to loop until length is meet but it only creates one char and I am trying to when it gets to certain char to skip and do nothing but loop until length is …

Member Avatar for jtltgl
0
96
Member Avatar for papamutz

HELP me CODE this.. How can i INPUT a NAME into an ARRAY BOX? example i want to stock 5 names " UTOY" "MUTOY" "PrinceUTOY" "PapaMUTZ" "MUTZ" into an ARRAY?[B][/B]

Member Avatar for mrnutty
0
35
Member Avatar for ASardinia1

Well, I'm a college student with a dread C++ online class and now my (insert explicative) professor wants us to write a program for a diamond. The actual assignment is... Write a program that displays a diamond of given the odd length (an odd integer size less than or equal …

Member Avatar for regnerz
0
420
Member Avatar for Sarkahn

Hello. Could someone please help me understand what's going on with this code? What I'm trying to do is read each line of a file into a vector<char const *>. I feel like the answer is probably extremely obvious but I just can't figure it out. [CODE]int main( int argc, …

Member Avatar for Sarkahn
0
1K
Member Avatar for n00btechie
Member Avatar for kaydee123

Hello, I defined a list in a class and want to do a class containing get/set functions. How can I set or get a data struct (list element) that has variables of different type and each variable is taken separably as an input from the user (I do the input …

Member Avatar for jonsca
0
131
Member Avatar for atifjatt
Member Avatar for jonsca
0
53
Member Avatar for mark88211

this is what i have so far, i need to combine 2 c strings, print them backwards and figure out whether they are a palindrome or not. (the for loop is where i stopped, it could be wrong) [CODE]#include<iostream> #include<cstring> using namespace std; int main( ) { char s1[15], s2[8]; …

Member Avatar for bagi.padhu
0
424
Member Avatar for madzam

someone please help me do the loop .....thanks ... ..here is the problem ...the user will enter integer values until 0 is entered. The program will find the lowest and highest values entered.It will also calculate the total number of value entered..... [code]#include <iostream> #include <iomanip> using std::cout; using std::cin; …

Member Avatar for mahmud.2345
0
93
Member Avatar for Dennis M.

Hey guys, Today I find myself stuck working on a small project. I am reading information from a pipe and want to output that information to a HWND. The HWND is already created and I'm using ::SetDlgItemTextA() to properly append the data within the multi-line "edit" box. This kind of …

Member Avatar for Dennis M.
0
106
Member Avatar for Rickay

I am fairly new to programming but have been working on putting together a group of functions into one program. It is coming along nicely, but for some reason I can't get the loop on the divisibility function to work properly. When you prompt it to quit to return to …

Member Avatar for jonsca
0
167
Member Avatar for sisterjo

#include <fstream> #include <iostream> #include <iomanip> int main() { int index; int counter=0; double comparison_variable; float numbers; double array_numbers[10]; // an array with 10 floating points for(index=0; index < 10; index++) { cout <<"enter array_numbers"<< (index +1)<<":" ; ERROR: undeclared (first use this function cin >>array_numbers[index]; if(index > 0) { …

Member Avatar for tesuji
0
96
Member Avatar for Andreas5

Hello again, i just finished excersise 11-6 in Accelerated C++. Through this chapter the book emulates a simplified vector class, and as a excersise i have written an erase() member function. My solution allocates new memory, with the size of the original minus the size of what i erase. Then …

Member Avatar for Andreas5
0
187
Member Avatar for maria99

Hi I run a c++ program in VC++ 2008 expression edition. The program was running perpectly in VC++ 6.0 edition. But when i execute the program in VC++ 2008 expression edition, the following error is shown Debug assertion failed Expression: Vector subscription out of range. I define the two dimentional …

Member Avatar for maria99
0
354
Member Avatar for Codname47

[CODE] myLinkedList ( ) { //TESTED head = NULL; last = NULL; cout<<"Linked List is created with default constructor\n"; } myLinkedList ( myLinkedList &arr) { //TESTED if (arr.head == NULL){head=NULL; last=NULL;} else{ head = NULL; last = NULL; temp2 = new node; temp2 = arr.head; while(temp2!=NULL){ insertLast(temp2->item); temp2 = temp2->next; …

Member Avatar for dusktreader
1
104

The End.