User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 392,210 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,767 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 40 of 500
Search took 0.05 seconds; generated 3 minute(s) ago.
Posts Made By: jephthah
Forum: C 1 Day Ago
Replies: 11
Views: 141
Posted By jephthah
Re: Simple Calculator

sure, sure. i've got nothing better to do than do your homework.

shall i also write your report, bind it, and mail it first class to your instructor?
Forum: Perl 1 Day Ago
Replies: 13
Views: 280
Posted By jephthah
Re: What regular expression should be written?

that's what i gave him, at least the interesting bits. my example "$word" can be any string. i did not spend time on how he gets input into the variable.



well, i don't find that to be...
Forum: Perl 2 Days Ago
Replies: 13
Views: 280
Posted By jephthah
Re: What regular expression should be written?

i already gave you the answer. i'll repost it using your variable names:


# variable "$word" is set by user search request
# variable "$sentence" has text to be searched

$word = "rna binding...
Forum: C 4 Days Ago
Replies: 13
Views: 4,956
Posted By jephthah
Forum: Perl 4 Days Ago
Replies: 13
Views: 280
Posted By jephthah
Re: What regular expression should be written?

i would personally do something like this:

$match = "rna binding protein"

@matchwords = split(/[ -]/,$match);

$newmatch = join("[ -]",@matchwords);

if ($_ =~ /$newmatch/i ) {
Forum: Perl 4 Days Ago
Replies: 4
Views: 153
Posted By jephthah
Re: Need tutorials

"perltoot"
Forum: Perl 4 Days Ago
Replies: 1
Views: 149
Posted By jephthah
Re: PERL or PHP

the answer is "yes"

next, please.
Forum: Perl 4 Days Ago
Replies: 1
Views: 358
Posted By jephthah
Re: Struggling Newbie

i thought this thread was about "strangling newbies"

imagine my dismay when i found a ten-mile long post full of incoherent code with no syntax coloring.
Forum: C 4 Days Ago
Replies: 3
Views: 148
Posted By jephthah
Re: press <Esc> to teminate

If you can't figure out how to get character input from the keyboard, YOU DAMN SURE SHOULDN'T BE USING MALLOC.

first learn basic programming first before starting a career in writing shitty code...
Forum: C 4 Days Ago
Replies: 4
Views: 269
Posted By jephthah
Re: (Linux) Need help with comunicating to RS232

the best way to figure out RS232 is, as you have found out, to hack through it yourself.

those constants you asked about are #defined in the header file.

to get an accurate delay, you can run a...
Forum: C 4 Days Ago
Replies: 3
Views: 131
Posted By jephthah
Forum: C 4 Days Ago
Replies: 6
Views: 188
Posted By jephthah
Re: numerical value of EOF

In certain cases when dealing with text files or reading data from a "character device", the Microsoft MS-DOS shell (COMMAND.COM) or operating-system utility programs would historically append an...
Forum: C 4 Days Ago
Replies: 1
Views: 92
Posted By jephthah
Re: help..??

wait a minute... are you trying to open a *website* or are you trying to open a harddrive through Internet Explorer

if youre talking about a website.... then you'll need to be getting quite familiar...
Forum: C 6 Days Ago
Replies: 13
Views: 404
Posted By jephthah
Re: Print Certain line in C

what, you mean people cant read my mind?

:P

i do have a problem, sometimes, with being too terse. thanks for the reminder.
Forum: C 7 Days Ago
Replies: 9
Views: 357
Posted By jephthah
Re: Airline Ticket Reservations System

the main point of contention here, is that they have provided zero evidence they have even *attempted* to work on their problem on their own.

this is the signature pattern of a many typical posters...
Forum: C 8 Days Ago
Replies: 7
Views: 276
Posted By jephthah
Re: Possible Project in C

here's something fun to do: create a program that encrypts/decrypts messages by hiding/extracting them from a JPG image.

I'm not talking about just "hiding messages" in the exif header, which...
Forum: C 8 Days Ago
Replies: 9
Views: 357
Posted By jephthah
Forum: C 8 Days Ago
Replies: 14
Views: 416
Posted By jephthah
Re: memory leak

yeah, that's a common event causing memory leaks.

so my point was that merely counting 'x' number of malloc() and 'x' number of free() commands does not indicate that your memory allocation is...
Forum: C 8 Days Ago
Replies: 6
Views: 179
Posted By jephthah
Re: I have few question

BANERJEEEIN,

what DRAGON said... compile it and find out.

how hard is that?
Forum: C 8 Days Ago
Replies: 13
Views: 404
Posted By jephthah
Re: Print Certain line in C

my point is that STRSTR function will do what the OP wants

i thought it would be readily apparent to anyone who takes a moment to look it up. sorry, if i don't type out a fully commented and...
Forum: C 8 Days Ago
Replies: 6
Views: 212
Posted By jephthah
Re: Screen disappears immediately

simply.

amazing.

:P
Forum: C 8 Days Ago
Replies: 9
Views: 357
Posted By jephthah
Re: Airline Ticket Reservations System

Huge Program Due: August 10th.
Percent compete: 0%.
Strategy: wait til August 8th, then Teh Internets will save me.



LOL same shit, different day.
Forum: C 8 Days Ago
Replies: 10
Views: 331
Posted By jephthah
Re: solving linear equation in turbo c

other than the fact that you're confusing linear functions with linear equations, a huge problem can be located in the title of your thread:

"Turbo C"

throw that crap away, now, and get a real...
Forum: C 8 Days Ago
Replies: 14
Views: 416
Posted By jephthah
Re: memory leak

Is this an assignment, just to go through and count occurrences of these particular functions within some *.c file?

I ask, because for most "REAL WORLD" programs you can't just merely write a script...
Forum: C 8 Days Ago
Replies: 3
Views: 146
Posted By jephthah
Re: problem in creating header files

yeah, what CHASTER said:

the header file should only contain
(1) function prototypes
(2) defines
(3) macros

the functions themselves should be written in the *.c file.
Forum: C 8 Days Ago
Replies: 6
Views: 179
Posted By jephthah
Re: I have few question

i know you are asking about functions, but an important thing about static, is that when you scope a local variable as such, it will retain its value across repeated calls to the function where it is...
Forum: C 8 Days Ago
Replies: 13
Views: 404
Posted By jephthah
Re: Print Certain line in C

mancode,

look into the use of the "strstr" function.
Forum: C 8 Days Ago
Replies: 2
Views: 112
Posted By jephthah
Re: greatest of three nos

i see nothing much has changed since ive been gone.
Forum: C 8 Days Ago
Replies: 15
Views: 588
Posted By jephthah
Re: Command Line Arguement, can't get it to read in an int

Oh, Spring battles, ye of great import

how petty doth thou parries and thrusts

appear from the height of Midsummer




.
Forum: C 32 Days Ago
Replies: 12
Views: 639
Posted By jephthah
Re: use of continue,break,return

damn, dude. lighten up already. this place isnt for you to vent your frustrations on some hapless student for asking legitimate questions. Yeah, perhaps he framed his question a little oddly...
Forum: C Jul 10th, 2008
Replies: 12
Views: 639
Posted By jephthah
Re: use of continue,break,return

i was being somewhat facetious. hence the :P face

but the fact remains:

these people are first year programming students -- if even that.

they can join the ACM forums later.


.
Forum: C Jul 10th, 2008
Replies: 12
Views: 639
Posted By jephthah
Re: use of continue,break,return

people who post questions here don't want long tutorials. they just want the answers

:P
Forum: C Jul 9th, 2008
Replies: 12
Views: 639
Posted By jephthah
Re: use of continue,break,return

ADAK is right, and i agree. But I also don't see a problem with giving brief, vague answers to brief, vague questions.

...

continue : stops execution within a repeatable block of code and...
Forum: C Jul 6th, 2008
Replies: 24
Views: 928
Posted By jephthah
Re: Convert struct to short

okay fine.

i've obviously missed something then, that you're doing somewhere, that gets rid of the extra byte.

good for you, im glad you got it working.
Forum: C Jul 5th, 2008
Replies: 7
Views: 538
Posted By jephthah
Re: C in Vista

NEVER

EVER

USE TURBO C

it's worthless and using it will turn you into a crappy programmer .
Forum: C Jul 5th, 2008
Replies: 24
Views: 928
Posted By jephthah
Re: Convert struct to short

last time Im going to post here:

it's IMPOSSIBLE for you to get the correct checksum if youve got the IP header spread over 21 bytes, like you do. it CANT be 20 bytes, if you've got the 4-bit...
Forum: C Jul 5th, 2008
Replies: 5
Views: 277
Posted By jephthah
Re: characters of cards

who knows? what little bit of code you posted makes no sense. you have no MAIN statement. i couldnt compile it if i wanted to. maybe if you post your code, we can see whats going on.


but if...
Forum: C Jul 5th, 2008
Replies: 24
Views: 928
Posted By jephthah
Re: Convert struct to short

we seem to be having a major disconnect here, with comprehension or something.

i'm not talking about "efficiency". I'm taking about your code being "just plain wrong"

because that is what your...
Forum: C Jul 5th, 2008
Replies: 2
Views: 305
Posted By jephthah
Forum: C Jul 4th, 2008
Replies: 13
Views: 4,956
Posted By jephthah
Re: Write to hex, is it possible?

the only thing painfully annoying, is reading a page of discussion, writing a reply, and then realizing its some 3-year-old thread from an OP who is long-gone, that was reactivated by some stupid...
Showing results 1 to 40 of 500

 
All times are GMT -4. The time now is 4:36 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC