Forum: C May 14th, 2004 |
| Replies: 3 Views: 2,856 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 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 |
Forum: Java May 10th, 2004 |
| Replies: 2 Views: 2,143 |
Forum: C May 10th, 2004 |
| Replies: 1 Views: 3,190 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 |
Forum: C++ May 6th, 2004 |
| Replies: 8 Views: 2,742 |
Forum: C May 6th, 2004 |
| Replies: 2 Views: 2,165 |
Forum: C++ May 6th, 2004 |
| Replies: 8 Views: 2,742 |
Forum: C++ May 6th, 2004 |
| Replies: 3 Views: 4,489 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 |
Forum: C++ May 5th, 2004 |
| Replies: 8 Views: 4,124 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 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 |
Forum: C May 4th, 2004 |
| Replies: 6 Views: 12,530 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 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 |
Forum: C++ May 1st, 2004 |
| Replies: 38 Views: 37,465 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 |
Forum: C++ Apr 30th, 2004 |
| Replies: 38 Views: 37,465 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 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 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 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 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 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 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 |
Forum: C++ Apr 27th, 2004 |
| Replies: 3 Views: 2,676 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 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 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 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 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 |
Forum: C++ Apr 16th, 2004 |
| Replies: 3 Views: 21,058 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 |
Forum: C Apr 11th, 2004 |
| Replies: 7 Views: 7,082 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 |
Forum: C Apr 9th, 2004 |
| Replies: 4 Views: 3,383 |
Forum: C++ Apr 1st, 2004 |
| Replies: 7 Views: 8,183 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 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 |