Hi all,
I have a doubt that id like to clear on
say in a program ur given something like this
int x=1;
int main() {
Type: Posts; User: s.sidak
Hi all,
I have a doubt that id like to clear on
say in a program ur given something like this
int x=1;
int main() {
Hi,
I am trying to write a code to print the contents of a file onto another file. However it prints out only "y" onto the second file.
Here is the code. All help is greatly appreciated.
...
Sorry, I cannot use strlen
Is there any other way to find the length without the strlen function?
Thanks
Hello all,
I need help with finding the length of the string input by the user.
It prints out 100 each time.
Also i cannot use the strlen function
Also is there a way that each of...
Well....Thanks for that :p
I dont quite understand why it is giving me that output and what i should do to modify it.
Thank You
Also i am new to programming, so my knowledge is a bit...
Ah ha ...
That makes sense now. Thanks alot for that.
Also is this the correct output?
Enter nums:
1001
The total count is 7
Hello,
I am trting to write a program that accepts numbers and count the number of bits in the given array of numbers. However my output is incorrect, I get the following
Enter nums:
10101010...
Hi all
Thank You very much for ur replies. Everything is working now, all thanks to your help and by showing me the examples.
I was able to understand the two codes given.
Thanks for your...
Hi
I am trying to write a code that accpets a string of characters. I need to count the number of digits in that string and return the counted value.
This is my code
Also how do i...
Im sorry about that.
Its working fine now. Thanks for your help
Actually the numbers are in the middle
so its like
Name 10 points
Nametwo 20 points
etc...
'
Hi
Ok. thanks alot for that.
The output for some reason is a bit wierd.
This is what i got"
John Scores: 134513326 0 0 Average: 44837775
ñ· Scores: 1 2140...
ok for the file there will be 3 marks - just like that format.
We are supposed to read that file - also there will only be 3 names not any more than that. Then we have to find the average of...
heres wha the file contains:
Name one 10 points
Name two 20 points
Name three 30 points
thats all it has- i am supposed to just caluclate the result of those 3 numbers
Thanks
Yes
I have made that change. However, i still get the random answer.
Thanks
Hi
I have made those changes. Thanks for that, however i get a random value... which i cant figure out why.
So for the avg value i cant seem to get the right answer when priting it out.
...
Hi , i am trying to open a file which contains strings and numbers. I have to extract the numbers and find their average. The code isnt working, it seg faults when i run it with a text file.
All...