Search Results

Showing results 1 to 40 of 70
Search took 0.01 seconds.
Search: Posts Made By: jephthah ; Forum: C and child forums
Forum: C 10 Hours Ago
Replies: 5
Views: 157
Posted By jephthah
YUP.

but to answer the OP's second question:

any loop can that can be done with a for statement, can also be done with a while statement. and vice versa. the details are different but the...
Forum: C 1 Day Ago
Replies: 1
Views: 112
Posted By jephthah
what are you talking about? drawings? in C?

i mean, you can name and save any kind of file you want, whether if its a .bin or .txt or .bmp or whatever, but really, if you're drawing pictures...
Forum: C 18 Days Ago
Replies: 2
Views: 387
Posted By jephthah
you've got a lot of issues. for instance, these lines:

mino - minn = 30;
mino - minn = 60;
mino - minn = 00;

you can't make assignments like that. i'm having a really hard time following...
Forum: C 18 Days Ago
Replies: 7
Views: 465
Posted By jephthah
with all the solid professional compilers and dev environments out there -- many of them absolutely free -- why anyone, anywhere still uses this pile of non-standard crap of a compiler, is beyond...
Forum: C 21 Days Ago
Replies: 2
Views: 307
Posted By jephthah
i really want to help you, but your code is painful to look at. please repost it and enclose your code within tags.

always use good coding practice like proper indention of code blocks,...
Forum: C Oct 26th, 2009
Replies: 1
Views: 414
Posted By jephthah
if you would like to get a meaningful response, please consider the following:

How to Ask a Question (http://support.microsoft.com/kb/555375)

Please Use Code Tags...
Forum: C Oct 26th, 2009
Replies: 3
Views: 208
Posted By jephthah
you can't do this:
if (ch == *my_word ||*my_word2 || *my_word3)

you have to specify what you're testing for each OR'ed condition.
if (ch == *my_word || ch == *my_word2 || ch == *my_word3)
Forum: C Oct 5th, 2009
Replies: 4
Views: 435
Posted By jephthah
and quit assuming everyone on here is a "sir". sexist language was deprecated last century. get with the program.
Forum: C Sep 3rd, 2009
Replies: 2
Views: 290
Posted By jephthah
hi, that's a very nice cut-and-paste you've done.

did you use the mouse right-click to paste? or did you use CTRL-C and CTRL-V? i prefer using the keyboard myself, it seems much more...
Forum: C Aug 24th, 2009
Replies: 4
Views: 477
Posted By jephthah
i agree that "void main" is to be avoided, but merely calling it "the evil" without explaining why is not going to impress many newbies, since it will always appear to them to work.

Anyhow,...
Forum: C Aug 5th, 2009
Replies: 13
Solved: Return 0;
Views: 763
Posted By jephthah
the main() program can often be called by a parent program. 'return 0;' indicates to the caller (parent) that the main() program executed correctly.

so... generally speaking, the main function...
Forum: C Jul 28th, 2009
Replies: 3
Views: 401
Posted By jephthah
alberton, generally speaking you can't just go and grab some missing header file off the interwebs and expect it to work. these types of headers are often built for your system, and even if you ...
Forum: C Jul 22nd, 2009
Replies: 7
Views: 358
Posted By jephthah
the individual words, I understand.

the sentence, makes my brain hurt.
Forum: C Jul 20th, 2009
Replies: 7
Views: 509
Posted By jephthah
i think these posts ought to be instantly deleted by moderators, along with a copy of a standard explanation auto-delivered to the poster's email.

I can see why Narue has all but left daniweb ......
Forum: C Jul 16th, 2009
Replies: 9
Views: 488
Posted By jephthah
where did the "C++" forum go?
Forum: C Jul 16th, 2009
Replies: 4
Views: 321
Posted By jephthah
did you try

www.expedia.com

or

www.travelocity.com

?
Forum: C Jul 14th, 2009
Replies: 7
Views: 333
Posted By jephthah
wait, wait, wait.... you apparently have spent a lot of time learning how to cleverly write English "chat speak"

why don't you spend your time learning how to write proper English? I know you...
Forum: C Jul 13th, 2009
Replies: 46
Views: 1,522
Posted By jephthah
use code tags correctly. and make sure your code is indented. otherwise, it's a ridiculous mess, and no one will want to look at it.

int main(void)
{
// hello, i am properly formatted...
Forum: C Jul 8th, 2009
Replies: 13
Views: 792
Posted By jephthah
"i dont know but here's google" may be appropriate in some cases, but Monkey_King posted a decent question, included formatted code, described the output he wanted, and asked why wasnt it working...
Forum: C Jul 2nd, 2009
Replies: 5
Views: 288
Posted By jephthah
if it's a dumb mistake, then we're all dumb. even experienced programmers will sometimes forget to initialize variables. it's probably one of the most common bugs.

:)
Forum: C Jun 30th, 2009
Replies: 13
Views: 1,126
Posted By jephthah
well, in the spirit of full disclosure, i must admit i haven't used Visual C++ Express in a long time either.

I remember begin frustrated that the debugger didnt work and the installation...
Forum: C Jun 24th, 2009
Replies: 15
Views: 32,257
Posted By jephthah
but you can wait 3 1/2 years to respond to a thread and divide that time by the number of total posts, for a rough estimate of the number of thread-posts per year.

amirite?
Forum: C Jun 20th, 2009
Replies: 3
Views: 848
Posted By jephthah
um... you pretty much just described the two steps.

$ gcc file1.c main.c
$ ./a.out

what more do you want to do?
Forum: C Jun 16th, 2009
Replies: 17
Views: 870
Posted By jephthah
why do a convoluted loop? the point, anyhow, is to learn bitwise operators. otherwise throw the chapter away and go learn about loops.

but i do see that i misunderstood part of the question. ...
Forum: C Jun 16th, 2009
Replies: 5
Views: 379
Posted By jephthah
"thorough knowledge"? but little practical experience??

LOL :)

sorry bud, you don't have a thorough knowledge of C, until you gain lots of experience. i've been programming C for years and...
Forum: C Jun 14th, 2009
Replies: 8
Views: 430
Posted By jephthah
~(~0 << n) makes a bitmask of ones equal to the number 'n'. does this by first filling the integer full of ones, then shifting them to the left 'n' bits (filling lsb's with zeros), then inverts all...
Forum: C Jun 5th, 2009
Replies: 5
Views: 790
Posted By jephthah
^^^ 16^2 is not 484. (!!)

^ the method to convert binary will only work on bases with a power of 2... Works for octal, hex, and base-64 (armored ascii)... won't work for decimal.

but other...
Forum: C Jun 2nd, 2009
Replies: 9
Views: 491
Posted By jephthah
genlib.h ... simpio.h ... strlib.h ... WTF is this???

whoever told you to use this crap is setting you up for FAIL. this is so non-standard, i dont even know what the hell it is. all i know is...
Forum: C Jun 1st, 2009
Replies: 22
Solved: help me
Views: 934
Posted By jephthah
oops.

i meant to say, change it to if (color && 1)
Forum: C May 30th, 2009
Replies: 5
Views: 1,168
Posted By jephthah
Forum: C May 28th, 2009
Replies: 4
Views: 824
Posted By jephthah
why so complicated? all you really need is "strtol()" and the addition operator.

int binaryAdd(char *first, char *second, int *sum)
{
int val1, val2;
char *ptr1, *ptr2;
size_t...
Forum: C May 26th, 2009
Replies: 5
Views: 1,337
Posted By jephthah
those were two different people.

but as to that second guy, welcome to Daniweb. it's pretty much the reason why the long-term users here are often cynical and jaded towards noobs.
Forum: C May 26th, 2009
Replies: 6
Views: 411
Posted By jephthah
i know the ultimate way


#include<jephthah.h>

newStr_ptr = removeSpacesAndCondense(myString);

it's non-standard and not very portable, but hey, it works on my machine.
Forum: C May 18th, 2009
Replies: 23
Views: 1,364
Posted By jephthah
speak for yourself.

i'm here for the smackdown.
Forum: C May 15th, 2009
Replies: 7
Views: 322
Posted By jephthah
what's this non-standard conio.h and clrscr() crap?

why do you refuse to use [code] tags?

i dont know if your program works in any meaningful way, because it won't even compile

get...
Forum: C May 7th, 2009
Replies: 5
Views: 474
Posted By jephthah
either a sloppy abbreviation for "numbers" (abbr. "no.")

or he's looking for the LCM and GCF of two noses.

on further review, i prefer the latter.
Forum: C May 6th, 2009
Replies: 10
Views: 3,493
Posted By jephthah
Forum: C May 4th, 2009
Replies: 2
Views: 846
Posted By jephthah
any int variable is inherently an *integer* the value is not stored in any particular base .... hex or decimal or binary, it doesnt matter. the only difference is when you print it. printf("hex...
Forum: C Apr 29th, 2009
Replies: 7
Views: 474
Posted By jephthah
all you have to do is store the original maze in memory and recall it each time with the new person's position.

you've been handed 90% of the solution and 99% of the difficulty. all you need to...
Forum: C Apr 22nd, 2009
Replies: 7
Views: 899
Posted By jephthah
i get no love :(
Showing results 1 to 40 of 70

 


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

©2003 - 2009 DaniWeb® LLC