User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 397,036 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,909 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 117
Search took 0.01 seconds.
Posts Made By: subtronic
Forum: Computer Science and Software Design May 13th, 2005
Replies: 4
Views: 2,203
Posted By subtronic
Re: Programming Language required

Fiyona,

I don't want to get on your case, but would it be too hard to "Preview" what you've written before you submit? We all make spelling and grammatical errors (God knows I do), but you've just...
Forum: C May 13th, 2005
Replies: 8
Views: 3,111
Posted By subtronic
Re: need help with the use of arrow keys

Oh and I fixed my little C program to correctly add in the bbCode for preprocessor directives and comments :-)... I really detest DaniWeb's "You have thirty minutes to edit your post" rule...
Forum: C May 13th, 2005
Replies: 8
Views: 3,111
Posted By subtronic
Re: need help with the use of arrow keys

Well why didn't you say any of this in your first post? As far as I know, "stdio.h" is part of the standard C library. I had to infer from your ugly ass code what you were trying to do and in what...
Forum: C May 13th, 2005
Replies: 8
Views: 3,111
Posted By subtronic
Re: need help with the use of arrow keys

Hello... your code... is well.... um, yeah... here is a very basic example of how to get input from the keyboard in C (in the console) that I whipped up just for you

Generated: Fri May 13 01:22:44...
Forum: C May 13th, 2005
Replies: 2
Views: 916
Posted By subtronic
Re: Please help

Why can't you program it yourself?
Forum: Getting Started and Choosing a Distro May 12th, 2005
Replies: 38
Views: 6,310
Posted By subtronic
Re: NTFS - what can I do?

Don't use an emulator :) Install stage1 gentoo (http://gentoo.org) :) [Moderator's edit]
Forum: C++ May 12th, 2005
Replies: 9
Views: 1,331
Posted By subtronic
Re: I Need Your Help Please

Write out your program out in pseudo-code (how you think its suppose to work) and post it. I can begin to help (and teach) you, then.
Forum: C++ May 12th, 2005
Replies: 5
Views: 1,835
Posted By subtronic
Re: How to call constructor for descendant of TObject ?

Maybe I'm not understanding you correctly..

Generated: Thu May 12 16:17:59 2005

[001] for (int i = 0, n = form->ComponentCount; i < n; ++i) {
[002] TComponent *comp =...
Forum: C++ May 12th, 2005
Replies: 5
Views: 1,835
Posted By subtronic
Forum: C++ May 12th, 2005
Replies: 3
Views: 1,892
Posted By subtronic
Re: C++ program that will Manipulate exam results!

Are you asking if someone has your homework assignment already completed?
Forum: C++ May 12th, 2005
Replies: 9
Views: 2,096
Posted By subtronic
Re: Using data i read from *.* files

Neat I wrote a little C program to format my DaniWeb example code, such that it is formatted in the Kerningham and Ritchie C-style tradition with 8-space tabs and 80 character columns. And to make...
Forum: C++ May 12th, 2005
Replies: 9
Views: 2,096
Posted By subtronic
Re: Using data i read from *.* files

#include <fstream>

using namespace std;

int main(int argc, char **argv)
{
ifstream file;

if (argc == 2) {
file.open(argv[1]);
Forum: C++ May 12th, 2005
Replies: 8
Views: 2,941
Posted By subtronic
Re: Help function not returning correct value

I think they're really waiting for you to post back the correct working code ;-)
Forum: C++ May 12th, 2005
Replies: 6
Views: 5,226
Posted By subtronic
Re: MP3 Player

I like KDE, myself. And... if what you mean by "no GOOD media players" is "no media player that can adequately support closed propietary file formats that should have been allowed to exist", you're...
Forum: C++ May 12th, 2005
Replies: 6
Views: 5,226
Posted By subtronic
Re: MP3 Player

Why not program something useful then?
Forum: C++ May 12th, 2005
Replies: 6
Views: 5,226
Posted By subtronic
Re: MP3 Player

KDE already has an mp3 player... http://amarok.kde.org/
Forum: C++ May 12th, 2005
Replies: 10
Views: 4,176
Posted By subtronic
Re: string input not working as expected

Perhaps. You're still young and for most people, including myself, learning takes time and patience. When learning how to program, learning to ask the _right_ questions will yield the most valuable...
Forum: C++ May 11th, 2005
Replies: 8
Views: 2,941
Posted By subtronic
Re: Help function not returning correct value

Maybe you can tell me how one can return (jump) out of this function and then execute:


..
cout << i;
break;
..
Forum: C++ May 11th, 2005
Replies: 10
Views: 4,176
Posted By subtronic
Re: string input not working as expected

I disagree. I think it can seperate a good programmer from an expert programmer no matter what the language or how abstract it is. IMHO an expert programmer not only knows how to use the mechanism,...
Forum: C++ May 11th, 2005
Replies: 10
Views: 4,176
Posted By subtronic
Re: string input not working as expected

Oh and please take note of the subtle hint that our dear friend Narue left us: stream input, NOT string input.

It's trully important as a developing programmer to fully understand and internalize...
Forum: C++ May 11th, 2005
Replies: 6
Views: 4,563
Posted By subtronic
Forum: C++ May 11th, 2005
Replies: 10
Views: 4,176
Posted By subtronic
Re: string input not working as expected

Hello,

I could barely decipher what the heck you were saying. In the future could you please be a bit more articulate. That's the least you could do in return for help.

Now, let's see.... You...
Forum: C++ May 10th, 2005
Replies: 2
Views: 1,331
Posted By subtronic
Re: erge and Heap...which is really faster

Write MergeSort iteratively and you'll see a performance gain, I bet.
Forum: C May 10th, 2005
Replies: 13
Views: 1,791
Posted By subtronic
Re: Read unlimited no. of people.

and locality of reference could be poor
Forum: C May 10th, 2005
Replies: 13
Views: 1,791
Posted By subtronic
Re: Read unlimited no. of people.

I was about to do your homework for you... but 4 frowning smilies, two of which were crying, just wasn't convincing enough... sorry -- Have you asked your teacher for help? Perhaps they have office...
Forum: IT Technologies and Trends May 9th, 2005
Replies: 9
Views: 4,358
Posted By subtronic
Forum: C++ May 9th, 2005
Replies: 16
Views: 4,250
Posted By subtronic
Re: ofstream - detect if file has been deleted between open and close

Sorta. A reference count keeps track of how many "things" are using that object. So, when you go to _remove_ a file in the file system, with say, "rm" you send to the kernel the unlink()...
Forum: C May 9th, 2005
Replies: 13
Views: 1,791
Posted By subtronic
Re: Read unlimited no. of people.

Oh, I think my way is lovely thank you very much, even though this would have been cleaner :-)


while ((j = fgetc(f)) != EOF)
Forum: C May 9th, 2005
Replies: 13
Views: 1,791
Posted By subtronic
Re: Read unlimited no. of people.

Nope. I think that is enough help. I showed you exactly the type of loop you needed. Why don't you try looking at the man pages for all the functions you are unfamiliar with. You don't need to be...
Forum: C May 9th, 2005
Replies: 13
Views: 1,791
Posted By subtronic
Re: Read unlimited no. of people.

tmp.c:

#include <stdio.h>

int main()
{
int err;
int i = 0, j;
FILE *f;
Forum: C++ May 9th, 2005
Replies: 1
Views: 2,225
Posted By subtronic
Re: Compile .cpp into .bin extension

This is just a guess...

g++ --static bootsector.cpp -o bootsector
objcopy -O binary bootsector bootsector.bin
then write it to the bootsector of the floppy
Forum: C++ May 9th, 2005
Replies: 5
Views: 1,411
Posted By subtronic
Re: Programming development, help needed!

You don't need a site, you need a suggestion :-) Program C++ in C++
Forum: C++ May 9th, 2005
Replies: 13
Views: 2,580
Posted By subtronic
Re: fstream isnt getting the data right

<unconstructive>
haha
</unconstructive>
Forum: C++ May 9th, 2005
Replies: 16
Views: 4,250
Posted By subtronic
Re: ofstream - detect if file has been deleted between open and close

Just create and open a file (which gets a reference to it, and associates it with a new file descriptor), remove the file (drops the reference count by 1), close the file descriptor (drops the...
Forum: C++ May 9th, 2005
Replies: 13
Views: 2,580
Posted By subtronic
Re: fstream isnt getting the data right

Or talk about you on IRC :) Hah j/k
Forum: C++ May 9th, 2005
Replies: 16
Views: 4,250
Posted By subtronic
Re: ofstream - detect if file has been deleted between open and close

You're trying to emulate failure conditions when no failure condition has occured. Sounds mighty stupid to me.
Forum: C May 9th, 2005
Replies: 9
Views: 4,406
Posted By subtronic
Re: prefix/postfix problem

Blasphemous! May Dennis Ritchie have mercy on your souls.
Forum: C May 9th, 2005
Replies: 9
Views: 4,406
Posted By subtronic
Re: prefix/postfix problem

printf(4) is NOT C++, quit using it.
Forum: C May 9th, 2005
Replies: 9
Views: 4,406
Posted By subtronic
Re: prefix/postfix problem

Have you ever heard of a stack? And what the hell is with void main()?
Forum: C++ May 8th, 2005
Replies: 16
Views: 4,250
Posted By subtronic
Re: ofstream - detect if file has been deleted between open and close

So, if you're writing a program that's specific to a "unix" system why not use C and OS libraries?? And, like I told you, your concept and understanding of "deletion" is wrong. You can't detect...
Showing results 1 to 40 of 117

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