Search:

Type: Posts; User: blurx

Page 1 of 3 1

Search: Search took 0.01 seconds.

by blurx
Replies
11
Views
1,944

Writing code like that is like adding when you...

Writing code like that is like adding when you should be multiplying.
2. Thread: Help on sum digits in C

by blurx
Replies
7
Views
3,302

What is this? Look at this again. return...

What is this? Look at this again.

return sumDigits;

by blurx
Replies
6
Views
1,289

It would be c[4] = a[4] + b[4].

It would be c[4] = a[4] + b[4].
4. Thread: Arrays and their Application to image processing

by blurx
Replies
7
Views
2,677

Is your teacher by chance Professor Reed? I won't...

Is your teacher by chance Professor Reed? I won't list his first name for obvious reasons, but I'm curious since I had this exact assignment three semesters ago.
5. Thread: Interesting problem....reverse order of characters in a String!!!!

by blurx
Replies
34
Views
6,620

Store it into an array and print the array...

Store it into an array and print the array backwards.

by blurx
Replies
30
Views
4,214

Well the problem doesn't seem to specify whether...

Well the problem doesn't seem to specify whether to store the word backwards in an array so printing the original array in reverse would produce the same answer.

by blurx
Replies
27
Views
5,761

Um, when you print that data back, then you can...

Um, when you print that data back, then you can put it in that format. You can't name an integer with "/" characters.

by blurx
Replies
27
Views
5,761

Your first error right here. struct DOB{ int...

struct DOB{ int dd/mm/yyyy
};
9. Thread: Need help in C programming (too lazy)

by blurx
Replies
12
Views
3,693

Hmm, what's the point of a TA if they can't help...

Hmm, what's the point of a TA if they can't help you? Although it's questionable if you want "help" or someone to do it for you.
10. Thread: Switch and case problem.

by blurx
Replies
6
Views
999

Look at the values passed into the fx function,...

Look at the values passed into the fx function, there's your answer.

by blurx
Replies
14
Views
1,677

But, his assignment never even asked for a...

But, his assignment never even asked for a pointer or an array so it baffles the mind why he is defining one.

by blurx
Replies
6
Views
1,634

When you increment count, how will you tally up...

When you increment count, how will you tally up the individual numbers count? One way is to make another array with 100 items, and use the subscript of that array to count the tally for the numbers....
13. Thread: Working Through book, need help with a program

by blurx
Replies
2
Views
924

#include int main (void) { ...

#include <stdio.h>

int main (void) {
int fahrenheit = 212;
const int SUBTRACT_NUM = 32;
const float RATIO = 5.0/9.0;

...
14. Thread: Am I missing something?

by blurx
Replies
8
Views
1,313

That is still bad. The opening brace before the...

That is still bad. The opening brace before the for loop should be after.

by blurx
Replies
4
Views
1,008

Are you saying I need two arrays? The two...

Are you saying I need two arrays? The two 'arraysize' text confuses me.

by blurx
Replies
4
Views
1,008

Trouble with Arrays

I'm not understanding how to count the frequency of an array element so I basically did the long version. From what I understand, I am suppose to make an array of eleven elements to mirror the 11...

by blurx
Replies
21
Views
2,066

c was a pointer so it did mean one element...

c was a pointer so it did mean one element before. Thanks.

by blurx
Replies
21
Views
2,066

c[-1]?

Say if a function accessed this element in an array called c. What does it mean?

by blurx
Replies
7
Views
4,710

1 is rather straight forward. It's obviously not...

1 is rather straight forward. It's obviously not A or C since they deal with external functions. D is just completely wrong so its obviously B.

by blurx
Replies
19
Views
2,743

You should post your code for people to see where...

You should post your code for people to see where you went wrong.

by blurx
Replies
1
Views
1,167

Declare it then. int residue[50];

Declare it then.

int residue[50];

by blurx
Replies
3
Views
1,037

min = min; That isn't helping.

min = min;

That isn't helping.
23. Thread: library with struct definitions

by blurx
Replies
10
Views
1,173

Why not declare and define the struct in the...

Why not declare and define the struct in the header file?

by blurx
Replies
22
Views
2,945

For average, add them all up after reading them, with say sum += temp, while incrementing a count to divide the sum by the count.
25. Thread: how to sum the digits of a number?

by blurx
Replies
34
Views
4,367

If you're trying to find out the sum, why are you...

If you're trying to find out the sum, why are you printing out the digits?
Results 1 to 25 of 63
Page 1 of 3 1