Re: Are we being played by AI? Let's Discuss! Community Center Meta DaniWeb by Dani … it's hard to tell, and I always want to exercise extreme caution and not delete or infract a post unless… exercise Programming Software Development by eduard77 … and I got blocked again. The exercise is: Daphne invests $100 at 10% simple interest. That is, … Exercise using: unsigned int datecode(int year, int month, int day); Programming Software Development by JoBe Hi ladies and gents, I wanted to start a new exercise, but after reading it several times, I actually don't… know what the exercise is all about :!: The translation into English is this: [quote…com/code/snippet87.html[/url] I tried to do this exercise starting with one parameter for the day wich resulted into… Re: Exercise using: unsigned int datecode(int year, int month, int day); Programming Software Development by Narue …;1) Do you understand what the idea is for this exercise when reading the task? Yes, they want you to take… exercise with fstream Programming Software Development by ntrncx … studying from a book,and i have to do an exercise. i dont want code or anything i want tip or… new file,i did that. the files are sequential. the exercise after i do that asks to be able to solve… Exercise using: unsigned char bcd(int n); Programming Software Development by JoBe Hi ladies and gents, Next exercise is the following: Write the function which we can declare … Re: Exercise using: unsigned char bcd(int n); Programming Software Development by Narue … return two separate pieces of binary code It's an exercise in bit packing. The two 4 bit chunks are packed… Re: Exercise using: unsigned char bcd(int n); Programming Software Development by JoBe …, I simply am not getting what is asked in this exercise and the pieces of code you are giving me Narue… Re: Exercise using: unsigned char bcd(int n); Programming Software Development by Narue … want and why I said this is a bit packing exercise. Re: Exercise using: unsigned char bcd(int n); Programming Software Development by Narue … to 0 or 1. Figuring it out is a fun exercise, try taking away one !, then take away the other. Try… Re: Exercise using: unsigned char bcd(int n); Programming Software Development by JoBe … :D I still haven't found the solution to my exercise :!: DARN exercise in DIstributed Database Systems Programming Databases by katerinaaa Hi, Iwould like somebody to help me with this exercise : Consider the following relations: BOOKS (Book#, Primary_author, Topic, Total_stock, $price) … Exercise in Java: Swing & Listeners Programming Software Development by Olsi009 Hey ppl, i am trying to do this exercise from my java book, but i cant do anything right … exercise on recursion... Programming Software Development by 4101 please help me with my exercise... please give me sample on recursions with Fibonacci and Lucas number... thank you very much.... Re: exercise on recursion... Programming Software Development by tux4life [B]>please help me with my exercise... please give me sample on recursions with Fibonacci and Lucas … exercise ciphertext Programming Software Development by gpos7 I have an exercise in my university an it is very important!!! I have … Exercise on Sub Procedure to calculate the average Programming Software Development by wezjusz Hi everyone. I got tuday an exercise: Write a program to calculate the average of three exam … Exercise 1-13 : K&R C Programming Language Programming Software Development by beatbox32 … K&R book and am having some trouble with Exercise 1-13 at the moment. I'm just attempting to… Exercise-based C++ books Programming Software Development by Kromgol … drift) instead of having pure references and then some small exercise at the end of each new thing. Any recommendations for… Think Python - Exercise 11.1 question Programming Software Development by jeremywduncan Exercise 11.1. Write a function that reads the words in … Re: Exercise-based C++ books Programming Software Development by gezhagn HI can you see the solutions of exercise C L STUE? Exercise - Calculate the pay rate Programming Software Development by khelkely This is just an exercise. And i need to complete this. This is the question : … Re: Exercise - Calculate the pay rate Programming Software Development by khelkely … rate of overtime 4O hours. i am still running my exercise and need help. [code] //Write a program in C++ that… Re: exercise Programming Software Development by eduard77 … std; int main () { string mystring; //ofstream myfile ("exercise.txt"); ifstream infile("exercise.txt"); if ( infile.is_open() ) { //ifstream infile…("exercise.txt"); infile >> mystring; cout << mystring; } … Re: exercise Programming Software Development by eduard77 …; int main () { string mystring; //ofstream myfile ("exercise.txt"); ifstream infile("exercise.txt"); // You should create the file in… the executable before hand. if ( infile.is_open() ) { //ifstream infile("exercise.txt"); // Don't open inside a block. Will dissapear… Re: exercise Programming Software Development by eduard77 … main () { char mystring[2000]; //ofstream myfile ("exercise.txt"); ifstream infile("exercise.txt"); // You should create the file in… the executable before hand. if ( infile.is_open() ) { //ifstream infile("exercise.txt"); // Don't open inside a block. Will dissapear… Re: exercise Programming Software Development by eduard77 … main () { char mystring[2000]; //ofstream myfile ("exercise.txt"); ifstream infile("exercise.txt"); // You should create the file in… the executable before hand. if ( infile.is_open() ) { //ifstream infile("exercise.txt"); // Don't open inside a block. Will dissapear… Re: exercise Programming Software Development by eduard77 … main () { char mystring[2000]; //ofstream myfile ("exercise.txt"); ifstream infile("exercise.txt"); // You should create the file in… the executable before hand. if ( infile.is_open() ) { //ifstream infile("exercise.txt"); // Don't open inside a block. Will dissapear… Re: exercise Programming Software Development by eduard77 …'t know how the program is supposed to find the exercise.txt file [CODE] #include <iostream> #include <fstream…; using namespace std; int main () { ofstream myfile; myfile.open ("exercise.txt"); myfile << "Writing this to a… Re: exercise Programming Software Development by arkoenig myfile is an ofstream, which means that you are intending to use it for output. Calling myfile.open("exercise.txt") says that you intend to [I]write[/I] a file named exercise.txt -- which means that anything that was in that file already is about to vanish.