- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
- Interests
- PC, TV, DVDs, Reading,
25 Posted Topics
I am trying to make a function that rounds number.. I declared the function above the main and voided it Then I recalled the function in the program and listed the variables needed in brackets and then I wrote the function I can't work out what is wrong. [ICODE]#include<stdio.h> #include<math.h> … | |
Re: as JorgeM mentioned be carefull that ` AutoEventWireup="true"` also ensure that your events are registered to an event handler in the design template. Visual Studio however helps a lot by doing this automatically when creating a new event. | |
My problem is with a **Polymorphic** method , getSalary (which should be of type double. The problem is that the salary in this case depends on the average mark of a student and thus I felt the need for an **If Statement** because of the 2 conditions. However java does … | |
Re: Java will work the same on any OS. To give you some insight. Java makes use of bytecode. When the source code is executed, the .class file is generated compsisting the bytecodes. Bytecodes are then interpreted by JVM which is the machine where your program will be run. (also known … | |
I have recently thought about sort of enhancing the pc usage to a 'sort of' TV. Now I have a set top box box of my TV service provider and at the back of this set top box, there are two ports (apart from the scart, dvi, RC usual ports) … | |
Re: Passwords are becoming more vulnerable since most people use the same password on a lot of different accounts, which might not be at all trustworthy. Rather than every six months, it should be done more often say per month and be sure to include uppercase/lowercase/special characters and numbers in your … | |
well i am trying to pass this parameter in a function -->[ICODE]char*[I]filename[/I][/ICODE] [CODE] [U][B]//i just wrote this as an example to explain clearer my question[/B][/U] #include<stdio.h> #include<stdlib.h> void try (char *[I]filename[/I]) //[B] the question is how can i use the pointer to refer to a file? [/B] { printf("try"); } … | |
I am trying to store data from two variables in a text file .. and then try to get the data back and output it on screen but somehow the following program is not working as supposed to be. I first enter data in the two variables n1 and n2 … | |
Well , I am trying to create a bees game as part of my assignment .. Now in this simple game I should use a text file .. and the text file is to create different game stats in different lines.. eg.. "10 (number of bees) 0 (number ofinfected bees) … | |
Is there I way I can have the rear speakers(where I have 2.1speakers) and front (where i attach my headset) working simultaneously? I tried connecting the headset to one of the rear jacks as front speakers but it didn't work. The speakers have a jack for headset (Arctic Sound 2.1 … | |
I wrote this program and am trying to simplifying by creating a character array. How can this be done please? I found some help here [URL="http://www.java2s.com/Code/C/Data-Type/Forloopachararrayusingpointer.htm"]http://www.java2s.com/Code/C/Data-Type/Forloopachararrayusingpointer.htm[/URL] but couldn't really implement that in my program. [CODE] //inputs five strings representing integers, converts the strings to //integers, sums the values and prints … | |
Re: Assuming that like me you are a beginner, I would suggest Relo, since it is very simple. | |
This is what the question is stating: Write a program that inputs a line of text using function fgets() into a char array s[90], then it outputs the line converted to uppercase. For function [ICODE]fgets[/ICODE] to be used, am i correct if I understand that the user doesn't have to … | |
The program should simulate rolling of 2 dice and add the sum of the 2 dice after they are rolled for 3600 times. Their sum ranges from 2-12. The frequency should be tallied in this order for eg when sum =2 freq =.. when sum =3 freq =.. etc This … | |
This is the problem I have Read in 10 numbers, 10<numbers<100. As each number is read, print it only if it is not a duplicate of a number already read. I did the first part but couldn't work out the second,where the duplicate is used. I have some idea in … | |
I am trying to create a program that creates a loop to enter different values in an array. but the program is skipping values of i. I can't understand why.. [CODE] #include<stdio.h> int main (void) { char s[10]; int i; for (i=1;i<=10;i++) { printf("enter %d'th value of the array 's'\n",i); … | |
I am currently trying to write a program to simply output roman numerals (not convert-as on many previous threads) from 1-99.. This is the logic/code I have tried so far, but I am certain that it isn't correct apart from the fact that it isnt compiling. [CODE]#include<stdio.h> int main(void) { … | |
This is what the question is asking: Write a program to get the user to enter a positive number. Validate the input so any negative or zero number entered is rejected and the user is to re-enter the number. and this is what i have done [CODE]#include<stdio.h> int main (void) … | |
The problem ''Ask the user to enter a year and store it in an int. Then assign to a _Bool variable the value true if the year is a leap year. The leap year is any year whose number is a multiple of four. Take into account that years whose … | |
Hey PPl I started this thread for some humor... Please post your jokes here... () <-- --> () Have Fun | |
is there any way how to check if ur friends are appear offline,,,, or really offline? pls help if possible! | |
Re: check this site for anti aliasing... [url]http://pcworld.about.com/magazine/2010p099id103772.htm[/url] | |
recently i was visiting a gaming website and i saw the word physics card... Can someone tell me what this is?? And how to check if i have one..?? [COLOR="Green"] (..i dont know if i posted this in the wrong section..if yes excuse me ppl..)[/COLOR] Plz Help | |
i haven't started learning Java yet... Can someone help me about java and tell me from where i need to start to learn this programming language?? PlS HELP!! | |
I just Bought a New Mic and my PC didn t even detect it. The Mike is Media-Tech MT-386 . The computer is running on a MS-Vista (os). It isn t even listed in the device manager. PLZ help me.. |
The End.