Search Results

Showing results 1 to 40 of 1000
Search took 0.12 seconds.
Search: Posts Made By: WaltP
Forum: DaniWeb Community Feedback 24 Days Ago
Replies: 91
Views: 6,069
Posted By WaltP
I disagree.

1) I don't like the new buttons. They have a retro feel and don't really do it for me. The yellow buttons fit the look of the page IMO.

2) I prefer multiquote rather than Flag to...
Forum: DaniWeb Community Feedback 25 Days Ago
Replies: 15
Views: 1,268
Posted By WaltP
I agree with Dave. What I do now is click the CODE tag and add the I -- very pita.

And as for AD's solution, that's fine for him. Many times I'm not on the keyboard constantly and the rat is...
Forum: C 25 Days Ago
Replies: 9
Views: 222
Posted By WaltP
Don't listen to dkalite. getch() is not standard, getchar() is.

As for your problem, my crystal ball tells me your problem is on line 75 of your code... :icon_confused:
Forum: C 25 Days Ago
Replies: 6
Views: 8,924
Posted By WaltP
Maybe if you USE CODE TAGS and Format your Code (http://www.gidnetwork.com/b-38.html) we might be able to help you. But your code is unreadable without formatting.
Forum: C 25 Days Ago
Replies: 11
Views: 456
Posted By WaltP
And in C for(unsigned i = 0; i < cantidad_frases; i++) is illegal.
i must be defined before it is used, not in the for statement.
Forum: C 25 Days Ago
Replies: 9
Views: 300
Posted By WaltP
Try this... (http://lmgtfy.com/?q=C+input+output)
Forum: C 25 Days Ago
Replies: 3
Views: 194
Posted By WaltP
Also you are not writing C++ code so all your variable definitions need to be at the top of your functions, before any executable statements.

And for us to follow your code, use proper formatting...
Forum: DaniWeb Community Feedback 32 Days Ago
Replies: 15
Views: 1,268
Posted By WaltP
Me too.
Forum: C 32 Days Ago
Replies: 2
Views: 357
Posted By WaltP
Why didn't you use CODE TAGs? Information is posted all over this site about CODE tags, like
1) in the Rules (http://www.daniweb.com/techtalkforums/faq.php?faq=daniweb_policies) you were asked to...
Forum: C 32 Days Ago
Replies: 10
Views: 436
Posted By WaltP
Nothing.
But return (0); or return 0; will exit the program and return 0 to the operating system.
Forum: C++ 32 Days Ago
Replies: 4
Views: 344
Posted By WaltP
Yes we can help you, but you must post code for us to help with. Read the Rules and the important sticky posts for info.
Forum: C++ 32 Days Ago
Replies: 9
Views: 313
Posted By WaltP
Since you are using upperCase and lowerCase as character arrays rather than strings, you need to output each value individually.

If you want to use them as a string, you need to remember that as...
Forum: C++ 32 Days Ago
Replies: 10
Views: 293
Posted By WaltP
Wouldn't it be helpful to us that aren't psychic to actually explain the problem? I assume you are having trouble compiling.
Forum: C 32 Days Ago
Replies: 7
Views: 261
Posted By WaltP
Set a value to 0.
Then when you read a number, subtract 0x30 from it which converts it to a binary digit.
Now multiply value by 10 and add the digit.
Forum: C 32 Days Ago
Replies: 7
Views: 378
Posted By WaltP
As requested, Gaiety:

Way too complex for a new programmer...


Not true. What is true is ANDing with a float's maintissa or exponent and getting a useful result is difficult to impossible,...
Forum: C 32 Days Ago
Replies: 2
Views: 322
Posted By WaltP
1) Using a useless BOLD for your question
2) Not using CODE tags
3) Not explaining what your problem is
4) Not telling us about where in your code the problem is
Forum: C 32 Days Ago
Replies: 7
Views: 261
Posted By WaltP
Put the digits into a char string. When you get a non-number. convert the digits using a function such as atoi(). Copy the operator to another variable.
Forum: C 32 Days Ago
Replies: 7
Views: 378
Posted By WaltP
0x8000000000000000 is the 'sign bit' of a 64 bit value. AND it with the value you want to check. If TRUE, the sign bit is set.
Forum: C 32 Days Ago
Replies: 1
Views: 203
Posted By WaltP
I usually have to do some work to get something I need. You have to, also.
Forum: C 32 Days Ago
Replies: 10
Views: 436
Posted By WaltP
:icon_rolleyes: What a bunch of useless responses :icon_rolleyes:
except for Tom's...

Why you don't use void with main(): click here (http://www.gidnetwork.com/b-66.html)
Forum: C 32 Days Ago
Replies: 4
Views: 318
Posted By WaltP
Then read the Rules and the sticky post with titles that sound important. Easily fixed.

Here's why you should not use getch(): click here (http://www.gidnetwork.com/b-43.html).

Here's why your...
Forum: C 33 Days Ago
Replies: 12
Views: 444
Posted By WaltP
Assuming this was a job interview, I suggest you stay away from any job that asks foolish questions like this. I would not want to work for a company that want it's programmers to use tricks that...
Forum: C++ 33 Days Ago
Replies: 3
Views: 211
Posted By WaltP
Start by doing 1a which is very basic and quite simple. Then start adding the code for 1b. When you get stuck actually coding, we can help you overcome those problems. But you have to code...
Forum: C++ 33 Days Ago
Replies: 3
Views: 211
Posted By WaltP
All you do is set valid to false at the beginning, never change it anywhere else in the code.

Think again -- what is the exit condition you need for the while and do-while loops.
Forum: C++ 34 Days Ago
Replies: 5
Views: 360
Posted By WaltP
Sorry. I didn't see that code because it didn't make sense to me at the end, and in that form. It's best at the beginning of the loop in this case.
Forum: C 34 Days Ago
Replies: 2
Views: 415
Posted By WaltP
Did your code work? If not, what happened? What value did you input? What value was output? How can you tell it didn't work?
Forum: C++ Oct 16th, 2009
Replies: 5
Views: 360
Posted By WaltP
It also never gets a new number. The line
guessNumber = rand() % 100 + 1;
Needs to be inside the loop.
Forum: C Oct 15th, 2009
Replies: 2
Views: 251
Posted By WaltP
You already have a thread started. You don't need to start many threads on the same topic.

And you neglected to read any of the requested information posted all over this site about CODE tags,...
Forum: C++ Oct 15th, 2009
Replies: 7
Views: 371
Posted By WaltP
You need to use a loop and divide the number n by each odd number from 3 to n/2. If any number divides n evenly (no remainder) n is not prime.
Forum: C Oct 15th, 2009
Replies: 4
Views: 318
Posted By WaltP
Let's see...
No CODE tags, even thought there are at least 6 places they are explained, and 3 of them on the main page alone.
No explanation about why code was posted
I guess all there is to say...
Forum: C Oct 15th, 2009
Replies: 3
Views: 356
Posted By WaltP
Let's see...
No CODE tags, even thought there are at least 6 places they are explained, and 3 of them on the main page alone.
No explanation about why code was posted
I guess all there is to say...
Forum: C Oct 15th, 2009
Replies: 3
Views: 363
Posted By WaltP
We're glad you wrote the program and it works. Very proud of you.
Forum: C++ Oct 14th, 2009
Replies: 5
Views: 501
Posted By WaltP
If you want to know how a program works, plzzzzzzzzzzzz post a program. Or try reading the Rules for the site.
Forum: C++ Oct 14th, 2009
Replies: 2
Views: 270
Posted By WaltP
If you can't give us any more information than just posting almost 200 lines of uncommented code with no indication what's wrong, where it's wrong, and not using CODE tags, then there's no real help...
Forum: C Oct 14th, 2009
Replies: 4
Views: 278
Posted By WaltP
Look into the modulus (%) operator.
Forum: C++ Oct 14th, 2009
Replies: 3
Views: 175
Posted By WaltP
First of all, format your code (http://www.gidnetwork.com/b-38.html) so it can be followed.
This code:
m = ~(arrX[I]);//convert to unsigned
m == m+1;
does not convert to unsigned. m == m+1; is a...
Forum: C++ Oct 12th, 2009
Replies: 1
Views: 165
Posted By WaltP
Since doubles are rarely exact, probably your loop counter is wrong. For example when you think i=4 it's probably i=3.9999902 or something like that.
Forum: C Oct 12th, 2009
Replies: 2
Views: 229
Posted By WaltP
First, format your code (http://www.gidnetwork.com/b-38.html).
Second, explain what you need help with. Don't make us guess.
Forum: C Oct 12th, 2009
Replies: 1
Views: 305
Posted By WaltP
#1) No code tags
#2) void main() is wrong -- see this (http://www.gidnetwork.com/b-66.html)
#3) No formatting makes the code difficult to follow -- see this (http://www.gidnetwork.com/b-38.html)...
Forum: C Oct 12th, 2009
Replies: 1
Views: 272
Posted By WaltP
I do. And nothing is EVER urgent here. Read the Rules, please.
Showing results 1 to 40 of 1000

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC