- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I'm part of a small support team for computer automated equipment. I have addiction to movies and video games, if you've seen my book shelves you'd come to that conclusion. I've taken two programming courses about 8 years ago, 1 being Turbo Pascal the…
- Interests
- Programming, Skiing, Robotics, Movies, Video Games
- PC Specs
- Main PC: Athlon XP 2200 1GB RAM, 2 60GB Maxtors, GeForce 5200 128MB RAM, WinXP Pro BackUp: Athlon XP1800,…
I'm trying to display the same image several times using javascript. It can range anywhere from 0 to about 50. I'll also have its' location determined by the user click and each image will timeout after a short period of time. I figure i'll have to create a new object … |
|
Re:
Hi! I need help to my c++ program. I created a program that is much like the "Who wants to be a Millionaire" television show. It has questions and the right answers and three lifelines. How can I possibly do eliminate a lifeline after being used.? this is the program … |
|
Re:
Hello all, I have a few questions about C++ (I have programmed quite a bit in VBA and some in the past using C++, and have been working through relearning C++). Currently I am working through a bit on the "Char" variable type. regarding the following (from the FAQ): * … |
|
Re:
[CODE]while (y==1) { float discount,addcost; pricetopay=calpricetopay(ty,pricetopay,addcost,discount); cout<<endl; cout<<endl; cout<<"\t\t\tTOY TOY Shoppie"<<endl; cout<<"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"<<endl; cout<<endl; cout<<"Name of item:"<<ty.name<<endl; cout<<"Price of item:"<<ty.price<<endl; cout<<"Made in:"<<ty.madein<<endl; cout<<"Manufactured Date:"<<ty.date.d<<"/"<<ty.date.m<<"/"<<ty.date.y<<endl; cout<<"Price to be paid: "<<pricetopay<<endl; cout<<"Do you want to proceed with another transaction?"<<endl; cout<<"If yes, Please type '1'. If no, please press 2 to quit."<<endl; cin>>y; }[/CODE] … |
|
Re:
Hello guys. I'm trying to create a program, that reads a file, and create an output. Here's the questions: Write a program to compute numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the … |
|
Re:
I am suppose to count the number of vowels in a user inputed string. I dont know what i am doing wrong it gives me one error? [CODE] #include <iostream> #include <string> using namespace std; int count_vowels(string str) { int count = 0; for (int i = 0; i < … |
|
Re:
How good do you have to be in C++ / C in order to enter the world of Open GL? |
|
Hello and thanks in advance to your suggestions, I have taken a few courses on programming, Turbo Pascal and intro to C, about 8 years ago and I'm sure much has changed. So my goal is to get back into programming and learn what a solo programmer can accomplish. The … |
|
Can the [I]main() [/I] call be embedded within a class? At work yesterday I caught a snippet somewhere, and I noticed [I]main()[/I] was inside a class, something like the following: [code] [B]class[/B] personnel { [B]void[/B] in_prev_data(); [B]void[/B] in_new_data(); [B]int[/B] main( [B]int[/B] argc, [B]const char[/B] **argv ); [B]void[/B] process_data(); [B]void[/B] pack_data(); … |
|
Re:
Here is the code: [code] #include <iostream> #include <cstdlib> using namespace std; class student { public: void inputScores(); // Prompts user to enter 2 quiz, a mid term, and a final score; store // them in corresponding data members. void computeGrade(); // Compute average and then convert the average to … |
|
I have a function in one of my programs that picks a random state from a list. It then puts this random state in a structure array. However the name selected from the list does not match the name that winds up in my array structure. The following is not … |
|
Re:
I'm doing a "magic square" program and I'm having trouble with a button. It is supposed to stay active for as many clicks as it takes to fill the array storing the numbers, then become disabled. The button stops working the first time i click it though, and i dont … |
|
After fixing some pointer problems with my structures, I decided to move the functions performed on them to another .cpp file. Here's the definition in my [B]main.cpp [/B] above the int main() of course [CODE][B]struct[/B] employee { [B]char[/B] name[[COLOR=Navy]20[/COLOR]]; [B]int[/B] schedule; [B]int[/B] level; }; [B]struct[/B] employee salesdept[[COLOR=Navy]10[/COLOR]];[/CODE] then in my … |
|
I have a program that calls a function to generate an array of structures( data_set ). The structures consist of a char[20] and 2 int data types. Now what I'm trying to do is randomly pick from an enumerated data type and here is the code I have with a … |
|
Re:
i wanna start programming with c++ what would you guys suggest is the best compiler program out at the mo? :twisted: |