- Upvotes Received
- 21
- Posts with Upvotes
- 19
- Upvoting Members
- 18
- Downvotes Received
- 24
- Posts with Downvotes
- 18
- Downvoting Members
- 15
- Interests
- Video games, coding, football,adventures
- PC Specs
- Windows 7 (x86)
Re:
Hello I'm new to programming in general and this was one of the assignments I did. I was suppose to create a class called employee that includes three pieces of information as data members - first name, last name, monthly salary. Then was suppose to write a test program that … |
|
Re:
This is something that I made a while back during thanksgiving 2007. If you want to add on to it you can, it's not very well made as in the organization sucks. But it is pretty cool in the fact that you can navigate your acii environ with color and … |
|
Hi,everyone.. I was wondering.. Is it possible to carry out other tasks in a php application while data is being uploaded(by that application) into a MySQL database? |
|
Re:
Hey guys, I have been reading the forum for a while, but I couldn't find anything that could help to figure out my current assignment. Its a very simple program, but somehow just doesn't work for me. I'm a beginner and I hope that somebody can explain what am I … |
|
Re:
Hello everyone, I'm new to C ++, and I want to know how to delete a whole folder. I've tried to do this, but it doesn't work. Can anyone help me? [CODE]#include <iostream> #include <stdio.h> using namespace std; int main() { remove ("c:\\users\\asus\\new"); return 0; }[/CODE] I'm running Vista, and … |
|
Re:
Hi guys I been programming in c++ for past 2 years and is fairly good with it. First of all I dont need the code or anything but need some resources which i can use to get the basic idea so I can start developing. Had been googling for the … |
|
Re:
Hi sir, could you give me some clue of this problem.. I'm a beginner sir.. display a pattern of half diamond using for loop in turbo c in vertical.. sample: if i input a value of 5, the result will b e like this * ** *** ** * the … |
|
Re:
Please i want to end a program in a function outside function main. also want to end executing a function of type void without allowing it to end but don't know how. please help me out. |
|
Re:
I have been teaching myself algorithms and I am stuck with the AlphaBeta AI algorithm. I want to test my knowledge of it with a TicTacToe simulation. The thing is I want it to be easy to modify for any two player game and I cannot figure out how to … |
|
Re:
Hello all, Actually i had a program which i was unable to solve i hope youll help me out and post your solutions. The program is: A Bowler is called the Best, if the average wickets taken by him during the year is 5 and above. The number of matches … |
|
Re:
hello everyone! i have a question about reading from a binary file.what if i want to start reading a file from a certain line of the file and end the reading to a certain line too? is there a way to do this using an ifstream? |
|
Re:
[CODE]#include <iostream> using namespace std; class LoopEx { int x,y; public: void Ex; { x=3; y=x; // y=3 while(y<=1) // 3<=1 y--; // 3, 2 x=x*y; // x= 3*3=9 cout<<x; } }; int main() { LoopEx F; F.LoopEx(); return 0; } [/CODE] im trying to write a program for factorial … |
|
Re:
Hello All, I've put together this program for a rational class and it runs, but the problem is, it doesn't do what it's supposed to do. Any ideas? Thanks in advance. See ya on the flipside, Desh2350 [CODE]// This program will do arithmetic operations on two rational numbers entered from … |
|
Re:
please help me using C++ to create the following hierarchy of classes; (1). a [B]Person[/B] class with fields for name (type String) and an email address (type String). it should contain two constructors: one without input , a second one with input name of type string and email of type … |
|
Re:
Create a class called “PROCESSINTEGER” for comparing two INTEGERS. Provide member functions input, isEqualTo, isNotEqualTo, isGreaterThan, isLessThan, isGreaterThanOrEqualTo and isLessThanOrEqualTo. The predicate functions simply returns 1 if the relationship holds true between the two Integers and returns 0 if the relationship does not hold. Also, provide a predicate function isZero. … |
|
Re:
Hi im trying to get this to compile im try to make a menu this is my code but it wont work [code] //main.cpp #include <iostream> #include "Menu.h" using namespace std; int main(){ { SportsClothingMenu(); } system("pause"); return 0; } [/code] [code] //Menu.h #ifndef H_MENU #define H_MENU #include <iostream> #include … |
|
Re:
Hey, I have been studying Java for a year in college and this year we started Object Oriented Programming. We have been givin some assignments and stuff but they all include creating Objects and Classes. Does anyone know of any good resources for Creating these as I am slowing down … |
|
|
Re:
I have my program all working but whenever a user clicks cancel or exit I want the program to close, not throw my catch. Whenever a user throws a catch they have to input their answer twice before it will go back to normal operations. [CODE] import java.util.*; import javax.swing.*; … |
Re:
Ok the thing I searched into google brought up a ton of nonsense. I want to use variables from a function in main and (more important) variables from main in a function. I am already using file I/o as a loophole but I want an easier way. PS How do … |
|
Re:
I'm having issues with the abstract class idea...I've attempted to use Eclipse, but this time the IDE is just messing it up. I've got the files uploaded. They should be attempted to be compiled as this 1. Container 2. Base Container 3. Height, and color exception 4. Round and square … |
|
Re:
Hello everybody. I am new to java and to this forum so please excuse my mistakes. i wanted to knew what happens internally when we do typecasting of any reference variable to its super type/sub type.Does there is any change in its reference? |
|
Re:
[CODE]int m, n, pow; cout << "Enter m and n: "; cin >> m >> n; pow = 1; for (int i=1; i<=n; i++) pow = pow * m; cout << m << "^" << n << " = " << pow << endl; return 0; }[/CODE] I dont get … |
|
Re:
i hav car racing program in c++ and i wish to convert this program in c what i do? prigram is this...... [CODE] #include <iostream.h> #include <dos.h> #include <graphics.h> #include <conio.h> #include <stdlib.h> #include <stdio.h> #include <time.h> #include <ctype.h> class car { private: int x1,y1,x2,y2,col,col2,col3; public: car():x1(200),y1(300),x2(270),y2(200),col(4) {} car(int a,int … |
|
Re:
Hi all, I'm having problems writing to a file, and can't figure out what's happening. Basically I have a program which tracks movement over several timeunits (each timeunit takes several timesteps). At each timeunit I write the results to a .txt file. However my program keeps crashing on the last … |
|
Re:
Im trying to make a game. Theres a player and he shoots bullets, and i was told whats wrong is it is making a shallow copy instead of a deep copy even though i researched this i cannot completely understand it. This is my attempt however i know it is … |
|
Re:
good evening guys. I have a problem with my -simple- application. I have 2 forms (Form1 - Form2), i create an object in Form1 (Person type) and i want to get the values of data members when i focused to the Form2 and i press getPerson button. But how can … |
|
Re:
Hello Everyone I Have Been Learning C++ For The Past 1 Year :D , So With This Much Experience Can I Make or Modify A Bootloader in C++ Paradon Me For My Bad English Any Replies Would Be Greatly Appretiated |
|
Re:
Hello, I am not sure why, when I call my method, it goes into a continuous loop and prints out nothing. The operator - method is suppose to be able to subtract a Date object and a Date argument. I will clarify if anything needs clarifying, thanks for the help … |
|
Re:
I got this error when tried to compile.. 1>------ Build started: Project: experiment, Configuration: Debug Win32 ------ 1>Compiling... 1>commands.cpp 1>..\..\..\..\commands.cpp(19) : warning C4996: 'sscanf': This function or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1> C:\Program Files\Microsoft Visual Studio … |
|
Re:
These days ,I am learning inheritance and dynamic binding. I could figure out what the code means. However, I can't see much point in setting such base classes So,I want to know why should we set up base classes and derived classes |