15,551 Topics
| |
Hi ladies and gents, I'm trying the next exercise: Write a function value, wich adds the decimal numbers of 'n' together and return the result of this into main? For example: 0.1234 = 10 0.01234 = 10 0.3286 = 19 What Ive got so far is this: [CODE] short amount … | |
hi...i am really facing a problem in printing a "binary search tree which does an inorder traversal and searches for a node and insert a node"....so i have written a program for that but it doesn't print a binary search tree and is giving some strange grabage values i don't … | |
Can Anyone explain to me what defines a symmetrical matrix and what is i'm looking for that mkes a matrix symmetrical, any help on this subject would greatly be appreciated. it would help me understand, so i can write the boolean function to test if a matrix is symmetrical or … | |
how the hell do you do this?! please help asap! a. This problem is similar to the problem in your last assignment. However, this time you will need to keep track of all integers input by the user. b. Create a program that will read a series of ten (10) … | |
I have a problem that I am not sure how to even come up with a solution. So, I was wondering if anyone would have any input to the problem at hand. I have to divide a matrix that is defined by an input file into 2 distinct regions so … | |
:) Hello Everyone...IM RAZA..from Pakistan...new member here.. Well i hav a problemm....big problem now adays/// i have a project to make an operating system....can somebuddy help me?? i dont have any idea...guide me if u can.. RAZA. [url]http://www.razasnet.tk[/url] (under construction) | |
Hello! I want to creat an windows (nt) service? Could anyone tell me where i can find some documentation? | |
| I've used "if and else" statements to test for conditions, but if's can get very "iffy" sometimes. Specially when you need to test for several possibilites. I was wondering if there is another way to do tests for conditions instead of using the IF. Just for better programming. example: tic-tac-toe … |
I'd like to read a floating point value [b]cin >> Value [/b]where Value is declared as a double and then output it to a string justified to two decimal places. I understand how to do it using a temporary file, but I'd like to avoid that method and [b]sprintf() [/b]if … | |
I am trying towrite a C program which will print yearly calendars, given as input the year numbers. Input data will be taken from a text file, which will contain an unknown number of data lines, each containing a single integer giving a year, I first created a function to … | |
[COLOR=Black][FONT=Arial]Ps I need some help with my Windows programming assignment. My instructor wants us to draw an ellipse(2D) and make it appear like a ball(3D) by applying different shades of the same color to different parts of the ellipse. By assuming any point is the light source, parts near to … | |
I hope this makes sense... I made a program which requires authorization by username and password, once logged in it will allow you to load a program. My question is, is there a tutorial for the program being called to only open if it has been called by a certain … | |
I'm writing a blackjack program for class and I am having a problem with Aces, jack, queens, kings, my random number generator generates a 1, 11, 12, 13 for those cards, respectively... but Aces should be worth 11, jacks, queens, and kings, as 10, I have attatched my current code, … | |
Hello, i have done a script that is supposed to read urls from the SOURCE. When a user types in vg.no in stdin or read a file that contains vg.no it gets the last 5/6 topics from the newspaper. the problem here is that from pipe 0 to write pipe … | |
Hello I'm trying to print a Text file using Borland (example: Test.txt) without opening the file (I'm done with my program, and this is a feature I'love to have by pressing a "Print report" button) with no success. Any one done this before? Thanks | |
Hello, currently the only way i've found that I cn do a ".H" file in borland is to create a GUI one rather than a console bsaed *.exe file. When I do that it keeps generating errors.... There must be a way in Borland that I can split up class's … | |
what would really be fun would be .... how to print a circle of asterisks ... i've been trying for a while and have been getting all kinds of lopsided shapes .... .... even some shapes that I never knew existed ..... :lol: Could somebody out there please help moi … | |
I'm new to this whole Visual Basic idea, and my questions may be newb for all of you, but I'd like to learn. Here is my question. At school I was given an assignment , which is: Write a program which uses functions to accept as input from the key … | |
hi, wonder if anyone can help me. I have a text file with the following format: town_name followed by 12 real numbers i.e London 7.24 8.15 6.45 3.24 3.66 2.45 4.71 6.78 6.45 8.61 7.45 6.55 Manchester 12.23 10.67 7.56 4.34 5.55 6.29 8.77 14.77 9.77 7.49 8.34 7.66 Liverpool … | |
Thanks for the input last night Dave. Anyone willing to help: I have rewritten parts of my compplay function; I know its redundant, but I will work on that after I can solve some other problems. The problems I am having are these, imput on any or all of the … | |
i need a code where you cannot put to more than ane letter a, or more than one letter b........................just one letter | |
Write a console application program that will build and display a 10 by 10 rectangle within a 20 by 20 rectangle with diagonals. The 10 by 10 is to be centered within the 20 by 20. Use the hypen (-) character for the top and bottom of the rectangles. Use … | |
Hello Everyone, I'm a problem with a recursive C function. Before I explain the functionality of the code, I'd like to give a brief explination of what I'm trying to do. I'm working on a general tree data type which represents entities, each of which has a list -array- of … | |
I believe this is a form of COBOL used in a Realia complied program. I need to know how this section of code works. 01 TEST-LOCK-TABLE. 05 FILLER PIC X(12) VALUE '03 00000 EA '. 05 FILLER PIC X(50) VALUE '08-0001 LOCK/TLOCK,STMPD,H25,LH,W-RIVET'. 05 FILLER PIC X(50) VALUE '08-0002 LOCK/TLOCK,STMPD,H87,RH,W-RIVET'. 05 … | |
im doin an assignment where these statements r required MENU 1. Enter the id & four subject marks 2. Calculate the total and average 3. Calculate grade 4. Print the grade wise 5. Print GRADE SHEET 6. Terminate the program so far i manage to come up with this and … | |
Write the definition of a function named powerTo , which receives two parameters . The first is a double and the second is an int . The function returns a double . If the second parameter is negative, the function returns 0. Otherwise, it returns the value of the first … | |
This is my first windows app. I basically have my whole program written except for fixing a few lil problems and writing the code for 2 of my buttons. Could someone help me with the "Hex to Decimal" button code? or give some kind of example? my professor helped with … | |
sir i want to convert number in word format like 456 into "four hundread fifty six" .plz help me to make this program.my id is thank you | |
Hi Guys, it's me again! I have been posing memory-related problems for the past few days because I don't seem to understand what is the problem with my code. I kind of figured it's due to memory issues....so here's my question. Suppose I have a (first in first out) queue … | |
#include<stdio.h> main() {int i; do{ printf("*"); scanf("%d",&i); }while(1); } this is a sample program,but u don't look down upon it when u input a unnummber ,there will no stop! i want to know why ??????????????????? |
The End.