User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 402,489 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 2,824 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 76
Search took 0.01 seconds.
Posts Made By: infamous
Forum: C May 14th, 2004
Replies: 3
Views: 2,856
Posted By infamous
Re: Format a Partition

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vccore98/HTML/_crt__popen.2c_._wpopen.asp

need to use _popen() to send commands down a pipe to format, ur method will not work.
Forum: C++ May 12th, 2004
Replies: 2
Views: 2,055
Posted By infamous
Re: Program design (help)

read in the toll file, read in the customer file. store the customer's data into a structure. if the customers balance is > 0 then print out the data. what is it that u dont know how to do? we...
Forum: C++ May 12th, 2004
Replies: 4
Views: 2,389
Posted By infamous
Re: Cd-drive

what OS r u on?
Forum: Java May 10th, 2004
Replies: 2
Views: 2,143
Posted By infamous
Re: Application Output Help

if u check on java.sun.com they have a tutorial for nearly everything could imagine.
Forum: C May 10th, 2004
Replies: 1
Views: 3,190
Posted By infamous
Re: C craps game

a test plan is designed to test the robustness of your program. if you are taking in any input from the user, you would want to try many values for those inputs. most importantly, u would want to...
Forum: C++ May 7th, 2004
Replies: 6
Views: 5,379
Posted By infamous
Re: I need to write a C++ Code from the following info. HOW DO I...

read in the number of hours from the user using cin.
if the number is <= 3, then charge is 2
else if the (number of hours - 3) * .50 + 2 > 10, it is $10
else the answer is (number of hours - 3) *...
Forum: C++ May 6th, 2004
Replies: 8
Views: 2,742
Posted By infamous
Forum: C May 6th, 2004
Replies: 2
Views: 2,165
Posted By infamous
Re: Possibility of mini servers

yea, that's what apache does. what exactly are u trying to do here?
Forum: C++ May 6th, 2004
Replies: 8
Views: 2,742
Posted By infamous
Re: How do you write a code which compiles in c but not in c++?

c++ is a subset of c, or maybe it's the otehr way round i 4got that crap, but anyhow, piont is, u can't.
Forum: C++ May 6th, 2004
Replies: 3
Views: 4,489
Posted By infamous
Re: SUPER simple question

if it returns void, then you can't use the return value b/c there isn't one! you are trying to "cout << Calc()" , that means print out the return value of function Calc(), but it has no return value...
Forum: C++ May 5th, 2004
Replies: 16
Views: 8,529
Posted By infamous
Re: Round Robin Algorithm Simulation

ok mah little newbite friend, w/e u say. dont be mad b/c i have more brains in my d!ckhead then u do in between ur ears.
Forum: C++ May 5th, 2004
Replies: 8
Views: 4,124
Posted By infamous
Re: Fast data storage

i am a mainly C programmer(i do know C++ a bit, but not as well as C), but i decided to mess with STL a few weeks ago for a school project in AI class. i was amazed at how simple it was to pick up. ...
Forum: C++ May 5th, 2004
Replies: 8
Views: 4,124
Posted By infamous
Re: Fast data storage

actually, the STL containers may in fact be implemented with btrees, but that is transparent to you the programmer. u just stick the elements in and let them worry bout the implementation, and when u...
Forum: C May 4th, 2004
Replies: 6
Views: 12,530
Posted By infamous
Re: Capturing Console Output

ugh, nevermind apparently windows doesn't support dup'ing
Forum: C May 4th, 2004
Replies: 6
Views: 12,530
Posted By infamous
Re: Capturing Console Output

i'm not sure if this is the answer u want, b/c i dont fully understand what u mean by "log window", but if u run a program from DOS prompt like:

./program >outfile standard output is redirected...
Forum: C++ May 4th, 2004
Replies: 8
Views: 4,124
Posted By infamous
Re: Fast data storage

you're better off using the STL if you can, their algorithms are far superior to what most of us could write.
Forum: C May 2nd, 2004
Replies: 2
Views: 2,189
Posted By infamous
Re: I dont see any difference between these 2 functions, DO YOU?

u need extra parentheses around the = assignment

return ( (remainder = ( num1 > num2 ? num1 % num2 : num2 % num1) )==0 ? num1
: gcd2(remainder, num1));
Forum: C++ May 1st, 2004
Replies: 38
Views: 37,465
Posted By infamous
Re: Tic-Tac-Toe

cybergirl << could u at least tell us WHY it isn't running?? can u compile it? does it fault when it runs? where does it fault?? some INFO
Forum: C++ May 1st, 2004
Replies: 24
Views: 65,955
Posted By infamous
Re: How do I make a GUI in C++

the definitive book to pick up would be charles petzolds "programming windows"
Forum: C++ Apr 30th, 2004
Replies: 38
Views: 37,465
Posted By infamous
Re: Tic-Tac-Toe

agreed, it is always a good habit to get into. the only time u will see good programmers avoiding the practice is when writing kernel code - when every instruction counts, and then it is ur...
Forum: Computer Science and Software Design Apr 29th, 2004
Replies: 3
Views: 4,450
Posted By infamous
Re: p2p network ????

most p2p networks are just a bunch of people sitting at their home PC's all running some software program that creates a "network" between them. usually when a user starts this program they will...
Forum: C++ Apr 29th, 2004
Replies: 16
Views: 8,529
Posted By infamous
Re: Round Robin Algorithm Simulation

i never made fun of you, i simply suggested doing a little searching. you come on and basically post your homework assignment and think that people are going to just hand u code, LMAO. and uhh,...
Forum: C++ Apr 28th, 2004
Replies: 5
Views: 6,885
Posted By infamous
Re: C++ Address Book

ok, if you're talking about something high level like that it may be true, but for say some simple integer x it makes no difference in the generated asm. :)
Forum: C++ Apr 28th, 2004
Replies: 5
Views: 6,885
Posted By infamous
Re: C++ Address Book

it is faster to type but there's no difference in the code generated, test it and see for yourself.
Forum: C Apr 28th, 2004
Replies: 3
Views: 3,432
Posted By infamous
Re: strtok_r() error on solaris 8

the compiler is telling u waht is wrong. the manual page apparently has an incorrect prototype, b/c gcc is telling u that it is returning an integer. try loooking at the header file and seeing if...
Forum: C++ Apr 28th, 2004
Replies: 16
Views: 8,529
Posted By infamous
Re: Round Robin Algorithm Simulation

what do u think we're gonna write it for u? im not going to google, it isnt my assignment. u need to LOOK harder. everyone gets this assignment in their OS class, i'm sure a solution is out there. ...
Forum: C++ Apr 27th, 2004
Replies: 16
Views: 8,529
Posted By infamous
Forum: C++ Apr 27th, 2004
Replies: 3
Views: 2,676
Posted By infamous
Re: need help to debugg this code please!

post your code enclosed in the [ code ] [ /code ] tags so it is formatted:

see the spaces get preserved

and post the section of code u need help on, not 19 pages of it.
Forum: C++ Apr 24th, 2004
Replies: 4
Views: 5,333
Posted By infamous
Re: Launching an application from a thread

let me clear that up. calling exec() does NOT create a new process. calling fork creates the new process. what i was trying to say was: if u have a thread call an exec() function, THE ENTIRE...
Forum: C++ Apr 23rd, 2004
Replies: 4
Views: 5,333
Posted By infamous
Re: Launching an application from a thread

if you call an exec() function from a thread, the entire process will be replaced by the program u call, not just the single thread of execution. exec'ing replaces the entire address space of a...
Forum: C++ Apr 21st, 2004
Replies: 5
Views: 2,756
Posted By infamous
Re: help with queue plz

your add_item method should traverse to the END of the list, and add the element there. the remove_item method should remove the first element in the list.
Forum: C++ Apr 20th, 2004
Replies: 1
Views: 4,215
Posted By infamous
Re: Simple IRC Connection

read the irc protocol for starters, or try packet sniffing a session of irc so u can see what goes on.
Forum: C Apr 16th, 2004
Replies: 2
Views: 6,513
Posted By infamous
Re: C file input/output 2D arrays.

how bout using fwrite()?
Forum: C++ Apr 16th, 2004
Replies: 3
Views: 21,058
Posted By infamous
Re: ASCII to BINARY, & VICA VERCA

use the & and << operators. remember that a character is just a sequence of bits. u cant test for each bit and output the result.

int main()
{
char x = 'a';
int y;

// the value of 'a'...
Forum: C Apr 16th, 2004
Replies: 4
Views: 3,555
Posted By infamous
Re: value of learning computer theory

if u read a lot of books they'll tell u most of what u need to know.
Forum: C Apr 11th, 2004
Replies: 7
Views: 7,082
Posted By infamous
Re: Rd1071 Rca Lyra/stmp3410

i was trying to learn about firmware a couple weeks ago b/c i wantd to hack my router. i found that most firmware is just plain ol C..
Forum: C++ Apr 9th, 2004
Replies: 2
Views: 4,203
Posted By infamous
Re: C++ Error : opening file a second time for a read

use the seek methods http://www.cplusplus.com/ref/iostream/fstream/
Forum: C Apr 9th, 2004
Replies: 4
Views: 3,383
Posted By infamous
Re: Need help Reading and writing to a Port

google for 'i/o ports tutorial C'
Forum: C++ Apr 1st, 2004
Replies: 7
Views: 8,183
Posted By infamous
Re: pausing a command

that msdn crud says 'windows.h', but i was sure u didnt need to include all that garbage just for sleep...
Forum: C++ Mar 31st, 2004
Replies: 2
Views: 28,072
Posted By infamous
Re: C++ graphics

you need to learn a lot more to use graphics. most windows apps use the win32 API to display windows/pics/etc.. here is a tutorial bout it tho:
http://www.relisoft.com/win32/winnie.html
Showing results 1 to 40 of 76

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