Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~6K People Reached
About Me

MIS Helpdesk

Interests
I don't have time for hobbies.
PC Specs
PC: Intel 2.8Ghz P4, 1 gig ram, xp pro, 256 PCI Express video Laptop: Intel 2.8Ghz, 1 gig ram, xp home,…
Favorite Forums
Favorite Tags
c++ x 25
Member Avatar for djbsabkcb

Question: I have to do a program on alternating sums using vectors. I am not sure how to start this program. I thought about using an array and every even index add the value and every odd index subtract the value. Does that sound right? Any ideas?

Member Avatar for jacklin
0
2K
Member Avatar for Dulaithol

I'm new to c / c BUT not new to programing, I know php vary well. Well, on to my question. I'm writing a physics calc, the user enters a Vi and Angle and it gives them the rest of the info, [url=http://www.kc8onw.net/~jacob/calc.php]here's[/url] my php version. I got my c …

Member Avatar for kynt
0
472
Member Avatar for mb1

I need to write a program, in C++, that will read from a .dat file How do I make one? My book mentions a header line, etc. It does not go into any more detail and I can't find a description of how to do it online. Am I making …

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

I'm trying to put together this program that creates a for loop but my end result is not positioned the way I need it like this but flipped around so it looks like a christmas tree effect. * ** *** **** ***** Please help I'm still learning and I can't …

Member Avatar for smallville
0
310
Member Avatar for DotNetUser

This is in VC++.NET. I dynamically create the number of buttons the user specifies. I add these buttons to an Arraylist. The buttons names goes from b1 ..bn where n is the max num of buttons. The user will provide me the button number and the text to be added …

Member Avatar for DotNetUser
0
138
Member Avatar for sifuedition

Why are my exceptions not working? here is the teststack.cpp #include <iostream> #include <iomanip> #include "teststack.h" using namespace std; struct StackFullException { StackFullException(); }; StackFullException::StackFullException() { cout << "The stack is full."; } struct StackEmptyException { StackEmptyException(); }; StackEmptyException::StackEmptyException() { cout << "The stack is empty."; } Here is the …

Member Avatar for CrazyDieter
0
163
Member Avatar for sifuedition

What is wrong with this: [code] for(int b = 0;b < c.length();b++) { temp[b] << S.Pop(); // or temp[b] = S.Pop(); } [/code] to have a string made up of the contents of the stack? When I do this and cout << temp, temp is blank. This iterates through the …

Member Avatar for sifuedition
0
86
Member Avatar for sifuedition

What is happening here? [code] void palindromemgr(ifstream& in, ofstream& out, Stack& S) { string c; //candidate while (true) { cout << "entering first loop" << endl; //debugging line if (in.eof()) break; in >> c; cout << "this is the value in c :" << c << endl; //debugging line for …

Member Avatar for sifuedition
0
148
Member Avatar for sifuedition

I need to use a class for a program that reads an input file, prints the file, sorts the list then prints the sorted list. This is for a Programming II class. I can see how to print and sort. My issue is the input file and the array. I …

Member Avatar for sifuedition
0
159
Member Avatar for sifuedition

Well, here is the gist of the problem. When I read in a file of integers, if there is a formatting character at the end, the last integer is repeated. For instance, in the code, it is reading i01.dat. If that file reads as follows: 2 3 4 5 with …

Member Avatar for vegaseat
0
172
Member Avatar for sifuedition

I am actually having two problems. The first is initializing a char array to a single space for all elements. I have the loop to do this but the assignment to the value: " " is returning a compile error: error: invalid conversion from `const char*' to `char'. Then, when …

Member Avatar for Narue
0
311