Posts
 
Reputation
Joined
Last Seen
Ranked #960
Strength to Increase Rep
+6
Strength to Decrease Rep
-1
88% Quality Score
Upvotes Received
14
Posts with Upvotes
14
Upvoting Members
4
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
3 Commented Posts
0 Endorsements
Ranked #3K
~26.4K People Reached
Favorite Tags
c++ x 48
c x 24
java x 1
Member Avatar for Mr Gates

I've made a program that creates a log of the activities performed in it, for easy reference for the user. But I want the program to automatically delete the file after the program is shut down. What is the syntax and how do I go about doing it?

Member Avatar for brainysmurf0316
1
660
Member Avatar for essentialc++33

The value for PI can be determined by the series equation PI=4x(1-1/3+1/5-1/7+1/9-1/11+1/13-....) write an interactive program that asks the user how manu terms of series equation to use in approximating PI. Then calculate and display the approximation. Here is a sample run: PI Approximation Program How many terms of the …

Member Avatar for raptr_dflo
1
4K
Member Avatar for viperman224

I'm not sure if this is the right spot to put this. I was wondering how would you create and operating system like linux or windows or novell. What programs would you use. I've always wondered how it was done. I would love to learn to create my own.

Member Avatar for davidkeeler63
-1
768
Member Avatar for Dark_Omen

Hello, I am new to make programs. So far I can just do logical stuff like math in a dos window. I now want to move on to making actual windows programs. Does anyone know how to make a GUI in C++ for a windows application? Any reading online or …

Member Avatar for kvprajapati
-1
4K
Member Avatar for The Shadows

Hi, I have to write an address book using structs for a class. I have 90% of the code done, but I am having trouble ordering it. It is supposed to read in 10 entries from a file and then sort them by last name. All the information also has …

Member Avatar for bonethugs
1
406
Member Avatar for rcjay2

Everyone, I am having a problem with trying to get this to prompt the user for the correct input. I would like to user to be required to enter numbers only after it prompts him/her at "How much money would you like to convert today? (above 100): " My question …

Member Avatar for abhimanipal
0
159
Member Avatar for cybergirl

Hey guys, I'm new here. And I was wondering if you could help me with a question i have. You see i have to write a C++ program that plays the game of tic-tac-toe. And the class contains as private data a 3-by-3 double subscripted array of integers. And i …

Member Avatar for codename09
0
1K
Member Avatar for Mostafaib

hi this is a program for simulation the scheduling in processes between RAM and CPU the program in c language and i hope that you will engoy it and i will be ready for more help

Member Avatar for vegaseat
0
134
Member Avatar for BountyX

I would liek to invisibly run a console application, capture it's output, and save its contents into a log window with an edit control. I know it's possible becuase i've seen it done, but how can I capture terminal output?

Member Avatar for krunalpatel1410
0
265
Member Avatar for Bleek

hey... im in a c++ class at school but i also program at home. my teacher refuses to teach me graphics and i wanted to know if there was an easy way to just basically cout a graphic. if this is noobish and i need to learn a lot more …

Member Avatar for Manutebecker
0
361
Member Avatar for BountyX

well lately I have been working on a CPU core for 6502 assembly, and I have been writing it all in c++. However for obvious reasons I was thinking of remaking the core in assembly. First I was wondering if it would be worth it (speed wise) to write functions …

Member Avatar for naradasu74
0
510
Member Avatar for bryj3

Hello... Any idea how to write this in C++ code.... A parking garage chages a $2.00 minimum fee to park up to three hours. The garage charges an additional $0.50 per hour for each hour or part thereof in excess of three hours. The maximum charge for any given 24-hour …

Member Avatar for Twin6g72Turbo
0
1K
Member Avatar for fatallah

[b]Round Robin Algorithm Simulation[/b] Hey there can anybody help me look for a copy or program a simulation of a Round Robin Algorithm... The program should accept the following from the user... 1) Quantum Time 2) Burst Time 3) Arrival Time 4) The number of Jobs.. If you can... please …

Member Avatar for alc6379
-1
258
Member Avatar for kitakits

Hey there can anybody help me look for a copy or program a simulation of a Round Robin Algorithm... The program should accept the following from the user... 1) Quantum Time 2) Burst Time 3) Arrival Time 4) The number of Jobs.. If you can... please help everyone else avail …

Member Avatar for alc6379
0
731
Member Avatar for eager04

ok im trying to change this from link list to a queue.bt whenever i run it it sill shows from last to first which is the opposite from what i want.here it is, i hope somebody can try to see whats wrong with it. #include<iostream.h> #include<conio.h> struct queue { int …

Member Avatar for gusano79
1
161
Member Avatar for Saleh

Hey hey, how ya doing ya'll? Could any one help me or guide me to a reference that might walk me through a step by step tutorial, of how could i open or close a Cd-drive's tray using C/C++ codes? thanx in advance.

Member Avatar for kc0arf
1
136
Member Avatar for meabed

I tried to desigen program that format partition from the HDD. like D:... then i right this code [CODE]#include<process.h> int main() { system("d:"); system("format d: /q"); system("y"); return 0; }[/CODE] but it comes to ( " all data on non_removalbe disk driver d:will be lost ! proceed with format (Y/N)? …

Member Avatar for meabed
0
182
Member Avatar for gerizzel

i Need 2 design a program that will be able to read the two files of an EWAY Checkpoint (toll for moterway) and customer database, that will be able to produce a statement for each customer who has non-zero balance. and includes: Headings of the statement Customer information: customer’s name, …

Member Avatar for gerizzel
1
173
Member Avatar for Lost Chyld

I'm working on a program with menus, but I don't know how to clear the screen before displaying the next menu.

Member Avatar for wildrider30
2
213
Member Avatar for Ronnie

Hi I am working on an application with many arrays and the output needs to be in differnt formats on a page. That is I will have tables, graphics and regular lines of text. It would be nice to view the information and than have the ability to print it …

Member Avatar for Ronnie
1
144
Member Avatar for prabhu_kar
Member Avatar for prabhu_kar
0
527
Member Avatar for bones

hi people i was wondering how you create a test plan im new to this and just created my 1st c game... need some help as im not sure how to create a test plan preferably in a table. [CODE] /*In order to play the game of craps. each player …

Member Avatar for infamous
0
185
Member Avatar for FireNet

How many of you guys belive it is possible to program a server and create within it a simple environment in which people can write their own pieces of code and complie it without problems. This server should be capable of using multiple 'plugins'(the pieces to code which others write …

Member Avatar for FireNet
0
159
Member Avatar for ElectroBoy

I am struggling with creating a function that is void. I can write the code inline without a function as follows : #include <iostream> #include <cmath> #include <string> #include <iomanip> using namespace std; int main() { string answer; answer = "Yes"; while ( answer[0] == 'Y' || answer[0] == 'y' …

Member Avatar for ElectroBoy
0
231
Member Avatar for liliafan

Hi I am needing to store some data for a project I am working on, I am trying to figure out the fastest method to access the stored data, the data takes the form: keyword (std::string) - list of ints ie: yellow - 2342 2312 8478 3827 9773 4837 2893 …

Member Avatar for liliafan
0
254
Member Avatar for AmericanD

[code]int gcd (int num1, int num2) { int remainder; if (num1 > num2) remainder = num1 % num2; else remainder = num2 % num1; if(remainder!=0) { return gcd(remainder, num1); } return num1; } int gcd2 (int num1, int num2) { int remainder; return ( remainder = ( num1 > num2 …

Member Avatar for AmericanD
0
155
Member Avatar for dina

Can anyone help? Could someone please explain to me what a p2p network is?

Member Avatar for kc0arf
0
136
Member Avatar for liliafan

Hi I am getting an error with some code, it compiles fine on linux but it is throwing an error on solaris, it is to do with strtok_r, the following is the error message: sku_cache.cpp:150: implicit declaration of function `int strtok_r(...)' sku_cache.cpp:150: assignment to `char *' from `int' lacks a …

Member Avatar for liliafan
0
241
Member Avatar for bil

I have got your site of interest and useful. Iam a student and besides learning programing in class, i take time to teach myself C++ from the internet. i have this exercise in which i got stuck and wish to solicit for help, do you offer help on such? if …

Member Avatar for infamous
0
198
Member Avatar for raybulba

I've tried to use a bunch of example programs that make use of "G2++.h" and "g2_X11++.h" but my compiler complains that I don't have those files! Furthermore I can't find any place where I can download such files. All I can find is the old g2 stuff. Does anyone know …

Member Avatar for vesselin
0
175